MNE-CPP
beta 1.0
|
The ICommand interface provides the base class of every command of the command design pattern. More...
#include <commandpattern.h>
Public Types | |
typedef QSharedPointer< ICommand > | SPtr |
typedef QSharedPointer< const ICommand > | ConstSPtr |
Public Member Functions | |
virtual | ~ICommand () |
virtual void | execute ()=0 |
The ICommand interface provides the base class of every command of the command design pattern.
Declare interface command
Definition at line 63 of file commandpattern.h.
typedef QSharedPointer<const ICommand> ICommand::ConstSPtr |
Const shared pointer type for ICommand.
Definition at line 67 of file commandpattern.h.
typedef QSharedPointer<ICommand> ICommand::SPtr |
Shared pointer type for ICommand.
Definition at line 66 of file commandpattern.h.
|
inlinevirtual |
Destroys the ICommand.
Definition at line 73 of file commandpattern.h.
|
pure virtual |
Executes the ICommand.
Implemented in RTCOMMANDLIB::Command, and RTCOMMANDLIB::RawCommand.