Console Namespace Reference


Classes

class  Action
class  FunctorAction
class  CycleAction
class  Console
class  Variable
class  VariableTemplate
class  VariableTemplate< bool >
class  VariableTemplate< std::string >

Functions

template<typename Func, typename T>
ActioncreateFunctorAction (Func functor, const T &arg, const std::string &description)
template<typename T, class C>
VariablecreateVariableAccessor (T(C::*getter)() const, void(C::*setter)(T), C *object)


Detailed Description

The Console namespace.


Function Documentation

template<typename Func, typename T>
Action* Console::createFunctorAction Func  functor,
const T &  arg,
const std::string &  description
 

Helper function template to create functor actions. Used to automatically deduce template parameters.

Parameters:
functor the functor to be called by the action.
arg the argument to be passed to the functor.
description the description to be returned by the action.
Returns:
a pointer to the newly created Action specialization.

template<typename T, class C>
Variable * Console::Console::createVariableAccessor T(C::*)() const   getter,
void(C::*)(T)  setter,
C *  object
 

Helper function template to create a VariableAccessor for const getters.

Parameters:
getter a pointer to a member function which sets the variable.
setter a pointer to a member function which gets the variable.
object the object to manipulate.
Returns:
a pointer to the newly created Variable specialization.


Generated on Fri Jun 16 08:42:48 2006 for GPU Thesis by  doxygen 1.4.6-NO