DDS  ver. 2.0
GetPropValuesCmd.h
Go to the documentation of this file.
1 // Copyright 2014 GSI, Inc. All rights reserved.
2 //
3 //
4 //
5 
6 #ifndef __DDS__GetPropValuesCmd__
7 #define __DDS__GetPropValuesCmd__
8 
9 // DDS
10 #include "BasicCmd.h"
11 
12 namespace dds
13 {
14  namespace protocol_api
15  {
16  struct SGetPropValuesCmd : public SBasicCmd<SGetPropValuesCmd>
17  {
19  size_t size() const;
20  void _convertFromData(const MiscCommon::BYTEVector_t& _data);
21  void _convertToData(MiscCommon::BYTEVector_t* _data) const;
22  bool operator==(const SGetPropValuesCmd& val) const;
23 
24  std::string m_sPropertyID;
25  };
26  std::ostream& operator<<(std::ostream& _stream, const SGetPropValuesCmd& val);
27  bool operator!=(const SGetPropValuesCmd& lhs, const SGetPropValuesCmd& rhs);
28  }
29 }
30 
31 #endif /* defined(__DDS__GetPropValuesCmd__) */
Definition: BasicCmd.h:481
bool operator==(const SGetPropValuesCmd &val) const
Definition: GetPropValuesCmd.cpp:24
SGetPropValuesCmd()
Definition: GetPropValuesCmd.cpp:15
size_t size() const
Definition: GetPropValuesCmd.cpp:19
void _convertToData(MiscCommon::BYTEVector_t *_data) const
Definition: GetPropValuesCmd.cpp:34
Definition: dds-agent/src/AgentConnectionManager.h:18
std::ostream & operator<<(std::ostream &_stream, const SAgentsInfoCmd &_val)
Definition: AgentsInfoCmd.cpp:38
Definition: GetPropValuesCmd.h:16
std::string m_sPropertyID
Definition: GetPropValuesCmd.h:24
bool operator!=(const SAgentsInfoCmd &_lhs, const SAgentsInfoCmd &_rhs)
Definition: AgentsInfoCmd.cpp:43
std::vector< unsigned char > BYTEVector_t
An STL vector of bytes.
Definition: def.h:127
void _convertFromData(const MiscCommon::BYTEVector_t &_data)
Definition: GetPropValuesCmd.cpp:29