DDS  ver. 3.4
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_sPropertyName;
25  };
26  std::ostream& operator<<(std::ostream& _stream, const SGetPropValuesCmd& val);
27  bool operator!=(const SGetPropValuesCmd& lhs, const SGetPropValuesCmd& rhs);
28  } // namespace protocol_api
29 } // namespace dds
30 
31 #endif /* defined(__DDS__GetPropValuesCmd__) */
Definition: BasicCmd.h:481
bool operator==(const SGetPropValuesCmd &val) const
Definition: GetPropValuesCmd.cpp:22
SGetPropValuesCmd()
Definition: GetPropValuesCmd.cpp:13
size_t size() const
Definition: GetPropValuesCmd.cpp:17
void _convertToData(MiscCommon::BYTEVector_t *_data) const
Definition: GetPropValuesCmd.cpp:32
Definition: AgentConnectionManager.h:13
std::ostream & operator<<(std::ostream &_stream, const SAgentsInfoCmd &_val)
Definition: AgentsInfoCmd.cpp:38
Definition: GetPropValuesCmd.h:16
bool operator!=(const SAgentsInfoCmd &_lhs, const SAgentsInfoCmd &_rhs)
Definition: AgentsInfoCmd.cpp:43
std::string m_sPropertyName
Definition: GetPropValuesCmd.h:24
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:27