Public Attributes | List of all members
CommandParams Struct Reference

The CommandParams class serves as a data struct to configure Command objects. More...

#include <command.h>

Public Attributes

std::string cmd
 
bool cmdHasParams
 
bool cmdHasResponse
 
std::string name
 
std::vector< std::pair< std::string, std::string > > params
 
bool respHasParams
 
std::string response
 

Detailed Description

The CommandParams class serves as a data struct to configure Command objects.

An instance of this struct is required to instantiate a Command object.

Definition at line 31 of file command.h.

Member Data Documentation

std::string CommandParams::cmd

Command itself, containing keywords and parameters flagged with '$'

Definition at line 38 of file command.h.

bool CommandParams::cmdHasParams

Does this Command have dynamic parameters?

Definition at line 34 of file command.h.

bool CommandParams::cmdHasResponse

Does this Command trigger a response?

Definition at line 40 of file command.h.

std::string CommandParams::name

Unique identifier of a Command object.

Definition at line 33 of file command.h.

std::vector<std::pair<std::string, std::string> > CommandParams::params

List of dynamic parameters of this command/response (first: name, second: type)

Definition at line 36 of file command.h.

bool CommandParams::respHasParams

Does the response have dynamic parameters?

Definition at line 41 of file command.h.

std::string CommandParams::response

Response itself, containing keywords and parameters flagged with '$'

Definition at line 42 of file command.h.


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


pses_ucbridge
Author(s): Sebastian Ehmes
autogenerated on Sat Oct 28 2017 19:16:13