mt4cpp
Public Types | Public Member Functions | Public Attributes | List of all members
mt4cpp::CommandDesc Struct Reference

the descriptor of command More...

#include <Command.hpp>

Collaboration diagram for mt4cpp::CommandDesc:
Collaboration graph

Public Types

enum  State {
  NONE, QUEUED, PENDING, INTERRUPTED,
  EXCEPTION, DONE
}
 available states of Command NONE - command created, but not put in activation queue QUEUED - command is waiting for execusion at the activation queue PENDING - command is being executed now INTERRUPTED - command execution has been interrupted EXCEPTION - during command execution an exception was catched DONE - command code has been done successfully More...
 

Public Member Functions

 CommandDesc ()
 

Public Attributes

CommandID id_
 command unique ID More...
 
State state_
 command state More...
 
double progress_
 command progress More...
 

Detailed Description

the descriptor of command

Member Enumeration Documentation

available states of Command NONE - command created, but not put in activation queue QUEUED - command is waiting for execusion at the activation queue PENDING - command is being executed now INTERRUPTED - command execution has been interrupted EXCEPTION - during command execution an exception was catched DONE - command code has been done successfully

Constructor & Destructor Documentation

mt4cpp::CommandDesc::CommandDesc ( )
inline

c-tor

Member Data Documentation

CommandID mt4cpp::CommandDesc::id_

command unique ID

Referenced by mt4cpp::Command::setId().

State mt4cpp::CommandDesc::state_

command state

Referenced by mt4cpp::Command::setState().

double mt4cpp::CommandDesc::progress_

command progress

Referenced by mt4cpp::Command::setProgress().


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