qlib::ace::Command< T, R > Struct Template Reference

act as a base class for all command classes More...

#include <Command.h>

List of all members.

Public Types

typedef T param_type
typedef R return_type

Public Member Functions

virtual ~Command ()
virtual R exec (void)=0
virtual R exec (T *)=0
virtual R operator() (void)
virtual R operator() (T *param)


Detailed Description

template<typename T, typename R = int>
struct qlib::ace::Command< T, R >

act as a base class for all command classes

Defines the interface of one command should be like

Definition at line 30 of file Command.h.


Member Typedef Documentation

template<typename T, typename R = int>
typedef T qlib::ace::Command< T, R >::param_type

Definition at line 31 of file Command.h.

template<typename T, typename R = int>
typedef R qlib::ace::Command< T, R >::return_type

Definition at line 32 of file Command.h.


Constructor & Destructor Documentation

template<typename T, typename R = int>
virtual qlib::ace::Command< T, R >::~Command (  )  [inline, virtual]

Definition at line 34 of file Command.h.


Member Function Documentation

template<typename T, typename R = int>
virtual R qlib::ace::Command< T, R >::exec ( void   )  [pure virtual]

Implemented in qlib::ace::Callback< Result >.

Referenced by qlib::ace::Command< Result >::operator()().

template<typename T, typename R = int>
virtual R qlib::ace::Command< T, R >::exec ( T *   )  [pure virtual]

Implemented in qlib::ace::Callback< Result >.

template<typename T, typename R = int>
virtual R qlib::ace::Command< T, R >::operator() ( void   )  [inline, virtual]

Reimplemented in qlib::ace::Callback< Result >.

Definition at line 37 of file Command.h.

template<typename T, typename R = int>
virtual R qlib::ace::Command< T, R >::operator() ( T *  param  )  [inline, virtual]

Reimplemented in qlib::ace::Callback< Result >.

Definition at line 40 of file Command.h.


The documentation for this struct was generated from the following file:
Generated on Fri Jun 8 22:49:25 2007 for qlib::ace by  doxygen 1.5.1