mt4cpp
Classes | Typedefs | Functions
Command.hpp File Reference

The command module (Command base class, progress, command description). More...

#include <boost/smart_ptr.hpp>
#include <boost/thread.hpp>
Include dependency graph for Command.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mt4cpp::CommandDesc
 the descriptor of command More...
 
class  mt4cpp::CommandObserver
 
class  mt4cpp::Progress
 class to set the progress of given command. Subject in Obverver design pattern. It also check the 'halt-command' flag and if it is set it throws exception UserBreakException. More...
 
class  mt4cpp::Command
 
class  mt4cpp::CommandHolder< T >
 holder with the type and pointer to command as well as the base class of command (smart pointer) More...
 

Typedefs

typedef long mt4cpp::CommandID
 
typedef boost::shared_ptr
< CommandObserver > 
mt4cpp::PCommandObserver
 
typedef boost::intrusive_ptr
< Command > 
mt4cpp::PCommand
 

Functions

CommandDesc::State mt4cpp::getState (const Command &cmd)
 
void mt4cpp::intrusive_ptr_add_ref (Command *cmd)
 
void mt4cpp::intrusive_ptr_release (Command *cmd)
 

Detailed Description

The command module (Command base class, progress, command description).