mt4cpp
|
Public Member Functions | |
CommandQueue () | |
PCommand | read () |
CommandID | write (PCommand cmd) |
bool | getQuitFlag () const |
void | setQuitFlag () |
long | generateCommandId () |
|
inline |
constructor
|
inline |
read the command to execute. Suspend the thread if the queue is empty. Returns not empty optional if the queue is destroyed.
|
inline |
write the command into queue, returns the new command ID
Referenced by mt4cpp::Scheduler::executeAsynchronously().
|
inline |
accessor
|
inline |
mutator
Referenced by mt4cpp::Scheduler::finishAndJoin().