User Data Type Support
Files generated by rtiddsgen that implement the type specific APIs required by the DDS specification, as described in the User Data Type Support, where:
HelloWorldSupport.h
[$(NDDSHOME)/example/CPP/helloWorld/HelloWorldSupport.h]
#ifndef HelloWorldSupport_1436885487_h
#define HelloWorldSupport_1436885487_h
#include "HelloWorld.h"
#ifdef __cplusplus
#ifndef ndds_cpp_h
#include "ndds/ndds_cpp.h"
#endif
#else
#ifndef ndds_c_h
#include "ndds/ndds_c.h"
#endif
#endif
#if (defined(RTI_WIN32) || defined (RTI_WINCE)) && defined(NDDS_USER_DLL_EXPORT)
#undef NDDSUSERDllExport
#define NDDSUSERDllExport __declspec(dllexport)
#ifdef __cplusplus
#endif
#endif
#ifdef __cplusplus
DDS_DATAWRITER_CPP(HelloWorldDataWriter, HelloWorld);
DDS_DATAREADER_CPP(HelloWorldDataReader, HelloWorldSeq, HelloWorld);
#else
DDS_TYPESUPPORT_C(HelloWorldTypeSupport, HelloWorld);
DDS_DATAWRITER_C(HelloWorldDataWriter, HelloWorld);
DDS_DATAREADER_C(HelloWorldDataReader, HelloWorldSeq, HelloWorld);
#endif
#if (defined(RTI_WIN32) || defined (RTI_WINCE)) && defined(NDDS_USER_DLL_EXPORT)
#undef NDDSUSERDllExport
#define NDDSUSERDllExport
#endif
#endif
HelloWorldSupport.cxx
[$(NDDSHOME)/example/CPP/helloWorld/HelloWorldSupport.cxx]
#include "HelloWorldSupport.h"
#include "HelloWorldPlugin.h"
#ifdef __cplusplus
#ifndef dds_c_log_impl_h
#include "dds_c/dds_c_log_impl.h"
#endif
#endif
#define TTYPENAME HelloWorldTYPENAME
#define TDataWriter HelloWorldDataWriter
#define TData HelloWorld
#ifdef __cplusplus
#include "dds_cpp/generic/dds_cpp_data_TDataWriter.gen"
#else
#include "dds_c/generic/dds_c_data_TDataWriter.gen"
#endif
#undef TDataWriter
#undef TData
#undef TTYPENAME
#define TTYPENAME HelloWorldTYPENAME
#define TDataReader HelloWorldDataReader
#define TDataSeq HelloWorldSeq
#define TData HelloWorld
#ifdef __cplusplus
#include "dds_cpp/generic/dds_cpp_data_TDataReader.gen"
#else
#include "dds_c/generic/dds_c_data_TDataReader.gen"
#endif
#undef TDataReader
#undef TDataSeq
#undef TData
#undef TTYPENAME
#define TTYPENAME HelloWorldTYPENAME
#define TPlugin_new HelloWorldPlugin_new
#define TPlugin_delete HelloWorldPlugin_delete
#define TTypeSupport HelloWorldTypeSupport
#define TData HelloWorld
#define TDataReader HelloWorldDataReader
#define TDataWriter HelloWorldDataWriter
#ifdef __cplusplus
#include "dds_cpp/generic/dds_cpp_data_TTypeSupport.gen"
#else
#include "dds_c/generic/dds_c_data_TTypeSupport.gen"
#endif
#undef TTypeSupport
#undef TData
#undef TDataReader
#undef TDataWriter
#undef TTYPENAME
#undef TPlugin_new
#undef TPlugin_delete