DDS  ver. 2.0
Classes | Typedefs | Enumerations | Functions | Variables
dds::commander_cmd Namespace Reference

Classes

class  CAgentChannel
 
class  CConnectionManager
 
class  CGetLogChannelInfo
 
class  CKeyValueManager
 Key-value manager for the DDS commander. More...
 
class  CSSHScheduler
 
class  CSubmitAgentsChannelInfo
 
class  CTestChannelInfo
 
class  CUIChannelInfo
 
class  CUpdateTopologyChannelInfo
 
class  DDSChannelId
 
struct  SAgentInfo
 
struct  SKeyValueRecord
 TODO: Key-Value has to provide a possibility to properly react on the errors. If Key-Value was not saved by the Commander because of the version mismatch, we have to send back the information about it to the user, providing error code, error message, user record and server record. Based on this information user can properly construct a new record and save it back to server. More...
 
struct  SOptions
 dds-commander's container of options More...
 
struct  SPropertyRecord
 Container for the key-value records with the same property ID. More...
 

Typedefs

typedef std::map< uint64_t, SAgentInfoAgentInfoContainer_t
 
typedef std::vector< uint64_t > LobbyProtocolHeaderIdContainer_t
 
typedef struct dds::commander_cmd::SOptions SOptions_t
 dds-commander's container of options More...
 

Enumerations

enum  EAgentState { unknown = 0, idle, executing }
 
enum  EKeyUpdateResult { EKeyUpdateResult::Correct, EKeyUpdateResult::VersionMismatchError, EKeyUpdateResult::KeyNotFoundError }
 

Functions

std::ostream & operator<< (std::ostream &_stream, const SKeyValueRecord &_value)
 
std::ostream & operator<< (std::ostream &_stream, const SPropertyRecord &_value)
 
std::ostream & operator<< (std::ostream &_stream, const CKeyValueManager &_value)
 
void PrintVersion ()
 
bool ParseCmdLine (int _argc, char *_argv[], SOptions *_options)
 

Variables

const std::array< std::string, 3 > g_agentStates = { { "unknown", "idle", "executing" } }
 

Typedef Documentation

◆ AgentInfoContainer_t

◆ LobbyProtocolHeaderIdContainer_t

◆ SOptions_t

dds-commander's container of options

Enumeration Type Documentation

◆ EAgentState

Enumerator
unknown 
idle 
executing 

◆ EKeyUpdateResult

Enumerator
Correct 
VersionMismatchError 
KeyNotFoundError 

Function Documentation

◆ operator<<() [1/3]

std::ostream& dds::commander_cmd::operator<< ( std::ostream &  _stream,
const SKeyValueRecord _value 
)
inline

◆ operator<<() [2/3]

std::ostream& dds::commander_cmd::operator<< ( std::ostream &  _stream,
const SPropertyRecord _value 
)
inline

◆ operator<<() [3/3]

std::ostream& dds::commander_cmd::operator<< ( std::ostream &  _stream,
const CKeyValueManager _value 
)
inline

◆ ParseCmdLine()

bool dds::commander_cmd::ParseCmdLine ( int  _argc,
char *  _argv[],
SOptions _options 
)
inline

◆ PrintVersion()

void dds::commander_cmd::PrintVersion ( )
inline

Variable Documentation

◆ g_agentStates

const std::array<std::string, 3> dds::commander_cmd::g_agentStates = { { "unknown", "idle", "executing" } }