Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

mpcl::event::IAction Class Reference

Base action class. More...

#include <action.hh>

Inheritance diagram for mpcl::event::IAction:

List of all members.

Public Methods

 IAction (void)
 IAction (const TString &rkyNAME)
virtual ~IAction (void)
 Destroys the instance.

virtual bool execute (void)=0
bool operator() (void)
virtual int react (void)=0
void setName (const TString &rkyNAME)
const TString & getName (void) const

Detailed Description

Base action class.

Definition at line 45 of file action.hh.


Constructor & Destructor Documentation

mpcl::event::IAction::IAction void    [inline]
 

Builds a new instance.

Definition at line 63 of file action.hh.

mpcl::event::IAction::IAction const TString &    rkyNAME [inline]
 

Builds a new instance.

Parameters:
rkyNAME  Action name.

Definition at line 70 of file action.hh.

References mpcl::text::TString.


Member Function Documentation

virtual bool mpcl::event::IAction::execute void    [pure virtual]
 

Executes the action code.

Returns:
True if action has executed properly.

Referenced by operator()().

const TString& mpcl::event::IAction::getName void    const [inline]
 

Gets action name.

Returns:
Action name.

Definition at line 117 of file action.hh.

References mpcl::text::TString.

bool mpcl::event::IAction::operator() void    [inline]
 

Executes the action code.

Returns:
True if action has executed properly.

Definition at line 86 of file action.hh.

References execute().

virtual int mpcl::event::IAction::react void    [pure virtual]
 

Executes the reaction due to the fail of action code.

Returns:
Exit code.

void mpcl::event::IAction::setName const TString &    rkyNAME [inline]
 

Sets action name.

Parameters:
rkyNAME  New action name.

Definition at line 101 of file action.hh.

References mpcl::text::TString.


The documentation for this class was generated from the following file:
Generated on Mon Oct 13 02:35:25 2003 for MPCL by doxygen1.2.18