O_SESSAME::SimpleCommand< Receiver > Class Template Reference
[Data Handling]

#include <SimpleCommand.h>

Inheritance diagram for O_SESSAME::SimpleCommand< Receiver >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class Receiver>
class O_SESSAME::SimpleCommand< Receiver >

Interface for creating simple, templated commands in Open-SESSAME.

Definition at line 25 of file SimpleCommand.h.

Public Types

typedef void(Receiver::* Action )()

Public Member Functions

 SimpleCommand (Receiver *_pnewReceiver, Action _newAction)
virtual ~Command ()
virtual void Execute ()

Protected Attributes

Action m_Action
Receiver * m_pReceiver


Member Typedef Documentation

template<class Receiver>
typedef void(Receiver::* O_SESSAME::SimpleCommand< Receiver >::Action)()
 

Definition at line 28 of file SimpleCommand.h.


Constructor & Destructor Documentation

template<class Receiver>
O_SESSAME::SimpleCommand< Receiver >::SimpleCommand Receiver *  _pnewReceiver,
Action  _newAction
 

Definition at line 29 of file SimpleCommand.h.

template<class Receiver>
virtual O_SESSAME::SimpleCommand< Receiver >::~Command  )  [virtual]
 

Reimplemented from O_SESSAME::Command.


Member Function Documentation

template<class Receiver>
virtual void O_SESSAME::SimpleCommand< Receiver >::Execute  )  [virtual]
 

Implements O_SESSAME::Command.

Definition at line 32 of file SimpleCommand.h.


Member Data Documentation

template<class Receiver>
Action O_SESSAME::SimpleCommand< Receiver >::m_Action [protected]
 

Definition at line 35 of file SimpleCommand.h.

template<class Receiver>
Receiver* O_SESSAME::SimpleCommand< Receiver >::m_pReceiver [protected]
 

Definition at line 36 of file SimpleCommand.h.


Generated on Wed Aug 6 12:59:15 2003 for Open-Sessame Framework by doxygen1.3