User Data Type Support
Files generated by rtiddsgen (see the Code Generator User's Manual for more information) that implement the type specific APIs required by the DDS specification, as described in the User Data Type Support, where:
HelloWorldSupport.h
#ifndef HelloWorldSupport_1436885487_h
#define HelloWorldSupport_1436885487_h
#include "HelloWorld.h"
#ifndef ndds_c_h
#include "ndds/ndds_c.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
#if (defined(RTI_WIN32) || defined (RTI_WINCE) || defined(RTI_INTIME)) && defined(NDDS_USER_DLL_EXPORT)
#endif
#if (defined(RTI_WIN32) || defined (RTI_WINCE) || defined(RTI_INTIME)) && defined(NDDS_USER_DLL_EXPORT)
#undef NDDSUSERDllExport
#define NDDSUSERDllExport __declspec(dllexport)
#endif
DDS_DATAWRITER_WITH_DATA_CONSTRUCTOR_METHODS_C(HelloWorldDataWriter, HelloWorld);
#if (defined(RTI_WIN32) || defined (RTI_WINCE) || defined(RTI_INTIME)) && defined(NDDS_USER_DLL_EXPORT)
#undef NDDSUSERDllExport
#define NDDSUSERDllExport
#endif
#ifdef __cplusplus
}
#endif
#endif
#define DDS_DATAREADER_C(TDataReader, TDataSeq, TData)
Declares the interface required to support a user data type-specific data reader.
Definition: data.ifc:636
#define DDS_TYPESUPPORT_C(TTypeSupport, TData)
Declares the interface required to support a user data type.
Definition: data.ifc:125
HelloWorldSupport.c
#include "HelloWorldSupport.h"
#include "HelloWorldPlugin.h"
#define TTYPENAME HelloWorldTYPENAME
#define TDataWriter HelloWorldDataWriter
#define TData HelloWorld
#define RTI_ENABLE_TDATAWRITER_DATA_CONSTRUCTOR_METHODS
#include "dds_c/generic/dds_c_data_TDataWriter.gen"
#undef RTI_ENABLE_TDATAWRITER_DATA_CONSTRUCTOR_METHODS
#undef TDataWriter
#undef TData
#undef TTYPENAME
#define TTYPENAME HelloWorldTYPENAME
#define TDataReader HelloWorldDataReader
#define TDataSeq HelloWorldSeq
#define TData HelloWorld
#define RTI_ENABLE_TDATAREADER_DATA_CONSISTENCY_CHECK_METHOD
#include "dds_c/generic/dds_c_data_TDataReader.gen"
#undef RTI_ENABLE_TDATAREADER_DATA_CONSISTENCY_CHECK_METHOD
#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
#define TGENERATE_SER_CODE
#ifndef NDDS_STANDALONE_TYPE
#define TGENERATE_TYPECODE
#endif
#include "dds_c/generic/dds_c_data_TTypeSupport.gen"
#undef TTypeSupport
#undef TData
#undef TDataReader
#undef TDataWriter
#ifndef NDDS_STANDALONE_TYPE
#undef TGENERATE_TYPECODE
#endif
#undef TGENERATE_SER_CODE
#undef TTYPENAME
#undef TPlugin_new
#undef TPlugin_delete