Public Member Functions | |
virtual std::auto_ptr< Command > | clone () const |
Virtual copy constructor. | |
Command (const SmartUtil::tstring &name) | |
constructor | |
const SmartUtil::tstring & | Name () const |
Returns the "friendly" name of the Command. | |
virtual | ~Command () |
Virtual DTOR since we often will destroy object from a pointer to a base class. | |
Protected Member Functions | |
Command () | |
Constructor taking nothing. |
Can if nothing else then a unique name is needed be instantiated directly...
Used e.g. in createTimer...
Command | ( | const SmartUtil::tstring & | name | ) | [explicit] |
constructor
Constructor taking a SmartUtil::tstring which then can be used for identifying the Command to make sure you have the "right" command object.
virtual ~Command | ( | ) | [virtual] |
Command | ( | ) | [protected] |
Constructor taking nothing.
DON'T use this Constructor unless you derive from the class.
Sets the "name" of the Command to "Undefined".
virtual std::auto_ptr< Command > clone | ( | ) | const [virtual] |
const SmartUtil::tstring& Name | ( | ) | const |