YAODAQ
Public Member Functions | List of all members
Command Class Reference
Inheritance diagram for Command:
Inheritance graph
[legend]
Collaboration diagram for Command:
Collaboration graph
[legend]

Public Member Functions

 Command (const std::string &content="", const std::string &to="ALL", const std::string &from="")
 
std::string getCommand () const
 
std::string getCommand ()
 
template<typename T >
void addParameter (const std::string &name, const T &value)
 
Json::Value getParameter (const std::string &parameter) const
 
- Public Member Functions inherited from Message
 Message (const Types &type=Types::Info, const std::string &content="", const std::string &to="ALL", const std::string &from="")
 
 Message (const Types &type, const Json::Value &content, const std::string &to="ALL", const std::string &from="")
 
void parse (const std::string &)
 
void setFrom (const std::string &)
 
void setTo (const std::string &)
 
void addKey (const std::string &key, const std::string &value)
 
void setContent (const std::string &)
 
void setContent (const Json::Value &)
 
std::string getFrom ()
 
std::string getTo ()
 
std::string getContent ()
 
std::string getContent () const
 
std::string get ()
 
std::string get () const
 
std::string getType ()
 
std::string getStyled (const std::string &indent="\)
 
void setType (const Types &)
 
bool isEmpty ()
 
std::size_t getContentSize ()
 
Json::Value getContentAsJson () const
 
Json::Value getContentAsJson ()
 

Additional Inherited Members

- Protected Attributes inherited from Message
Json::Value m_Value {}
 

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