DDS  ver. 3.4
TestBigCustomCmd.h
Go to the documentation of this file.
1 // Copyright 2016 GSI, Inc. All rights reserved.
2 //
3 //
4 //
5 #ifndef DDS_OCTOPUS_TESTBIGCUSTOMCMD_H
6 #define DDS_OCTOPUS_TESTBIGCUSTOMCMD_H
7 
8 #include "OctopusTestImpl.h"
9 
10 namespace dds
11 {
12  namespace dds_octopus
13  {
14  //
15  // Send "big_cmd" -->
16  // Receive "return" <---
17  //
18  class CTestBigCustomCmd : public COctopusTestImpl<CTestBigCustomCmd>
19  {
20  public:
21  CTestBigCustomCmd(const SOptions_t& _options);
22 
23  public:
24  BEGIN_OCTOPUS_MSG_MAP("Big Custom Command")
27 
28  public:
29  void _init();
30  void onReturnCmd(const SOctopusProtocol_Return& _return, uint64_t _senderId);
31 
32  private:
33  uint32_t m_cmdCrc32;
34  size_t m_nConfirmedCRC;
35  };
36  } // namespace dds_octopus
37 } // namespace dds
38 #endif
Definition: OctopusProtocol.h:63
BEGIN_OCTOPUS_MSG_MAP("Big Custom Command") OCTOPUS_MSG_HANDLER(onReturnCmd
Definition: dds-octopus/src/Options.h:23
Definition: AgentConnectionManager.h:13
Definition: TestBigCustomCmd.h:18
CTestBigCustomCmd(const SOptions_t &_options)
Definition: TestBigCustomCmd.cpp:14
Definition: OctopusTestImpl.h:66
void _init()
Definition: TestBigCustomCmd.cpp:21
void onReturnCmd(const SOctopusProtocol_Return &_return, uint64_t _senderId)
Definition: TestBigCustomCmd.cpp:46
#define OCTOPUS_MSG_HANDLER(func, cmd)
Definition: OctopusTestImpl.h:41
#define END_OCTOPUS_MSG_MAP
Definition: OctopusTestImpl.h:50