DDS  ver. 3.6
UpdateKeyCmd.h
Go to the documentation of this file.
1 // Copyright 2014 GSI, Inc. All rights reserved.
2 //
3 //
4 //
5 #ifndef DDS_UpdateKeyCmd_h
6 #define DDS_UpdateKeyCmd_h
7 // DDS
8 #include "BasicCmd.h"
9 
10 namespace dds
11 {
12  namespace protocol_api
13  {
14  struct SUpdateKeyCmd : public SBasicCmd<SUpdateKeyCmd>
15  {
16 
17  SUpdateKeyCmd();
18  size_t size() const;
19  void _convertFromData(const dds::misc::BYTEVector_t& _data);
20  void _convertToData(dds::misc::BYTEVector_t* _data) const;
21  bool operator==(const SUpdateKeyCmd& val) const;
22 
23  std::string m_propertyName;
24  std::string m_value;
25  uint64_t m_senderTaskID;
26  uint64_t m_receiverTaskID;
27  };
28  std::ostream& operator<<(std::ostream& _stream, const SUpdateKeyCmd& val);
29  bool operator!=(const SUpdateKeyCmd& lhs, const SUpdateKeyCmd& rhs);
30  } // namespace protocol_api
31 } // namespace dds
32 #endif
Definition: BasicCmd.h:475
Definition: UpdateKeyCmd.h:14
bool operator==(const SUpdateKeyCmd &val) const
Definition: UpdateKeyCmd.cpp:23
std::string m_value
Definition: UpdateKeyCmd.h:24
SUpdateKeyCmd()
Definition: UpdateKeyCmd.cpp:12
uint64_t m_senderTaskID
Definition: UpdateKeyCmd.h:25
std::vector< unsigned char > BYTEVector_t
An STL vector of bytes.
Definition: def.h:124
Miscellaneous functions and helpers are located here.
Definition: AgentConnectionManager.h:13
std::ostream & operator<<(std::ostream &_stream, const SAgentsInfoCmd &_val)
Definition: AgentsInfoCmd.cpp:38
void _convertFromData(const dds::misc::BYTEVector_t &_data)
Definition: UpdateKeyCmd.cpp:29
std::string m_propertyName
Definition: UpdateKeyCmd.h:23
bool operator!=(const SAgentsInfoCmd &_lhs, const SAgentsInfoCmd &_rhs)
Definition: AgentsInfoCmd.cpp:43
size_t size() const
Definition: UpdateKeyCmd.cpp:18
uint64_t m_receiverTaskID
Definition: UpdateKeyCmd.h:26
void _convertToData(dds::misc::BYTEVector_t *_data) const
Definition: UpdateKeyCmd.cpp:34