
/*
  WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.

  This file was generated from test.idl using "rtiddsgen".
  The rtiddsgen tool is part of the RTI Data Distribution Service distribution.
  For more information, type 'rtiddsgen -help' at a command shell
  or consult the RTI Data Distribution Service manual.
*/

#ifndef test_1279845667053_h
#define test_1279845667053_h

#ifndef NDDS_STANDALONE_TYPE
    #ifdef __cplusplus
        #ifndef ndds_cpp_h
            #include "ndds/ndds_cpp.h"
        #endif
    #else
        #ifndef ndds_c_h
            #include "ndds/ndds_c.h"
        #endif
    #endif
#else
    #include "ndds_standalone_type.h"
#endif

             
static const DDS_Long MAX_BINDATA_SIZE = 63000;             
static const DDS_Long KEY_SIZE = 4;
#ifdef __cplusplus
extern "C" {
#endif

        
extern const char *TestData_tTYPENAME;
        

#ifdef __cplusplus
}
#endif

typedef struct TestData_t
{
    DDS_Octet  key[(KEY_SIZE)];
    DDS_Long  entity_id;
    DDS_UnsignedLong  seq_num;
    DDS_Long  timestamp_sec;
    DDS_UnsignedLong  timestamp_usec;
    DDS_Long  latency_ping;
     DDS_OctetSeq  bin_data;

} TestData_t;
    
                            
#if (defined(RTI_WIN32) || defined (RTI_WINCE)) && defined(NDDS_USER_DLL_EXPORT)
  /* If the code is building on Windows, start exporting symbols.
   */
  #undef NDDSUSERDllExport
  #define NDDSUSERDllExport __declspec(dllexport)
#endif

    
NDDSUSERDllExport DDS_TypeCode* TestData_t_get_typecode(void); /* Type code */
    

DDS_SEQUENCE(TestData_tSeq, TestData_t);
        
NDDSUSERDllExport
RTIBool TestData_t_initialize(
        TestData_t* self);
        
NDDSUSERDllExport
RTIBool TestData_t_initialize_ex(
        TestData_t* self,RTIBool allocatePointers);

NDDSUSERDllExport
void TestData_t_finalize(
        TestData_t* self);
                        
NDDSUSERDllExport
void TestData_t_finalize_ex(
        TestData_t* self,RTIBool deletePointers);
        
NDDSUSERDllExport
RTIBool TestData_t_copy(
        TestData_t* dst,
        const TestData_t* src);

#if (defined(RTI_WIN32) || defined (RTI_WINCE)) && defined(NDDS_USER_DLL_EXPORT)
  /* If the code is building on Windows, stop exporting symbols.
   */
  #undef NDDSUSERDllExport
  #define NDDSUSERDllExport
#endif



#endif /* test_1279845667053_h */
