Topics.h 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. /*
  2. WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
  3. This file was generated from Topics.idl using "rtiddsgen".
  4. The rtiddsgen tool is part of the RTI Connext distribution.
  5. For more information, type 'rtiddsgen -help' at a command shell
  6. or consult the RTI Connext manual.
  7. */
  8. #ifndef Topics_1175585748_h
  9. #define Topics_1175585748_h
  10. #ifndef NDDS_STANDALONE_TYPE
  11. #ifndef ndds_cpp_h
  12. #include "ndds/ndds_cpp.h"
  13. #endif
  14. #include "rti/xcdr/Interpreter.hpp"
  15. #else
  16. #include "ndds_standalone_type.h"
  17. #endif
  18. typedef DDS_OctetSeq TopicSample_SomeBytes ;
  19. #if (defined(RTI_WIN32) || defined (RTI_WINCE) || defined(RTI_INTIME)) && defined(NDDS_USER_DLL_EXPORT)
  20. /* If the code is building on Windows, start exporting symbols.
  21. */
  22. #undef NDDSUSERDllExport
  23. #define NDDSUSERDllExport __declspec(dllexport)
  24. #endif
  25. #ifndef NDDS_STANDALONE_TYPE
  26. NDDSUSERDllExport DDS_TypeCode* TopicSample_SomeBytes_get_typecode(void); /* Type code */
  27. NDDSUSERDllExport RTIXCdrTypePlugin *TopicSample_SomeBytes_get_type_plugin_info(void);
  28. NDDSUSERDllExport RTIXCdrSampleAccessInfo *TopicSample_SomeBytes_get_sample_access_info(void);
  29. NDDSUSERDllExport RTIXCdrSampleAccessInfo *TopicSample_SomeBytes_get_sample_seq_access_info(void);
  30. #endif
  31. DDS_SEQUENCE(TopicSample_SomeBytesSeq, TopicSample_SomeBytes);
  32. NDDSUSERDllExport
  33. RTIBool TopicSample_SomeBytes_initialize(
  34. TopicSample_SomeBytes* self);
  35. NDDSUSERDllExport
  36. RTIBool TopicSample_SomeBytes_initialize_ex(
  37. TopicSample_SomeBytes* self,RTIBool allocatePointers,RTIBool allocateMemory);
  38. NDDSUSERDllExport
  39. RTIBool TopicSample_SomeBytes_initialize_w_params(
  40. TopicSample_SomeBytes* self,
  41. const struct DDS_TypeAllocationParams_t * allocParams);
  42. NDDSUSERDllExport
  43. RTIBool TopicSample_SomeBytes_finalize_w_return(
  44. TopicSample_SomeBytes* self);
  45. NDDSUSERDllExport
  46. void TopicSample_SomeBytes_finalize(
  47. TopicSample_SomeBytes* self);
  48. NDDSUSERDllExport
  49. void TopicSample_SomeBytes_finalize_ex(
  50. TopicSample_SomeBytes* self,RTIBool deletePointers);
  51. NDDSUSERDllExport
  52. void TopicSample_SomeBytes_finalize_w_params(
  53. TopicSample_SomeBytes* self,
  54. const struct DDS_TypeDeallocationParams_t * deallocParams);
  55. NDDSUSERDllExport
  56. void TopicSample_SomeBytes_finalize_optional_members(
  57. TopicSample_SomeBytes* self, RTIBool deletePointers);
  58. NDDSUSERDllExport
  59. RTIBool TopicSample_SomeBytes_copy(
  60. TopicSample_SomeBytes* dst,
  61. const TopicSample_SomeBytes* src);
  62. #if (defined(RTI_WIN32) || defined (RTI_WINCE) || defined(RTI_INTIME)) && defined(NDDS_USER_DLL_EXPORT)
  63. /* If the code is building on Windows, stop exporting symbols.
  64. */
  65. #undef NDDSUSERDllExport
  66. #define NDDSUSERDllExport
  67. #endif
  68. extern "C" {
  69. extern const char *TopicSample_MessageTYPENAME;
  70. }
  71. struct TopicSample_MessageSeq;
  72. #ifndef NDDS_STANDALONE_TYPE
  73. class TopicSample_MessageTypeSupport;
  74. class TopicSample_MessageDataWriter;
  75. class TopicSample_MessageDataReader;
  76. #endif
  77. class TopicSample_Message
  78. {
  79. public:
  80. typedef struct TopicSample_MessageSeq Seq;
  81. #ifndef NDDS_STANDALONE_TYPE
  82. typedef TopicSample_MessageTypeSupport TypeSupport;
  83. typedef TopicSample_MessageDataWriter DataWriter;
  84. typedef TopicSample_MessageDataReader DataReader;
  85. #endif
  86. DDS_Char * msgname ;
  87. DDS_Long counter ;
  88. DDS_LongLong sendtime ;
  89. TopicSample_SomeBytes xdata ;
  90. };
  91. #if (defined(RTI_WIN32) || defined (RTI_WINCE) || defined(RTI_INTIME)) && defined(NDDS_USER_DLL_EXPORT)
  92. /* If the code is building on Windows, start exporting symbols.
  93. */
  94. #undef NDDSUSERDllExport
  95. #define NDDSUSERDllExport __declspec(dllexport)
  96. #endif
  97. #ifndef NDDS_STANDALONE_TYPE
  98. NDDSUSERDllExport DDS_TypeCode* TopicSample_Message_get_typecode(void); /* Type code */
  99. NDDSUSERDllExport RTIXCdrTypePlugin *TopicSample_Message_get_type_plugin_info(void);
  100. NDDSUSERDllExport RTIXCdrSampleAccessInfo *TopicSample_Message_get_sample_access_info(void);
  101. NDDSUSERDllExport RTIXCdrSampleAccessInfo *TopicSample_Message_get_sample_seq_access_info(void);
  102. #endif
  103. DDS_SEQUENCE(TopicSample_MessageSeq, TopicSample_Message);
  104. NDDSUSERDllExport
  105. RTIBool TopicSample_Message_initialize(
  106. TopicSample_Message* self);
  107. NDDSUSERDllExport
  108. RTIBool TopicSample_Message_initialize_ex(
  109. TopicSample_Message* self,RTIBool allocatePointers,RTIBool allocateMemory);
  110. NDDSUSERDllExport
  111. RTIBool TopicSample_Message_initialize_w_params(
  112. TopicSample_Message* self,
  113. const struct DDS_TypeAllocationParams_t * allocParams);
  114. NDDSUSERDllExport
  115. RTIBool TopicSample_Message_finalize_w_return(
  116. TopicSample_Message* self);
  117. NDDSUSERDllExport
  118. void TopicSample_Message_finalize(
  119. TopicSample_Message* self);
  120. NDDSUSERDllExport
  121. void TopicSample_Message_finalize_ex(
  122. TopicSample_Message* self,RTIBool deletePointers);
  123. NDDSUSERDllExport
  124. void TopicSample_Message_finalize_w_params(
  125. TopicSample_Message* self,
  126. const struct DDS_TypeDeallocationParams_t * deallocParams);
  127. NDDSUSERDllExport
  128. void TopicSample_Message_finalize_optional_members(
  129. TopicSample_Message* self, RTIBool deletePointers);
  130. NDDSUSERDllExport
  131. RTIBool TopicSample_Message_copy(
  132. TopicSample_Message* dst,
  133. const TopicSample_Message* src);
  134. #if (defined(RTI_WIN32) || defined (RTI_WINCE) || defined(RTI_INTIME)) && defined(NDDS_USER_DLL_EXPORT)
  135. /* If the code is building on Windows, stop exporting symbols.
  136. */
  137. #undef NDDSUSERDllExport
  138. #define NDDSUSERDllExport
  139. #endif
  140. #ifndef NDDS_STANDALONE_TYPE
  141. namespace rti {
  142. namespace xcdr {
  143. template <>
  144. struct type_code<TopicSample_Message> {
  145. static const RTIXCdrTypeCode * get();
  146. };
  147. }
  148. }
  149. #endif
  150. #endif /* Topics */