cca::rci::Controller< T > Class Template Reference
Simple P-Controller. More...
#include <Controller.h>
Public Member Functions | |
Controller (std::string nodename) | |
virtual | ~Controller () |
virtual std::string | print () const |
Printing information about this node. | |
virtual void | onProcess () |
This is the method where the actual processing of the node takes place. | |
Private Member Functions | |
Controller (Controller &node) | |
Copy constructor Copy constructor private for now to disallow copying. | |
void | operator= (const Controller &node) |
Copy operator Copy operator private for now to disallow copying. | |
Private Attributes | |
T | _task |
T | _status |
Detailed Description
template<class T>
class cca::rci::Controller< T >
Simple P-Controller.
- Todo:
- Make it data-type generic (template).
Definition at line 50 of file Controller.h.
Constructor & Destructor Documentation
cca::rci::Controller< T >::Controller | ( | std::string | nodename | ) | [inline] |
Definition at line 54 of file Controller.h.
References cca::rci::Controller< T >::_status, and cca::rci::Controller< T >::_task.
virtual cca::rci::Controller< T >::~Controller | ( | ) | [inline, virtual] |
Definition at line 64 of file Controller.h.
cca::rci::Controller< T >::Controller | ( | Controller< T > & | node | ) | [private] |
Copy constructor Copy constructor private for now to disallow copying.
Member Function Documentation
virtual void cca::rci::Controller< T >::onProcess | ( | ) | [inline, virtual] |
This is the method where the actual processing of the node takes place.
- Parameters:
-
task The task to be processed by this node
Definition at line 81 of file Controller.h.
References cca::rci::Controller< T >::_status, and cca::rci::Controller< T >::_task.
void cca::rci::Controller< T >::operator= | ( | const Controller< T > & | node | ) | [private] |
Copy operator Copy operator private for now to disallow copying.
virtual std::string cca::rci::Controller< T >::print | ( | ) | const [inline, virtual] |
Printing information about this node.
Definition at line 70 of file Controller.h.
Member Data Documentation
T cca::rci::Controller< T >::_status [private] |
Definition at line 119 of file Controller.h.
Referenced by cca::rci::Controller< T >::Controller(), and cca::rci::Controller< T >::onProcess().
T cca::rci::Controller< T >::_task [private] |
Definition at line 119 of file Controller.h.
Referenced by cca::rci::Controller< T >::Controller(), and cca::rci::Controller< T >::onProcess().
The documentation for this class was generated from the following file:
- rci/Controller.h
Generated on Thu Aug 2 14:02:57 2012 for RCI by 1.6.3