MNE-CPP  beta 1.0
Public Types | Public Member Functions | List of all members
ICommand Class Referenceabstract

The ICommand interface provides the base class of every command of the command design pattern. More...

#include <commandpattern.h>

Inheritance diagram for ICommand:
RTCOMMANDLIB::Command RTCOMMANDLIB::RawCommand

Public Types

typedef QSharedPointer< ICommandSPtr
 
typedef QSharedPointer< const ICommandConstSPtr
 

Public Member Functions

virtual ~ICommand ()
 
virtual void execute ()=0
 

Detailed Description

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.

Member Typedef Documentation

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.

Constructor & Destructor Documentation

virtual ICommand::~ICommand ( )
inlinevirtual

Destroys the ICommand.

Definition at line 73 of file commandpattern.h.

Member Function Documentation

virtual void ICommand::execute ( )
pure virtual

Executes the ICommand.

Implemented in RTCOMMANDLIB::Command, and RTCOMMANDLIB::RawCommand.


The documentation for this class was generated from the following file: