cca::rci::Controller< T > Class Template Reference

Simple P-Controller. More...

#include <Controller.h>

Collaboration diagram for cca::rci::Controller< T >:

List of all members.

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

_task
_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

template<class T >
cca::rci::Controller< T >::Controller ( std::string  nodename  )  [inline]
template<class T >
virtual cca::rci::Controller< T >::~Controller (  )  [inline, virtual]

Definition at line 64 of file Controller.h.

template<class T >
cca::rci::Controller< T >::Controller ( Controller< T > &  node  )  [private]

Copy constructor Copy constructor private for now to disallow copying.


Member Function Documentation

template<class T >
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.

template<class T >
void cca::rci::Controller< T >::operator= ( const Controller< T > &  node  )  [private]

Copy operator Copy operator private for now to disallow copying.

template<class T >
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

template<class T >
T cca::rci::Controller< T >::_status [private]
template<class T >
T cca::rci::Controller< T >::_task [private]

The documentation for this class was generated from the following file:
Generated on Thu Aug 2 14:02:57 2012 for RCI by  doxygen 1.6.3