mt4cpp
Public Member Functions | List of all members
mt4cpp::CommandHistory Class Reference

#include <CommandHistory.hpp>

Inheritance diagram for mt4cpp::CommandHistory:
Inheritance graph
Collaboration diagram for mt4cpp::CommandHistory:
Collaboration graph

Public Member Functions

void insert (CommandID id, PCommand cmd)
 
PCommand find (CommandID id) const
 
std::vector< CommandID > keys () const
 
void clear ()
 

Detailed Description

the collection of commands, it can find the command by Id to give the command status or progress etc. It is synchronized associative memory (std::map)

Member Function Documentation

void mt4cpp::CommandHistory::insert ( CommandID  id,
PCommand  cmd 
)
inline

add the command to collection with given ID

PCommand mt4cpp::CommandHistory::find ( CommandID  id) const
inline

try to find the Command of CommandId. If there is no command it returns the null pointer

std::vector<CommandID> mt4cpp::CommandHistory::keys ( ) const
inline

CommandIDs stored in collection

void mt4cpp::CommandHistory::clear ( )
inline

clear the CommandHistory


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