/* WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY. This file was generated from tab.idl using RTI Code Generator (rtiddsgen) version 4.7.0. The rtiddsgen tool is part of the RTI Connext DDS distribution. For more information, type 'rtiddsgen -help' at a command shell or consult the Code Generator User's Manual. */ #ifndef tabPlugin_1554778242_h #define tabPlugin_1554778242_h #include "tab.hpp" struct RTICdrStream; #ifndef pres_typePlugin_h #include "pres/pres_typePlugin.h" #endif #include "tab_enumsPlugin.hpp" #include "/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4/Lts/DDS/Core/corePlugin.hpp" #include "/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4/Lts/Services/ProjectDataManagement/pdmPlugin.hpp" #if defined(NDDS_USER_DLL_EXPORT) && defined(RTI_WIN32) #undef NDDSUSERDllExport #define NDDSUSERDllExport __declspec(dllexport) #endif #if !defined(RTI_WIN32) && defined(NDDS_USER_SYMBOL_EXPORT) #undef NDDSUSERDllExport #define NDDSUSERDllExport __attribute__((visibility("default"))) #endif #include // #define NDDSUSERDllExport for linux #include "tab_enums.hpp" #include #include namespace TrainingAreaBase { #define TrajectoryCalculationDataPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define TrajectoryCalculationDataPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define TrajectoryCalculationDataPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define TrajectoryCalculationDataPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define TrajectoryCalculationDataPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern TrajectoryCalculationData* TrajectoryCalculationDataPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern TrajectoryCalculationData* TrajectoryCalculationDataPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern TrajectoryCalculationData* TrajectoryCalculationDataPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool TrajectoryCalculationDataPluginSupport_copy_data( TrajectoryCalculationData *out, const TrajectoryCalculationData *in); NDDSUSERDllExport extern void TrajectoryCalculationDataPluginSupport_destroy_data_w_params( TrajectoryCalculationData *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void TrajectoryCalculationDataPluginSupport_destroy_data_ex( TrajectoryCalculationData *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void TrajectoryCalculationDataPluginSupport_destroy_data( TrajectoryCalculationData *sample); NDDSUSERDllExport extern void TrajectoryCalculationDataPluginSupport_print_data( const TrajectoryCalculationData *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData TrajectoryCalculationDataPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void TrajectoryCalculationDataPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData TrajectoryCalculationDataPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void TrajectoryCalculationDataPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void TrajectoryCalculationDataPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, TrajectoryCalculationData *sample, void *handle); NDDSUSERDllExport extern RTIBool TrajectoryCalculationDataPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, TrajectoryCalculationData *out, const TrajectoryCalculationData *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool TrajectoryCalculationDataPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const TrajectoryCalculationData *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool TrajectoryCalculationDataPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, TrajectoryCalculationData **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool TrajectoryCalculationDataPlugin_deserialize_from_cdr_buffer( TrajectoryCalculationData *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int TrajectoryCalculationDataPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind TrajectoryCalculationDataPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int TrajectoryCalculationDataPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int TrajectoryCalculationDataPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool TrajectoryCalculationDataPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, TrajectoryCalculationData ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* TrajectoryCalculationDataPlugin_new(void); NDDSUSERDllExport extern void TrajectoryCalculationDataPlugin_delete(struct PRESTypePlugin *); #define AdlerCalculateTrajectoryRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define AdlerCalculateTrajectoryRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define AdlerCalculateTrajectoryRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define AdlerCalculateTrajectoryRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define AdlerCalculateTrajectoryRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern AdlerCalculateTrajectoryRequest* AdlerCalculateTrajectoryRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern AdlerCalculateTrajectoryRequest* AdlerCalculateTrajectoryRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern AdlerCalculateTrajectoryRequest* AdlerCalculateTrajectoryRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool AdlerCalculateTrajectoryRequestPluginSupport_copy_data( AdlerCalculateTrajectoryRequest *out, const AdlerCalculateTrajectoryRequest *in); NDDSUSERDllExport extern void AdlerCalculateTrajectoryRequestPluginSupport_destroy_data_w_params( AdlerCalculateTrajectoryRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void AdlerCalculateTrajectoryRequestPluginSupport_destroy_data_ex( AdlerCalculateTrajectoryRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void AdlerCalculateTrajectoryRequestPluginSupport_destroy_data( AdlerCalculateTrajectoryRequest *sample); NDDSUSERDllExport extern void AdlerCalculateTrajectoryRequestPluginSupport_print_data( const AdlerCalculateTrajectoryRequest *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData AdlerCalculateTrajectoryRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void AdlerCalculateTrajectoryRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData AdlerCalculateTrajectoryRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void AdlerCalculateTrajectoryRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void AdlerCalculateTrajectoryRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, AdlerCalculateTrajectoryRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool AdlerCalculateTrajectoryRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, AdlerCalculateTrajectoryRequest *out, const AdlerCalculateTrajectoryRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool AdlerCalculateTrajectoryRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const AdlerCalculateTrajectoryRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool AdlerCalculateTrajectoryRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, AdlerCalculateTrajectoryRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool AdlerCalculateTrajectoryRequestPlugin_deserialize_from_cdr_buffer( AdlerCalculateTrajectoryRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int AdlerCalculateTrajectoryRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind AdlerCalculateTrajectoryRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int AdlerCalculateTrajectoryRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int AdlerCalculateTrajectoryRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool AdlerCalculateTrajectoryRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, AdlerCalculateTrajectoryRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* AdlerCalculateTrajectoryRequestPlugin_new(void); NDDSUSERDllExport extern void AdlerCalculateTrajectoryRequestPlugin_delete(struct PRESTypePlugin *); #define AdlerFqAfRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define AdlerFqAfRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define AdlerFqAfRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define AdlerFqAfRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define AdlerFqAfRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern AdlerFqAfRequest* AdlerFqAfRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern AdlerFqAfRequest* AdlerFqAfRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern AdlerFqAfRequest* AdlerFqAfRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool AdlerFqAfRequestPluginSupport_copy_data( AdlerFqAfRequest *out, const AdlerFqAfRequest *in); NDDSUSERDllExport extern void AdlerFqAfRequestPluginSupport_destroy_data_w_params( AdlerFqAfRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void AdlerFqAfRequestPluginSupport_destroy_data_ex( AdlerFqAfRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void AdlerFqAfRequestPluginSupport_destroy_data( AdlerFqAfRequest *sample); NDDSUSERDllExport extern void AdlerFqAfRequestPluginSupport_print_data( const AdlerFqAfRequest *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData AdlerFqAfRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void AdlerFqAfRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData AdlerFqAfRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void AdlerFqAfRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void AdlerFqAfRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, AdlerFqAfRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool AdlerFqAfRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, AdlerFqAfRequest *out, const AdlerFqAfRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool AdlerFqAfRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const AdlerFqAfRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool AdlerFqAfRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, AdlerFqAfRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool AdlerFqAfRequestPlugin_deserialize_from_cdr_buffer( AdlerFqAfRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int AdlerFqAfRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind AdlerFqAfRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int AdlerFqAfRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int AdlerFqAfRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool AdlerFqAfRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, AdlerFqAfRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* AdlerFqAfRequestPlugin_new(void); NDDSUSERDllExport extern void AdlerFqAfRequestPlugin_delete(struct PRESTypePlugin *); #define AdlerFqFbRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define AdlerFqFbRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define AdlerFqFbRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define AdlerFqFbRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define AdlerFqFbRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern AdlerFqFbRequest* AdlerFqFbRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern AdlerFqFbRequest* AdlerFqFbRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern AdlerFqFbRequest* AdlerFqFbRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool AdlerFqFbRequestPluginSupport_copy_data( AdlerFqFbRequest *out, const AdlerFqFbRequest *in); NDDSUSERDllExport extern void AdlerFqFbRequestPluginSupport_destroy_data_w_params( AdlerFqFbRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void AdlerFqFbRequestPluginSupport_destroy_data_ex( AdlerFqFbRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void AdlerFqFbRequestPluginSupport_destroy_data( AdlerFqFbRequest *sample); NDDSUSERDllExport extern void AdlerFqFbRequestPluginSupport_print_data( const AdlerFqFbRequest *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData AdlerFqFbRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void AdlerFqFbRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData AdlerFqFbRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void AdlerFqFbRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void AdlerFqFbRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, AdlerFqFbRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool AdlerFqFbRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, AdlerFqFbRequest *out, const AdlerFqFbRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool AdlerFqFbRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const AdlerFqFbRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool AdlerFqFbRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, AdlerFqFbRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool AdlerFqFbRequestPlugin_deserialize_from_cdr_buffer( AdlerFqFbRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int AdlerFqFbRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind AdlerFqFbRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int AdlerFqFbRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int AdlerFqFbRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool AdlerFqFbRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, AdlerFqFbRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* AdlerFqFbRequestPlugin_new(void); NDDSUSERDllExport extern void AdlerFqFbRequestPlugin_delete(struct PRESTypePlugin *); #define AdlerFqVmRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define AdlerFqVmRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define AdlerFqVmRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define AdlerFqVmRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define AdlerFqVmRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern AdlerFqVmRequest* AdlerFqVmRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern AdlerFqVmRequest* AdlerFqVmRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern AdlerFqVmRequest* AdlerFqVmRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool AdlerFqVmRequestPluginSupport_copy_data( AdlerFqVmRequest *out, const AdlerFqVmRequest *in); NDDSUSERDllExport extern void AdlerFqVmRequestPluginSupport_destroy_data_w_params( AdlerFqVmRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void AdlerFqVmRequestPluginSupport_destroy_data_ex( AdlerFqVmRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void AdlerFqVmRequestPluginSupport_destroy_data( AdlerFqVmRequest *sample); NDDSUSERDllExport extern void AdlerFqVmRequestPluginSupport_print_data( const AdlerFqVmRequest *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData AdlerFqVmRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void AdlerFqVmRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData AdlerFqVmRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void AdlerFqVmRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void AdlerFqVmRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, AdlerFqVmRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool AdlerFqVmRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, AdlerFqVmRequest *out, const AdlerFqVmRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool AdlerFqVmRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const AdlerFqVmRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool AdlerFqVmRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, AdlerFqVmRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool AdlerFqVmRequestPlugin_deserialize_from_cdr_buffer( AdlerFqVmRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int AdlerFqVmRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind AdlerFqVmRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int AdlerFqVmRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int AdlerFqVmRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool AdlerFqVmRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, AdlerFqVmRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* AdlerFqVmRequestPlugin_new(void); NDDSUSERDllExport extern void AdlerFqVmRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EquipmentBase * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EquipmentBase) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EquipmentBase must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EquipmentBase. */ typedef struct EquipmentBase EquipmentBaseKeyHolder; #define EquipmentBasePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EquipmentBasePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EquipmentBasePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EquipmentBasePlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EquipmentBasePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EquipmentBasePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EquipmentBasePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EquipmentBase* EquipmentBasePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EquipmentBase* EquipmentBasePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentBase* EquipmentBasePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EquipmentBasePluginSupport_copy_data( EquipmentBase *out, const EquipmentBase *in); NDDSUSERDllExport extern void EquipmentBasePluginSupport_destroy_data_w_params( EquipmentBase *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EquipmentBasePluginSupport_destroy_data_ex( EquipmentBase *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentBasePluginSupport_destroy_data( EquipmentBase *sample); NDDSUSERDllExport extern void EquipmentBasePluginSupport_print_data( const EquipmentBase *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EquipmentBase* EquipmentBasePluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentBase* EquipmentBasePluginSupport_create_key(void); NDDSUSERDllExport extern void EquipmentBasePluginSupport_destroy_key_ex( EquipmentBaseKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentBasePluginSupport_destroy_key( EquipmentBaseKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EquipmentBasePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EquipmentBasePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EquipmentBasePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EquipmentBasePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EquipmentBasePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EquipmentBase *sample, void *handle); NDDSUSERDllExport extern RTIBool EquipmentBasePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EquipmentBase *out, const EquipmentBase *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EquipmentBasePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EquipmentBase *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EquipmentBasePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EquipmentBase **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentBasePlugin_deserialize_from_cdr_buffer( EquipmentBase *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EquipmentBasePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EquipmentBasePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EquipmentBasePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EquipmentBasePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EquipmentBasePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EquipmentBase ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentBasePlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EquipmentBaseKeyHolder *key, const EquipmentBase *instance); NDDSUSERDllExport extern RTIBool EquipmentBasePlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EquipmentBase *instance, const EquipmentBaseKeyHolder *key); NDDSUSERDllExport extern RTIBool EquipmentBasePlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EquipmentBasePlugin_new(void); NDDSUSERDllExport extern void EquipmentBasePlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct BatteryAlarm * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct BatteryAlarm) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * BatteryAlarm must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct BatteryAlarm. */ typedef struct BatteryAlarm BatteryAlarmKeyHolder; #define BatteryAlarmPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define BatteryAlarmPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define BatteryAlarmPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define BatteryAlarmPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define BatteryAlarmPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define BatteryAlarmPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define BatteryAlarmPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern BatteryAlarm* BatteryAlarmPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern BatteryAlarm* BatteryAlarmPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern BatteryAlarm* BatteryAlarmPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool BatteryAlarmPluginSupport_copy_data( BatteryAlarm *out, const BatteryAlarm *in); NDDSUSERDllExport extern void BatteryAlarmPluginSupport_destroy_data_w_params( BatteryAlarm *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void BatteryAlarmPluginSupport_destroy_data_ex( BatteryAlarm *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void BatteryAlarmPluginSupport_destroy_data( BatteryAlarm *sample); NDDSUSERDllExport extern void BatteryAlarmPluginSupport_print_data( const BatteryAlarm *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern BatteryAlarm* BatteryAlarmPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern BatteryAlarm* BatteryAlarmPluginSupport_create_key(void); NDDSUSERDllExport extern void BatteryAlarmPluginSupport_destroy_key_ex( BatteryAlarmKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void BatteryAlarmPluginSupport_destroy_key( BatteryAlarmKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData BatteryAlarmPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void BatteryAlarmPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData BatteryAlarmPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void BatteryAlarmPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void BatteryAlarmPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, BatteryAlarm *sample, void *handle); NDDSUSERDllExport extern RTIBool BatteryAlarmPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, BatteryAlarm *out, const BatteryAlarm *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool BatteryAlarmPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const BatteryAlarm *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool BatteryAlarmPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, BatteryAlarm **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool BatteryAlarmPlugin_deserialize_from_cdr_buffer( BatteryAlarm *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int BatteryAlarmPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind BatteryAlarmPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int BatteryAlarmPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int BatteryAlarmPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool BatteryAlarmPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, BatteryAlarm ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool BatteryAlarmPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, BatteryAlarmKeyHolder *key, const BatteryAlarm *instance); NDDSUSERDllExport extern RTIBool BatteryAlarmPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, BatteryAlarm *instance, const BatteryAlarmKeyHolder *key); NDDSUSERDllExport extern RTIBool BatteryAlarmPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* BatteryAlarmPlugin_new(void); NDDSUSERDllExport extern void BatteryAlarmPlugin_delete(struct PRESTypePlugin *); #define BatteryStatePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define BatteryStatePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define BatteryStatePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define BatteryStatePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define BatteryStatePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern BatteryState* BatteryStatePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern BatteryState* BatteryStatePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern BatteryState* BatteryStatePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool BatteryStatePluginSupport_copy_data( BatteryState *out, const BatteryState *in); NDDSUSERDllExport extern void BatteryStatePluginSupport_destroy_data_w_params( BatteryState *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void BatteryStatePluginSupport_destroy_data_ex( BatteryState *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void BatteryStatePluginSupport_destroy_data( BatteryState *sample); NDDSUSERDllExport extern void BatteryStatePluginSupport_print_data( const BatteryState *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData BatteryStatePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void BatteryStatePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData BatteryStatePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void BatteryStatePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void BatteryStatePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, BatteryState *sample, void *handle); NDDSUSERDllExport extern RTIBool BatteryStatePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, BatteryState *out, const BatteryState *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool BatteryStatePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const BatteryState *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool BatteryStatePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, BatteryState **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool BatteryStatePlugin_deserialize_from_cdr_buffer( BatteryState *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int BatteryStatePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind BatteryStatePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int BatteryStatePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int BatteryStatePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool BatteryStatePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, BatteryState ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* BatteryStatePlugin_new(void); NDDSUSERDllExport extern void BatteryStatePlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct BatteryInfo * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct BatteryInfo) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * BatteryInfo must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct BatteryInfo. */ typedef struct BatteryInfo BatteryInfoKeyHolder; #define BatteryInfoPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define BatteryInfoPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define BatteryInfoPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define BatteryInfoPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define BatteryInfoPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define BatteryInfoPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define BatteryInfoPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern BatteryInfo* BatteryInfoPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern BatteryInfo* BatteryInfoPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern BatteryInfo* BatteryInfoPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool BatteryInfoPluginSupport_copy_data( BatteryInfo *out, const BatteryInfo *in); NDDSUSERDllExport extern void BatteryInfoPluginSupport_destroy_data_w_params( BatteryInfo *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void BatteryInfoPluginSupport_destroy_data_ex( BatteryInfo *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void BatteryInfoPluginSupport_destroy_data( BatteryInfo *sample); NDDSUSERDllExport extern void BatteryInfoPluginSupport_print_data( const BatteryInfo *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern BatteryInfo* BatteryInfoPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern BatteryInfo* BatteryInfoPluginSupport_create_key(void); NDDSUSERDllExport extern void BatteryInfoPluginSupport_destroy_key_ex( BatteryInfoKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void BatteryInfoPluginSupport_destroy_key( BatteryInfoKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData BatteryInfoPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void BatteryInfoPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData BatteryInfoPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void BatteryInfoPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void BatteryInfoPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, BatteryInfo *sample, void *handle); NDDSUSERDllExport extern RTIBool BatteryInfoPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, BatteryInfo *out, const BatteryInfo *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool BatteryInfoPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const BatteryInfo *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool BatteryInfoPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, BatteryInfo **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool BatteryInfoPlugin_deserialize_from_cdr_buffer( BatteryInfo *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int BatteryInfoPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind BatteryInfoPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int BatteryInfoPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int BatteryInfoPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool BatteryInfoPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, BatteryInfo ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool BatteryInfoPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, BatteryInfoKeyHolder *key, const BatteryInfo *instance); NDDSUSERDllExport extern RTIBool BatteryInfoPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, BatteryInfo *instance, const BatteryInfoKeyHolder *key); NDDSUSERDllExport extern RTIBool BatteryInfoPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* BatteryInfoPlugin_new(void); NDDSUSERDllExport extern void BatteryInfoPlugin_delete(struct PRESTypePlugin *); #define ConnectionStatePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define ConnectionStatePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define ConnectionStatePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define ConnectionStatePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define ConnectionStatePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern ConnectionState* ConnectionStatePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern ConnectionState* ConnectionStatePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ConnectionState* ConnectionStatePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool ConnectionStatePluginSupport_copy_data( ConnectionState *out, const ConnectionState *in); NDDSUSERDllExport extern void ConnectionStatePluginSupport_destroy_data_w_params( ConnectionState *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void ConnectionStatePluginSupport_destroy_data_ex( ConnectionState *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ConnectionStatePluginSupport_destroy_data( ConnectionState *sample); NDDSUSERDllExport extern void ConnectionStatePluginSupport_print_data( const ConnectionState *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData ConnectionStatePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void ConnectionStatePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData ConnectionStatePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void ConnectionStatePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void ConnectionStatePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, ConnectionState *sample, void *handle); NDDSUSERDllExport extern RTIBool ConnectionStatePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, ConnectionState *out, const ConnectionState *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool ConnectionStatePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const ConnectionState *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool ConnectionStatePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, ConnectionState **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ConnectionStatePlugin_deserialize_from_cdr_buffer( ConnectionState *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int ConnectionStatePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind ConnectionStatePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int ConnectionStatePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int ConnectionStatePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool ConnectionStatePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, ConnectionState ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* ConnectionStatePlugin_new(void); NDDSUSERDllExport extern void ConnectionStatePlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct Connections * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct Connections) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * Connections must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct Connections. */ typedef struct Connections ConnectionsKeyHolder; #define ConnectionsPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define ConnectionsPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define ConnectionsPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define ConnectionsPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define ConnectionsPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define ConnectionsPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define ConnectionsPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern Connections* ConnectionsPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern Connections* ConnectionsPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern Connections* ConnectionsPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool ConnectionsPluginSupport_copy_data( Connections *out, const Connections *in); NDDSUSERDllExport extern void ConnectionsPluginSupport_destroy_data_w_params( Connections *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void ConnectionsPluginSupport_destroy_data_ex( Connections *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ConnectionsPluginSupport_destroy_data( Connections *sample); NDDSUSERDllExport extern void ConnectionsPluginSupport_print_data( const Connections *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern Connections* ConnectionsPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern Connections* ConnectionsPluginSupport_create_key(void); NDDSUSERDllExport extern void ConnectionsPluginSupport_destroy_key_ex( ConnectionsKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ConnectionsPluginSupport_destroy_key( ConnectionsKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData ConnectionsPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void ConnectionsPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData ConnectionsPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void ConnectionsPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void ConnectionsPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, Connections *sample, void *handle); NDDSUSERDllExport extern RTIBool ConnectionsPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, Connections *out, const Connections *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool ConnectionsPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const Connections *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool ConnectionsPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, Connections **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ConnectionsPlugin_deserialize_from_cdr_buffer( Connections *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int ConnectionsPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind ConnectionsPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int ConnectionsPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int ConnectionsPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool ConnectionsPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, Connections ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ConnectionsPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, ConnectionsKeyHolder *key, const Connections *instance); NDDSUSERDllExport extern RTIBool ConnectionsPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, Connections *instance, const ConnectionsKeyHolder *key); NDDSUSERDllExport extern RTIBool ConnectionsPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* ConnectionsPlugin_new(void); NDDSUSERDllExport extern void ConnectionsPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct CtaDataError * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct CtaDataError) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * CtaDataError must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct CtaDataError. */ typedef struct CtaDataError CtaDataErrorKeyHolder; #define CtaDataErrorPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define CtaDataErrorPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define CtaDataErrorPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define CtaDataErrorPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define CtaDataErrorPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define CtaDataErrorPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define CtaDataErrorPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern CtaDataError* CtaDataErrorPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern CtaDataError* CtaDataErrorPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern CtaDataError* CtaDataErrorPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool CtaDataErrorPluginSupport_copy_data( CtaDataError *out, const CtaDataError *in); NDDSUSERDllExport extern void CtaDataErrorPluginSupport_destroy_data_w_params( CtaDataError *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void CtaDataErrorPluginSupport_destroy_data_ex( CtaDataError *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void CtaDataErrorPluginSupport_destroy_data( CtaDataError *sample); NDDSUSERDllExport extern void CtaDataErrorPluginSupport_print_data( const CtaDataError *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern CtaDataError* CtaDataErrorPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern CtaDataError* CtaDataErrorPluginSupport_create_key(void); NDDSUSERDllExport extern void CtaDataErrorPluginSupport_destroy_key_ex( CtaDataErrorKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void CtaDataErrorPluginSupport_destroy_key( CtaDataErrorKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData CtaDataErrorPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void CtaDataErrorPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData CtaDataErrorPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void CtaDataErrorPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void CtaDataErrorPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, CtaDataError *sample, void *handle); NDDSUSERDllExport extern RTIBool CtaDataErrorPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, CtaDataError *out, const CtaDataError *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool CtaDataErrorPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const CtaDataError *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool CtaDataErrorPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, CtaDataError **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool CtaDataErrorPlugin_deserialize_from_cdr_buffer( CtaDataError *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int CtaDataErrorPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind CtaDataErrorPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int CtaDataErrorPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int CtaDataErrorPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool CtaDataErrorPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, CtaDataError ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool CtaDataErrorPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, CtaDataErrorKeyHolder *key, const CtaDataError *instance); NDDSUSERDllExport extern RTIBool CtaDataErrorPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, CtaDataError *instance, const CtaDataErrorKeyHolder *key); NDDSUSERDllExport extern RTIBool CtaDataErrorPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* CtaDataErrorPlugin_new(void); NDDSUSERDllExport extern void CtaDataErrorPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct IedBaseData * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct IedBaseData) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * IedBaseData must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct IedBaseData. */ typedef struct IedBaseData IedBaseDataKeyHolder; #define IedBaseDataPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define IedBaseDataPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define IedBaseDataPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define IedBaseDataPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define IedBaseDataPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define IedBaseDataPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define IedBaseDataPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern IedBaseData* IedBaseDataPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern IedBaseData* IedBaseDataPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern IedBaseData* IedBaseDataPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool IedBaseDataPluginSupport_copy_data( IedBaseData *out, const IedBaseData *in); NDDSUSERDllExport extern void IedBaseDataPluginSupport_destroy_data_w_params( IedBaseData *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void IedBaseDataPluginSupport_destroy_data_ex( IedBaseData *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void IedBaseDataPluginSupport_destroy_data( IedBaseData *sample); NDDSUSERDllExport extern void IedBaseDataPluginSupport_print_data( const IedBaseData *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern IedBaseData* IedBaseDataPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern IedBaseData* IedBaseDataPluginSupport_create_key(void); NDDSUSERDllExport extern void IedBaseDataPluginSupport_destroy_key_ex( IedBaseDataKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void IedBaseDataPluginSupport_destroy_key( IedBaseDataKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData IedBaseDataPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void IedBaseDataPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData IedBaseDataPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void IedBaseDataPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void IedBaseDataPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, IedBaseData *sample, void *handle); NDDSUSERDllExport extern RTIBool IedBaseDataPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, IedBaseData *out, const IedBaseData *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool IedBaseDataPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const IedBaseData *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool IedBaseDataPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, IedBaseData **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool IedBaseDataPlugin_deserialize_from_cdr_buffer( IedBaseData *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int IedBaseDataPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind IedBaseDataPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int IedBaseDataPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int IedBaseDataPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool IedBaseDataPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, IedBaseData ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool IedBaseDataPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, IedBaseDataKeyHolder *key, const IedBaseData *instance); NDDSUSERDllExport extern RTIBool IedBaseDataPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, IedBaseData *instance, const IedBaseDataKeyHolder *key); NDDSUSERDllExport extern RTIBool IedBaseDataPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* IedBaseDataPlugin_new(void); NDDSUSERDllExport extern void IedBaseDataPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct DefinitionIed * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct DefinitionIed) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * DefinitionIed must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct DefinitionIed. */ typedef struct DefinitionIed DefinitionIedKeyHolder; #define DefinitionIedPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define DefinitionIedPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define DefinitionIedPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define DefinitionIedPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define DefinitionIedPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define DefinitionIedPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define DefinitionIedPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern DefinitionIed* DefinitionIedPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern DefinitionIed* DefinitionIedPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern DefinitionIed* DefinitionIedPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool DefinitionIedPluginSupport_copy_data( DefinitionIed *out, const DefinitionIed *in); NDDSUSERDllExport extern void DefinitionIedPluginSupport_destroy_data_w_params( DefinitionIed *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void DefinitionIedPluginSupport_destroy_data_ex( DefinitionIed *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void DefinitionIedPluginSupport_destroy_data( DefinitionIed *sample); NDDSUSERDllExport extern void DefinitionIedPluginSupport_print_data( const DefinitionIed *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern DefinitionIed* DefinitionIedPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern DefinitionIed* DefinitionIedPluginSupport_create_key(void); NDDSUSERDllExport extern void DefinitionIedPluginSupport_destroy_key_ex( DefinitionIedKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void DefinitionIedPluginSupport_destroy_key( DefinitionIedKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData DefinitionIedPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void DefinitionIedPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData DefinitionIedPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void DefinitionIedPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void DefinitionIedPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, DefinitionIed *sample, void *handle); NDDSUSERDllExport extern RTIBool DefinitionIedPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, DefinitionIed *out, const DefinitionIed *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool DefinitionIedPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const DefinitionIed *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool DefinitionIedPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, DefinitionIed **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool DefinitionIedPlugin_deserialize_from_cdr_buffer( DefinitionIed *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int DefinitionIedPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind DefinitionIedPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int DefinitionIedPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int DefinitionIedPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool DefinitionIedPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, DefinitionIed ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool DefinitionIedPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, DefinitionIedKeyHolder *key, const DefinitionIed *instance); NDDSUSERDllExport extern RTIBool DefinitionIedPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, DefinitionIed *instance, const DefinitionIedKeyHolder *key); NDDSUSERDllExport extern RTIBool DefinitionIedPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* DefinitionIedPlugin_new(void); NDDSUSERDllExport extern void DefinitionIedPlugin_delete(struct PRESTypePlugin *); #define DemandBiteRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define DemandBiteRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define DemandBiteRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define DemandBiteRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define DemandBiteRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern DemandBiteRequest* DemandBiteRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern DemandBiteRequest* DemandBiteRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern DemandBiteRequest* DemandBiteRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool DemandBiteRequestPluginSupport_copy_data( DemandBiteRequest *out, const DemandBiteRequest *in); NDDSUSERDllExport extern void DemandBiteRequestPluginSupport_destroy_data_w_params( DemandBiteRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void DemandBiteRequestPluginSupport_destroy_data_ex( DemandBiteRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void DemandBiteRequestPluginSupport_destroy_data( DemandBiteRequest *sample); NDDSUSERDllExport extern void DemandBiteRequestPluginSupport_print_data( const DemandBiteRequest *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData DemandBiteRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void DemandBiteRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData DemandBiteRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void DemandBiteRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void DemandBiteRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, DemandBiteRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool DemandBiteRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, DemandBiteRequest *out, const DemandBiteRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool DemandBiteRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const DemandBiteRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool DemandBiteRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, DemandBiteRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool DemandBiteRequestPlugin_deserialize_from_cdr_buffer( DemandBiteRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int DemandBiteRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind DemandBiteRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int DemandBiteRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int DemandBiteRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool DemandBiteRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, DemandBiteRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* DemandBiteRequestPlugin_new(void); NDDSUSERDllExport extern void DemandBiteRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct FtEquipmentBase * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct FtEquipmentBase) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * FtEquipmentBase must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct FtEquipmentBase. */ typedef struct FtEquipmentBase FtEquipmentBaseKeyHolder; #define FtEquipmentBasePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define FtEquipmentBasePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define FtEquipmentBasePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define FtEquipmentBasePlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define FtEquipmentBasePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define FtEquipmentBasePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define FtEquipmentBasePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern FtEquipmentBase* FtEquipmentBasePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern FtEquipmentBase* FtEquipmentBasePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern FtEquipmentBase* FtEquipmentBasePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool FtEquipmentBasePluginSupport_copy_data( FtEquipmentBase *out, const FtEquipmentBase *in); NDDSUSERDllExport extern void FtEquipmentBasePluginSupport_destroy_data_w_params( FtEquipmentBase *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void FtEquipmentBasePluginSupport_destroy_data_ex( FtEquipmentBase *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void FtEquipmentBasePluginSupport_destroy_data( FtEquipmentBase *sample); NDDSUSERDllExport extern void FtEquipmentBasePluginSupport_print_data( const FtEquipmentBase *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern FtEquipmentBase* FtEquipmentBasePluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern FtEquipmentBase* FtEquipmentBasePluginSupport_create_key(void); NDDSUSERDllExport extern void FtEquipmentBasePluginSupport_destroy_key_ex( FtEquipmentBaseKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void FtEquipmentBasePluginSupport_destroy_key( FtEquipmentBaseKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData FtEquipmentBasePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void FtEquipmentBasePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData FtEquipmentBasePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void FtEquipmentBasePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void FtEquipmentBasePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, FtEquipmentBase *sample, void *handle); NDDSUSERDllExport extern RTIBool FtEquipmentBasePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, FtEquipmentBase *out, const FtEquipmentBase *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool FtEquipmentBasePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const FtEquipmentBase *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool FtEquipmentBasePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, FtEquipmentBase **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool FtEquipmentBasePlugin_deserialize_from_cdr_buffer( FtEquipmentBase *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int FtEquipmentBasePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind FtEquipmentBasePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int FtEquipmentBasePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int FtEquipmentBasePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool FtEquipmentBasePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, FtEquipmentBase ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool FtEquipmentBasePlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, FtEquipmentBaseKeyHolder *key, const FtEquipmentBase *instance); NDDSUSERDllExport extern RTIBool FtEquipmentBasePlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, FtEquipmentBase *instance, const FtEquipmentBaseKeyHolder *key); NDDSUSERDllExport extern RTIBool FtEquipmentBasePlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* FtEquipmentBasePlugin_new(void); NDDSUSERDllExport extern void FtEquipmentBasePlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct DemandConfigurationReportRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct DemandConfigurationReportRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * DemandConfigurationReportRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct DemandConfigurationReportRequest. */ typedef struct DemandConfigurationReportRequest DemandConfigurationReportRequestKeyHolder; #define DemandConfigurationReportRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define DemandConfigurationReportRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define DemandConfigurationReportRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define DemandConfigurationReportRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define DemandConfigurationReportRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define DemandConfigurationReportRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define DemandConfigurationReportRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern DemandConfigurationReportRequest* DemandConfigurationReportRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern DemandConfigurationReportRequest* DemandConfigurationReportRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern DemandConfigurationReportRequest* DemandConfigurationReportRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool DemandConfigurationReportRequestPluginSupport_copy_data( DemandConfigurationReportRequest *out, const DemandConfigurationReportRequest *in); NDDSUSERDllExport extern void DemandConfigurationReportRequestPluginSupport_destroy_data_w_params( DemandConfigurationReportRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void DemandConfigurationReportRequestPluginSupport_destroy_data_ex( DemandConfigurationReportRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void DemandConfigurationReportRequestPluginSupport_destroy_data( DemandConfigurationReportRequest *sample); NDDSUSERDllExport extern void DemandConfigurationReportRequestPluginSupport_print_data( const DemandConfigurationReportRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern DemandConfigurationReportRequest* DemandConfigurationReportRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern DemandConfigurationReportRequest* DemandConfigurationReportRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void DemandConfigurationReportRequestPluginSupport_destroy_key_ex( DemandConfigurationReportRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void DemandConfigurationReportRequestPluginSupport_destroy_key( DemandConfigurationReportRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData DemandConfigurationReportRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void DemandConfigurationReportRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData DemandConfigurationReportRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void DemandConfigurationReportRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void DemandConfigurationReportRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, DemandConfigurationReportRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool DemandConfigurationReportRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, DemandConfigurationReportRequest *out, const DemandConfigurationReportRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool DemandConfigurationReportRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const DemandConfigurationReportRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool DemandConfigurationReportRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, DemandConfigurationReportRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool DemandConfigurationReportRequestPlugin_deserialize_from_cdr_buffer( DemandConfigurationReportRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int DemandConfigurationReportRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind DemandConfigurationReportRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int DemandConfigurationReportRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int DemandConfigurationReportRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool DemandConfigurationReportRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, DemandConfigurationReportRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool DemandConfigurationReportRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, DemandConfigurationReportRequestKeyHolder *key, const DemandConfigurationReportRequest *instance); NDDSUSERDllExport extern RTIBool DemandConfigurationReportRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, DemandConfigurationReportRequest *instance, const DemandConfigurationReportRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool DemandConfigurationReportRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* DemandConfigurationReportRequestPlugin_new(void); NDDSUSERDllExport extern void DemandConfigurationReportRequestPlugin_delete(struct PRESTypePlugin *); #define DemandInitRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define DemandInitRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define DemandInitRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define DemandInitRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define DemandInitRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern DemandInitRequest* DemandInitRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern DemandInitRequest* DemandInitRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern DemandInitRequest* DemandInitRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool DemandInitRequestPluginSupport_copy_data( DemandInitRequest *out, const DemandInitRequest *in); NDDSUSERDllExport extern void DemandInitRequestPluginSupport_destroy_data_w_params( DemandInitRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void DemandInitRequestPluginSupport_destroy_data_ex( DemandInitRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void DemandInitRequestPluginSupport_destroy_data( DemandInitRequest *sample); NDDSUSERDllExport extern void DemandInitRequestPluginSupport_print_data( const DemandInitRequest *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData DemandInitRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void DemandInitRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData DemandInitRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void DemandInitRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void DemandInitRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, DemandInitRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool DemandInitRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, DemandInitRequest *out, const DemandInitRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool DemandInitRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const DemandInitRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool DemandInitRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, DemandInitRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool DemandInitRequestPlugin_deserialize_from_cdr_buffer( DemandInitRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int DemandInitRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind DemandInitRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int DemandInitRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int DemandInitRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool DemandInitRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, DemandInitRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* DemandInitRequestPlugin_new(void); NDDSUSERDllExport extern void DemandInitRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct DemandParticipantConfigurationRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct DemandParticipantConfigurationRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * DemandParticipantConfigurationRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct DemandParticipantConfigurationRequest. */ typedef struct DemandParticipantConfigurationRequest DemandParticipantConfigurationRequestKeyHolder; #define DemandParticipantConfigurationRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define DemandParticipantConfigurationRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define DemandParticipantConfigurationRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define DemandParticipantConfigurationRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define DemandParticipantConfigurationRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define DemandParticipantConfigurationRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define DemandParticipantConfigurationRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern DemandParticipantConfigurationRequest* DemandParticipantConfigurationRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern DemandParticipantConfigurationRequest* DemandParticipantConfigurationRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern DemandParticipantConfigurationRequest* DemandParticipantConfigurationRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool DemandParticipantConfigurationRequestPluginSupport_copy_data( DemandParticipantConfigurationRequest *out, const DemandParticipantConfigurationRequest *in); NDDSUSERDllExport extern void DemandParticipantConfigurationRequestPluginSupport_destroy_data_w_params( DemandParticipantConfigurationRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void DemandParticipantConfigurationRequestPluginSupport_destroy_data_ex( DemandParticipantConfigurationRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void DemandParticipantConfigurationRequestPluginSupport_destroy_data( DemandParticipantConfigurationRequest *sample); NDDSUSERDllExport extern void DemandParticipantConfigurationRequestPluginSupport_print_data( const DemandParticipantConfigurationRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern DemandParticipantConfigurationRequest* DemandParticipantConfigurationRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern DemandParticipantConfigurationRequest* DemandParticipantConfigurationRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void DemandParticipantConfigurationRequestPluginSupport_destroy_key_ex( DemandParticipantConfigurationRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void DemandParticipantConfigurationRequestPluginSupport_destroy_key( DemandParticipantConfigurationRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData DemandParticipantConfigurationRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void DemandParticipantConfigurationRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData DemandParticipantConfigurationRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void DemandParticipantConfigurationRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void DemandParticipantConfigurationRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, DemandParticipantConfigurationRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool DemandParticipantConfigurationRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, DemandParticipantConfigurationRequest *out, const DemandParticipantConfigurationRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool DemandParticipantConfigurationRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const DemandParticipantConfigurationRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool DemandParticipantConfigurationRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, DemandParticipantConfigurationRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool DemandParticipantConfigurationRequestPlugin_deserialize_from_cdr_buffer( DemandParticipantConfigurationRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int DemandParticipantConfigurationRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind DemandParticipantConfigurationRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int DemandParticipantConfigurationRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int DemandParticipantConfigurationRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool DemandParticipantConfigurationRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, DemandParticipantConfigurationRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool DemandParticipantConfigurationRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, DemandParticipantConfigurationRequestKeyHolder *key, const DemandParticipantConfigurationRequest *instance); NDDSUSERDllExport extern RTIBool DemandParticipantConfigurationRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, DemandParticipantConfigurationRequest *instance, const DemandParticipantConfigurationRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool DemandParticipantConfigurationRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* DemandParticipantConfigurationRequestPlugin_new(void); NDDSUSERDllExport extern void DemandParticipantConfigurationRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct DemandParticipantModeRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct DemandParticipantModeRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * DemandParticipantModeRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct DemandParticipantModeRequest. */ typedef struct DemandParticipantModeRequest DemandParticipantModeRequestKeyHolder; #define DemandParticipantModeRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define DemandParticipantModeRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define DemandParticipantModeRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define DemandParticipantModeRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define DemandParticipantModeRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define DemandParticipantModeRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define DemandParticipantModeRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern DemandParticipantModeRequest* DemandParticipantModeRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern DemandParticipantModeRequest* DemandParticipantModeRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern DemandParticipantModeRequest* DemandParticipantModeRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool DemandParticipantModeRequestPluginSupport_copy_data( DemandParticipantModeRequest *out, const DemandParticipantModeRequest *in); NDDSUSERDllExport extern void DemandParticipantModeRequestPluginSupport_destroy_data_w_params( DemandParticipantModeRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void DemandParticipantModeRequestPluginSupport_destroy_data_ex( DemandParticipantModeRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void DemandParticipantModeRequestPluginSupport_destroy_data( DemandParticipantModeRequest *sample); NDDSUSERDllExport extern void DemandParticipantModeRequestPluginSupport_print_data( const DemandParticipantModeRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern DemandParticipantModeRequest* DemandParticipantModeRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern DemandParticipantModeRequest* DemandParticipantModeRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void DemandParticipantModeRequestPluginSupport_destroy_key_ex( DemandParticipantModeRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void DemandParticipantModeRequestPluginSupport_destroy_key( DemandParticipantModeRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData DemandParticipantModeRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void DemandParticipantModeRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData DemandParticipantModeRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void DemandParticipantModeRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void DemandParticipantModeRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, DemandParticipantModeRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool DemandParticipantModeRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, DemandParticipantModeRequest *out, const DemandParticipantModeRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool DemandParticipantModeRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const DemandParticipantModeRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool DemandParticipantModeRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, DemandParticipantModeRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool DemandParticipantModeRequestPlugin_deserialize_from_cdr_buffer( DemandParticipantModeRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int DemandParticipantModeRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind DemandParticipantModeRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int DemandParticipantModeRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int DemandParticipantModeRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool DemandParticipantModeRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, DemandParticipantModeRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool DemandParticipantModeRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, DemandParticipantModeRequestKeyHolder *key, const DemandParticipantModeRequest *instance); NDDSUSERDllExport extern RTIBool DemandParticipantModeRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, DemandParticipantModeRequest *instance, const DemandParticipantModeRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool DemandParticipantModeRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* DemandParticipantModeRequestPlugin_new(void); NDDSUSERDllExport extern void DemandParticipantModeRequestPlugin_delete(struct PRESTypePlugin *); #define DemandVulnerabilityStateChangeRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define DemandVulnerabilityStateChangeRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define DemandVulnerabilityStateChangeRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define DemandVulnerabilityStateChangeRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define DemandVulnerabilityStateChangeRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern DemandVulnerabilityStateChangeRequest* DemandVulnerabilityStateChangeRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern DemandVulnerabilityStateChangeRequest* DemandVulnerabilityStateChangeRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern DemandVulnerabilityStateChangeRequest* DemandVulnerabilityStateChangeRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool DemandVulnerabilityStateChangeRequestPluginSupport_copy_data( DemandVulnerabilityStateChangeRequest *out, const DemandVulnerabilityStateChangeRequest *in); NDDSUSERDllExport extern void DemandVulnerabilityStateChangeRequestPluginSupport_destroy_data_w_params( DemandVulnerabilityStateChangeRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void DemandVulnerabilityStateChangeRequestPluginSupport_destroy_data_ex( DemandVulnerabilityStateChangeRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void DemandVulnerabilityStateChangeRequestPluginSupport_destroy_data( DemandVulnerabilityStateChangeRequest *sample); NDDSUSERDllExport extern void DemandVulnerabilityStateChangeRequestPluginSupport_print_data( const DemandVulnerabilityStateChangeRequest *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData DemandVulnerabilityStateChangeRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void DemandVulnerabilityStateChangeRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData DemandVulnerabilityStateChangeRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void DemandVulnerabilityStateChangeRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void DemandVulnerabilityStateChangeRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, DemandVulnerabilityStateChangeRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool DemandVulnerabilityStateChangeRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, DemandVulnerabilityStateChangeRequest *out, const DemandVulnerabilityStateChangeRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool DemandVulnerabilityStateChangeRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const DemandVulnerabilityStateChangeRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool DemandVulnerabilityStateChangeRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, DemandVulnerabilityStateChangeRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool DemandVulnerabilityStateChangeRequestPlugin_deserialize_from_cdr_buffer( DemandVulnerabilityStateChangeRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int DemandVulnerabilityStateChangeRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind DemandVulnerabilityStateChangeRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int DemandVulnerabilityStateChangeRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int DemandVulnerabilityStateChangeRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool DemandVulnerabilityStateChangeRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, DemandVulnerabilityStateChangeRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* DemandVulnerabilityStateChangeRequestPlugin_new(void); NDDSUSERDllExport extern void DemandVulnerabilityStateChangeRequestPlugin_delete(struct PRESTypePlugin *); #define DispersionPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define DispersionPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define DispersionPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define DispersionPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define DispersionPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern Dispersion* DispersionPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern Dispersion* DispersionPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern Dispersion* DispersionPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool DispersionPluginSupport_copy_data( Dispersion *out, const Dispersion *in); NDDSUSERDllExport extern void DispersionPluginSupport_destroy_data_w_params( Dispersion *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void DispersionPluginSupport_destroy_data_ex( Dispersion *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void DispersionPluginSupport_destroy_data( Dispersion *sample); NDDSUSERDllExport extern void DispersionPluginSupport_print_data( const Dispersion *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData DispersionPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void DispersionPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData DispersionPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void DispersionPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void DispersionPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, Dispersion *sample, void *handle); NDDSUSERDllExport extern RTIBool DispersionPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, Dispersion *out, const Dispersion *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool DispersionPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const Dispersion *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool DispersionPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, Dispersion **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool DispersionPlugin_deserialize_from_cdr_buffer( Dispersion *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int DispersionPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind DispersionPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int DispersionPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int DispersionPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool DispersionPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, Dispersion ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* DispersionPlugin_new(void); NDDSUSERDllExport extern void DispersionPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct DusSingleMineState * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct DusSingleMineState) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * DusSingleMineState must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct DusSingleMineState. */ typedef struct DusSingleMineState DusSingleMineStateKeyHolder; #define DusSingleMineStatePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define DusSingleMineStatePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define DusSingleMineStatePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define DusSingleMineStatePlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define DusSingleMineStatePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define DusSingleMineStatePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define DusSingleMineStatePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern DusSingleMineState* DusSingleMineStatePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern DusSingleMineState* DusSingleMineStatePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern DusSingleMineState* DusSingleMineStatePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool DusSingleMineStatePluginSupport_copy_data( DusSingleMineState *out, const DusSingleMineState *in); NDDSUSERDllExport extern void DusSingleMineStatePluginSupport_destroy_data_w_params( DusSingleMineState *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void DusSingleMineStatePluginSupport_destroy_data_ex( DusSingleMineState *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void DusSingleMineStatePluginSupport_destroy_data( DusSingleMineState *sample); NDDSUSERDllExport extern void DusSingleMineStatePluginSupport_print_data( const DusSingleMineState *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern DusSingleMineState* DusSingleMineStatePluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern DusSingleMineState* DusSingleMineStatePluginSupport_create_key(void); NDDSUSERDllExport extern void DusSingleMineStatePluginSupport_destroy_key_ex( DusSingleMineStateKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void DusSingleMineStatePluginSupport_destroy_key( DusSingleMineStateKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData DusSingleMineStatePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void DusSingleMineStatePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData DusSingleMineStatePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void DusSingleMineStatePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void DusSingleMineStatePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, DusSingleMineState *sample, void *handle); NDDSUSERDllExport extern RTIBool DusSingleMineStatePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, DusSingleMineState *out, const DusSingleMineState *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool DusSingleMineStatePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const DusSingleMineState *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool DusSingleMineStatePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, DusSingleMineState **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool DusSingleMineStatePlugin_deserialize_from_cdr_buffer( DusSingleMineState *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int DusSingleMineStatePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind DusSingleMineStatePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int DusSingleMineStatePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int DusSingleMineStatePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool DusSingleMineStatePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, DusSingleMineState ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool DusSingleMineStatePlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, DusSingleMineStateKeyHolder *key, const DusSingleMineState *instance); NDDSUSERDllExport extern RTIBool DusSingleMineStatePlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, DusSingleMineState *instance, const DusSingleMineStateKeyHolder *key); NDDSUSERDllExport extern RTIBool DusSingleMineStatePlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* DusSingleMineStatePlugin_new(void); NDDSUSERDllExport extern void DusSingleMineStatePlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EX_CeaseFiring * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EX_CeaseFiring) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EX_CeaseFiring must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EX_CeaseFiring. */ typedef struct EX_CeaseFiring EX_CeaseFiringKeyHolder; #define EX_CeaseFiringPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EX_CeaseFiringPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EX_CeaseFiringPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EX_CeaseFiringPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EX_CeaseFiringPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EX_CeaseFiringPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EX_CeaseFiringPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EX_CeaseFiring* EX_CeaseFiringPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EX_CeaseFiring* EX_CeaseFiringPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_CeaseFiring* EX_CeaseFiringPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EX_CeaseFiringPluginSupport_copy_data( EX_CeaseFiring *out, const EX_CeaseFiring *in); NDDSUSERDllExport extern void EX_CeaseFiringPluginSupport_destroy_data_w_params( EX_CeaseFiring *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EX_CeaseFiringPluginSupport_destroy_data_ex( EX_CeaseFiring *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_CeaseFiringPluginSupport_destroy_data( EX_CeaseFiring *sample); NDDSUSERDllExport extern void EX_CeaseFiringPluginSupport_print_data( const EX_CeaseFiring *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EX_CeaseFiring* EX_CeaseFiringPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_CeaseFiring* EX_CeaseFiringPluginSupport_create_key(void); NDDSUSERDllExport extern void EX_CeaseFiringPluginSupport_destroy_key_ex( EX_CeaseFiringKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_CeaseFiringPluginSupport_destroy_key( EX_CeaseFiringKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EX_CeaseFiringPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EX_CeaseFiringPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EX_CeaseFiringPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EX_CeaseFiringPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EX_CeaseFiringPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EX_CeaseFiring *sample, void *handle); NDDSUSERDllExport extern RTIBool EX_CeaseFiringPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EX_CeaseFiring *out, const EX_CeaseFiring *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EX_CeaseFiringPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EX_CeaseFiring *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EX_CeaseFiringPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EX_CeaseFiring **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_CeaseFiringPlugin_deserialize_from_cdr_buffer( EX_CeaseFiring *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EX_CeaseFiringPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EX_CeaseFiringPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EX_CeaseFiringPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EX_CeaseFiringPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EX_CeaseFiringPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EX_CeaseFiring ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_CeaseFiringPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EX_CeaseFiringKeyHolder *key, const EX_CeaseFiring *instance); NDDSUSERDllExport extern RTIBool EX_CeaseFiringPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EX_CeaseFiring *instance, const EX_CeaseFiringKeyHolder *key); NDDSUSERDllExport extern RTIBool EX_CeaseFiringPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EX_CeaseFiringPlugin_new(void); NDDSUSERDllExport extern void EX_CeaseFiringPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EX_DoNotFire * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EX_DoNotFire) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EX_DoNotFire must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EX_DoNotFire. */ typedef struct EX_DoNotFire EX_DoNotFireKeyHolder; #define EX_DoNotFirePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EX_DoNotFirePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EX_DoNotFirePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EX_DoNotFirePlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EX_DoNotFirePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EX_DoNotFirePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EX_DoNotFirePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EX_DoNotFire* EX_DoNotFirePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EX_DoNotFire* EX_DoNotFirePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_DoNotFire* EX_DoNotFirePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EX_DoNotFirePluginSupport_copy_data( EX_DoNotFire *out, const EX_DoNotFire *in); NDDSUSERDllExport extern void EX_DoNotFirePluginSupport_destroy_data_w_params( EX_DoNotFire *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EX_DoNotFirePluginSupport_destroy_data_ex( EX_DoNotFire *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_DoNotFirePluginSupport_destroy_data( EX_DoNotFire *sample); NDDSUSERDllExport extern void EX_DoNotFirePluginSupport_print_data( const EX_DoNotFire *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EX_DoNotFire* EX_DoNotFirePluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_DoNotFire* EX_DoNotFirePluginSupport_create_key(void); NDDSUSERDllExport extern void EX_DoNotFirePluginSupport_destroy_key_ex( EX_DoNotFireKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_DoNotFirePluginSupport_destroy_key( EX_DoNotFireKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EX_DoNotFirePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EX_DoNotFirePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EX_DoNotFirePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EX_DoNotFirePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EX_DoNotFirePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EX_DoNotFire *sample, void *handle); NDDSUSERDllExport extern RTIBool EX_DoNotFirePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EX_DoNotFire *out, const EX_DoNotFire *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EX_DoNotFirePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EX_DoNotFire *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EX_DoNotFirePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EX_DoNotFire **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_DoNotFirePlugin_deserialize_from_cdr_buffer( EX_DoNotFire *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EX_DoNotFirePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EX_DoNotFirePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EX_DoNotFirePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EX_DoNotFirePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EX_DoNotFirePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EX_DoNotFire ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_DoNotFirePlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EX_DoNotFireKeyHolder *key, const EX_DoNotFire *instance); NDDSUSERDllExport extern RTIBool EX_DoNotFirePlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EX_DoNotFire *instance, const EX_DoNotFireKeyHolder *key); NDDSUSERDllExport extern RTIBool EX_DoNotFirePlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EX_DoNotFirePlugin_new(void); NDDSUSERDllExport extern void EX_DoNotFirePlugin_delete(struct PRESTypePlugin *); #define L29_ReconnaissanceUnitPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define L29_ReconnaissanceUnitPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define L29_ReconnaissanceUnitPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define L29_ReconnaissanceUnitPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define L29_ReconnaissanceUnitPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern L29_ReconnaissanceUnit* L29_ReconnaissanceUnitPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern L29_ReconnaissanceUnit* L29_ReconnaissanceUnitPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern L29_ReconnaissanceUnit* L29_ReconnaissanceUnitPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool L29_ReconnaissanceUnitPluginSupport_copy_data( L29_ReconnaissanceUnit *out, const L29_ReconnaissanceUnit *in); NDDSUSERDllExport extern void L29_ReconnaissanceUnitPluginSupport_destroy_data_w_params( L29_ReconnaissanceUnit *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void L29_ReconnaissanceUnitPluginSupport_destroy_data_ex( L29_ReconnaissanceUnit *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void L29_ReconnaissanceUnitPluginSupport_destroy_data( L29_ReconnaissanceUnit *sample); NDDSUSERDllExport extern void L29_ReconnaissanceUnitPluginSupport_print_data( const L29_ReconnaissanceUnit *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData L29_ReconnaissanceUnitPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void L29_ReconnaissanceUnitPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData L29_ReconnaissanceUnitPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void L29_ReconnaissanceUnitPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void L29_ReconnaissanceUnitPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, L29_ReconnaissanceUnit *sample, void *handle); NDDSUSERDllExport extern RTIBool L29_ReconnaissanceUnitPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, L29_ReconnaissanceUnit *out, const L29_ReconnaissanceUnit *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool L29_ReconnaissanceUnitPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const L29_ReconnaissanceUnit *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool L29_ReconnaissanceUnitPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, L29_ReconnaissanceUnit **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool L29_ReconnaissanceUnitPlugin_deserialize_from_cdr_buffer( L29_ReconnaissanceUnit *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int L29_ReconnaissanceUnitPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind L29_ReconnaissanceUnitPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int L29_ReconnaissanceUnitPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int L29_ReconnaissanceUnitPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool L29_ReconnaissanceUnitPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, L29_ReconnaissanceUnit ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* L29_ReconnaissanceUnitPlugin_new(void); NDDSUSERDllExport extern void L29_ReconnaissanceUnitPlugin_delete(struct PRESTypePlugin *); #define L30_reconnaissancePositionAreaPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define L30_reconnaissancePositionAreaPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define L30_reconnaissancePositionAreaPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define L30_reconnaissancePositionAreaPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define L30_reconnaissancePositionAreaPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern L30_reconnaissancePositionArea* L30_reconnaissancePositionAreaPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern L30_reconnaissancePositionArea* L30_reconnaissancePositionAreaPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern L30_reconnaissancePositionArea* L30_reconnaissancePositionAreaPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool L30_reconnaissancePositionAreaPluginSupport_copy_data( L30_reconnaissancePositionArea *out, const L30_reconnaissancePositionArea *in); NDDSUSERDllExport extern void L30_reconnaissancePositionAreaPluginSupport_destroy_data_w_params( L30_reconnaissancePositionArea *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void L30_reconnaissancePositionAreaPluginSupport_destroy_data_ex( L30_reconnaissancePositionArea *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void L30_reconnaissancePositionAreaPluginSupport_destroy_data( L30_reconnaissancePositionArea *sample); NDDSUSERDllExport extern void L30_reconnaissancePositionAreaPluginSupport_print_data( const L30_reconnaissancePositionArea *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData L30_reconnaissancePositionAreaPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void L30_reconnaissancePositionAreaPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData L30_reconnaissancePositionAreaPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void L30_reconnaissancePositionAreaPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void L30_reconnaissancePositionAreaPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, L30_reconnaissancePositionArea *sample, void *handle); NDDSUSERDllExport extern RTIBool L30_reconnaissancePositionAreaPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, L30_reconnaissancePositionArea *out, const L30_reconnaissancePositionArea *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool L30_reconnaissancePositionAreaPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const L30_reconnaissancePositionArea *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool L30_reconnaissancePositionAreaPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, L30_reconnaissancePositionArea **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool L30_reconnaissancePositionAreaPlugin_deserialize_from_cdr_buffer( L30_reconnaissancePositionArea *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int L30_reconnaissancePositionAreaPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind L30_reconnaissancePositionAreaPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int L30_reconnaissancePositionAreaPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int L30_reconnaissancePositionAreaPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool L30_reconnaissancePositionAreaPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, L30_reconnaissancePositionArea ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* L30_reconnaissancePositionAreaPlugin_new(void); NDDSUSERDllExport extern void L30_reconnaissancePositionAreaPlugin_delete(struct PRESTypePlugin *); #define EX_ExplorationResultPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EX_ExplorationResultPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EX_ExplorationResultPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EX_ExplorationResultPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EX_ExplorationResultPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EX_ExplorationResult* EX_ExplorationResultPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EX_ExplorationResult* EX_ExplorationResultPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_ExplorationResult* EX_ExplorationResultPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EX_ExplorationResultPluginSupport_copy_data( EX_ExplorationResult *out, const EX_ExplorationResult *in); NDDSUSERDllExport extern void EX_ExplorationResultPluginSupport_destroy_data_w_params( EX_ExplorationResult *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EX_ExplorationResultPluginSupport_destroy_data_ex( EX_ExplorationResult *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_ExplorationResultPluginSupport_destroy_data( EX_ExplorationResult *sample); NDDSUSERDllExport extern void EX_ExplorationResultPluginSupport_print_data( const EX_ExplorationResult *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EX_ExplorationResultPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EX_ExplorationResultPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EX_ExplorationResultPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EX_ExplorationResultPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EX_ExplorationResultPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EX_ExplorationResult *sample, void *handle); NDDSUSERDllExport extern RTIBool EX_ExplorationResultPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EX_ExplorationResult *out, const EX_ExplorationResult *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EX_ExplorationResultPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EX_ExplorationResult *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EX_ExplorationResultPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EX_ExplorationResult **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_ExplorationResultPlugin_deserialize_from_cdr_buffer( EX_ExplorationResult *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EX_ExplorationResultPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EX_ExplorationResultPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EX_ExplorationResultPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EX_ExplorationResultPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EX_ExplorationResultPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EX_ExplorationResult ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EX_ExplorationResultPlugin_new(void); NDDSUSERDllExport extern void EX_ExplorationResultPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EX_Fire * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EX_Fire) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EX_Fire must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EX_Fire. */ typedef struct EX_Fire EX_FireKeyHolder; #define EX_FirePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EX_FirePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EX_FirePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EX_FirePlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EX_FirePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EX_FirePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EX_FirePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EX_Fire* EX_FirePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EX_Fire* EX_FirePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_Fire* EX_FirePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EX_FirePluginSupport_copy_data( EX_Fire *out, const EX_Fire *in); NDDSUSERDllExport extern void EX_FirePluginSupport_destroy_data_w_params( EX_Fire *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EX_FirePluginSupport_destroy_data_ex( EX_Fire *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_FirePluginSupport_destroy_data( EX_Fire *sample); NDDSUSERDllExport extern void EX_FirePluginSupport_print_data( const EX_Fire *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EX_Fire* EX_FirePluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_Fire* EX_FirePluginSupport_create_key(void); NDDSUSERDllExport extern void EX_FirePluginSupport_destroy_key_ex( EX_FireKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_FirePluginSupport_destroy_key( EX_FireKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EX_FirePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EX_FirePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EX_FirePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EX_FirePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EX_FirePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EX_Fire *sample, void *handle); NDDSUSERDllExport extern RTIBool EX_FirePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EX_Fire *out, const EX_Fire *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EX_FirePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EX_Fire *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EX_FirePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EX_Fire **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_FirePlugin_deserialize_from_cdr_buffer( EX_Fire *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EX_FirePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EX_FirePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EX_FirePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EX_FirePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EX_FirePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EX_Fire ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_FirePlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EX_FireKeyHolder *key, const EX_Fire *instance); NDDSUSERDllExport extern RTIBool EX_FirePlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EX_Fire *instance, const EX_FireKeyHolder *key); NDDSUSERDllExport extern RTIBool EX_FirePlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EX_FirePlugin_new(void); NDDSUSERDllExport extern void EX_FirePlugin_delete(struct PRESTypePlugin *); #define L31_MailAddressPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define L31_MailAddressPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define L31_MailAddressPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define L31_MailAddressPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define L31_MailAddressPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern L31_MailAddress* L31_MailAddressPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern L31_MailAddress* L31_MailAddressPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern L31_MailAddress* L31_MailAddressPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool L31_MailAddressPluginSupport_copy_data( L31_MailAddress *out, const L31_MailAddress *in); NDDSUSERDllExport extern void L31_MailAddressPluginSupport_destroy_data_w_params( L31_MailAddress *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void L31_MailAddressPluginSupport_destroy_data_ex( L31_MailAddress *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void L31_MailAddressPluginSupport_destroy_data( L31_MailAddress *sample); NDDSUSERDllExport extern void L31_MailAddressPluginSupport_print_data( const L31_MailAddress *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData L31_MailAddressPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void L31_MailAddressPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData L31_MailAddressPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void L31_MailAddressPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void L31_MailAddressPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, L31_MailAddress *sample, void *handle); NDDSUSERDllExport extern RTIBool L31_MailAddressPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, L31_MailAddress *out, const L31_MailAddress *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool L31_MailAddressPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const L31_MailAddress *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool L31_MailAddressPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, L31_MailAddress **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool L31_MailAddressPlugin_deserialize_from_cdr_buffer( L31_MailAddress *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int L31_MailAddressPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind L31_MailAddressPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int L31_MailAddressPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int L31_MailAddressPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool L31_MailAddressPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, L31_MailAddress ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* L31_MailAddressPlugin_new(void); NDDSUSERDllExport extern void L31_MailAddressPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EX_GuidingLines * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EX_GuidingLines) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EX_GuidingLines must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EX_GuidingLines. */ typedef struct EX_GuidingLines EX_GuidingLinesKeyHolder; #define EX_GuidingLinesPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EX_GuidingLinesPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EX_GuidingLinesPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EX_GuidingLinesPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EX_GuidingLinesPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EX_GuidingLinesPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EX_GuidingLinesPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EX_GuidingLines* EX_GuidingLinesPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EX_GuidingLines* EX_GuidingLinesPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_GuidingLines* EX_GuidingLinesPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EX_GuidingLinesPluginSupport_copy_data( EX_GuidingLines *out, const EX_GuidingLines *in); NDDSUSERDllExport extern void EX_GuidingLinesPluginSupport_destroy_data_w_params( EX_GuidingLines *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EX_GuidingLinesPluginSupport_destroy_data_ex( EX_GuidingLines *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_GuidingLinesPluginSupport_destroy_data( EX_GuidingLines *sample); NDDSUSERDllExport extern void EX_GuidingLinesPluginSupport_print_data( const EX_GuidingLines *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EX_GuidingLines* EX_GuidingLinesPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_GuidingLines* EX_GuidingLinesPluginSupport_create_key(void); NDDSUSERDllExport extern void EX_GuidingLinesPluginSupport_destroy_key_ex( EX_GuidingLinesKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_GuidingLinesPluginSupport_destroy_key( EX_GuidingLinesKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EX_GuidingLinesPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EX_GuidingLinesPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EX_GuidingLinesPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EX_GuidingLinesPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EX_GuidingLinesPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EX_GuidingLines *sample, void *handle); NDDSUSERDllExport extern RTIBool EX_GuidingLinesPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EX_GuidingLines *out, const EX_GuidingLines *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EX_GuidingLinesPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EX_GuidingLines *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EX_GuidingLinesPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EX_GuidingLines **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_GuidingLinesPlugin_deserialize_from_cdr_buffer( EX_GuidingLines *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EX_GuidingLinesPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EX_GuidingLinesPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EX_GuidingLinesPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EX_GuidingLinesPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EX_GuidingLinesPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EX_GuidingLines ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_GuidingLinesPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EX_GuidingLinesKeyHolder *key, const EX_GuidingLines *instance); NDDSUSERDllExport extern RTIBool EX_GuidingLinesPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EX_GuidingLines *instance, const EX_GuidingLinesKeyHolder *key); NDDSUSERDllExport extern RTIBool EX_GuidingLinesPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EX_GuidingLinesPlugin_new(void); NDDSUSERDllExport extern void EX_GuidingLinesPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EX_GuidingLinesAndBoundaries * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EX_GuidingLinesAndBoundaries) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EX_GuidingLinesAndBoundaries must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EX_GuidingLinesAndBoundaries. */ typedef struct EX_GuidingLinesAndBoundaries EX_GuidingLinesAndBoundariesKeyHolder; #define EX_GuidingLinesAndBoundariesPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EX_GuidingLinesAndBoundariesPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EX_GuidingLinesAndBoundariesPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EX_GuidingLinesAndBoundariesPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EX_GuidingLinesAndBoundariesPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EX_GuidingLinesAndBoundariesPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EX_GuidingLinesAndBoundariesPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EX_GuidingLinesAndBoundaries* EX_GuidingLinesAndBoundariesPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EX_GuidingLinesAndBoundaries* EX_GuidingLinesAndBoundariesPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_GuidingLinesAndBoundaries* EX_GuidingLinesAndBoundariesPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EX_GuidingLinesAndBoundariesPluginSupport_copy_data( EX_GuidingLinesAndBoundaries *out, const EX_GuidingLinesAndBoundaries *in); NDDSUSERDllExport extern void EX_GuidingLinesAndBoundariesPluginSupport_destroy_data_w_params( EX_GuidingLinesAndBoundaries *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EX_GuidingLinesAndBoundariesPluginSupport_destroy_data_ex( EX_GuidingLinesAndBoundaries *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_GuidingLinesAndBoundariesPluginSupport_destroy_data( EX_GuidingLinesAndBoundaries *sample); NDDSUSERDllExport extern void EX_GuidingLinesAndBoundariesPluginSupport_print_data( const EX_GuidingLinesAndBoundaries *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EX_GuidingLinesAndBoundaries* EX_GuidingLinesAndBoundariesPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_GuidingLinesAndBoundaries* EX_GuidingLinesAndBoundariesPluginSupport_create_key(void); NDDSUSERDllExport extern void EX_GuidingLinesAndBoundariesPluginSupport_destroy_key_ex( EX_GuidingLinesAndBoundariesKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_GuidingLinesAndBoundariesPluginSupport_destroy_key( EX_GuidingLinesAndBoundariesKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EX_GuidingLinesAndBoundariesPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EX_GuidingLinesAndBoundariesPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EX_GuidingLinesAndBoundariesPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EX_GuidingLinesAndBoundariesPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EX_GuidingLinesAndBoundariesPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EX_GuidingLinesAndBoundaries *sample, void *handle); NDDSUSERDllExport extern RTIBool EX_GuidingLinesAndBoundariesPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EX_GuidingLinesAndBoundaries *out, const EX_GuidingLinesAndBoundaries *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EX_GuidingLinesAndBoundariesPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EX_GuidingLinesAndBoundaries *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EX_GuidingLinesAndBoundariesPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EX_GuidingLinesAndBoundaries **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_GuidingLinesAndBoundariesPlugin_deserialize_from_cdr_buffer( EX_GuidingLinesAndBoundaries *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EX_GuidingLinesAndBoundariesPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EX_GuidingLinesAndBoundariesPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EX_GuidingLinesAndBoundariesPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EX_GuidingLinesAndBoundariesPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EX_GuidingLinesAndBoundariesPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EX_GuidingLinesAndBoundaries ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_GuidingLinesAndBoundariesPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EX_GuidingLinesAndBoundariesKeyHolder *key, const EX_GuidingLinesAndBoundaries *instance); NDDSUSERDllExport extern RTIBool EX_GuidingLinesAndBoundariesPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EX_GuidingLinesAndBoundaries *instance, const EX_GuidingLinesAndBoundariesKeyHolder *key); NDDSUSERDllExport extern RTIBool EX_GuidingLinesAndBoundariesPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EX_GuidingLinesAndBoundariesPlugin_new(void); NDDSUSERDllExport extern void EX_GuidingLinesAndBoundariesPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EX_MessageRevocation * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EX_MessageRevocation) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EX_MessageRevocation must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EX_MessageRevocation. */ typedef struct EX_MessageRevocation EX_MessageRevocationKeyHolder; #define EX_MessageRevocationPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EX_MessageRevocationPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EX_MessageRevocationPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EX_MessageRevocationPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EX_MessageRevocationPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EX_MessageRevocationPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EX_MessageRevocationPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EX_MessageRevocation* EX_MessageRevocationPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EX_MessageRevocation* EX_MessageRevocationPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_MessageRevocation* EX_MessageRevocationPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EX_MessageRevocationPluginSupport_copy_data( EX_MessageRevocation *out, const EX_MessageRevocation *in); NDDSUSERDllExport extern void EX_MessageRevocationPluginSupport_destroy_data_w_params( EX_MessageRevocation *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EX_MessageRevocationPluginSupport_destroy_data_ex( EX_MessageRevocation *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_MessageRevocationPluginSupport_destroy_data( EX_MessageRevocation *sample); NDDSUSERDllExport extern void EX_MessageRevocationPluginSupport_print_data( const EX_MessageRevocation *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EX_MessageRevocation* EX_MessageRevocationPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_MessageRevocation* EX_MessageRevocationPluginSupport_create_key(void); NDDSUSERDllExport extern void EX_MessageRevocationPluginSupport_destroy_key_ex( EX_MessageRevocationKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_MessageRevocationPluginSupport_destroy_key( EX_MessageRevocationKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EX_MessageRevocationPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EX_MessageRevocationPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EX_MessageRevocationPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EX_MessageRevocationPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EX_MessageRevocationPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EX_MessageRevocation *sample, void *handle); NDDSUSERDllExport extern RTIBool EX_MessageRevocationPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EX_MessageRevocation *out, const EX_MessageRevocation *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EX_MessageRevocationPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EX_MessageRevocation *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EX_MessageRevocationPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EX_MessageRevocation **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_MessageRevocationPlugin_deserialize_from_cdr_buffer( EX_MessageRevocation *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EX_MessageRevocationPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EX_MessageRevocationPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EX_MessageRevocationPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EX_MessageRevocationPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EX_MessageRevocationPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EX_MessageRevocation ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_MessageRevocationPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EX_MessageRevocationKeyHolder *key, const EX_MessageRevocation *instance); NDDSUSERDllExport extern RTIBool EX_MessageRevocationPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EX_MessageRevocation *instance, const EX_MessageRevocationKeyHolder *key); NDDSUSERDllExport extern RTIBool EX_MessageRevocationPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EX_MessageRevocationPlugin_new(void); NDDSUSERDllExport extern void EX_MessageRevocationPlugin_delete(struct PRESTypePlugin *); #define L3_UnitPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define L3_UnitPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define L3_UnitPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define L3_UnitPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define L3_UnitPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern L3_Unit* L3_UnitPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern L3_Unit* L3_UnitPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern L3_Unit* L3_UnitPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool L3_UnitPluginSupport_copy_data( L3_Unit *out, const L3_Unit *in); NDDSUSERDllExport extern void L3_UnitPluginSupport_destroy_data_w_params( L3_Unit *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void L3_UnitPluginSupport_destroy_data_ex( L3_Unit *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void L3_UnitPluginSupport_destroy_data( L3_Unit *sample); NDDSUSERDllExport extern void L3_UnitPluginSupport_print_data( const L3_Unit *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData L3_UnitPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void L3_UnitPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData L3_UnitPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void L3_UnitPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void L3_UnitPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, L3_Unit *sample, void *handle); NDDSUSERDllExport extern RTIBool L3_UnitPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, L3_Unit *out, const L3_Unit *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool L3_UnitPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const L3_Unit *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool L3_UnitPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, L3_Unit **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool L3_UnitPlugin_deserialize_from_cdr_buffer( L3_Unit *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int L3_UnitPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind L3_UnitPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int L3_UnitPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int L3_UnitPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool L3_UnitPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, L3_Unit ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* L3_UnitPlugin_new(void); NDDSUSERDllExport extern void L3_UnitPlugin_delete(struct PRESTypePlugin *); #define L8_ChargesPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define L8_ChargesPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define L8_ChargesPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define L8_ChargesPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define L8_ChargesPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern L8_Charges* L8_ChargesPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern L8_Charges* L8_ChargesPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern L8_Charges* L8_ChargesPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool L8_ChargesPluginSupport_copy_data( L8_Charges *out, const L8_Charges *in); NDDSUSERDllExport extern void L8_ChargesPluginSupport_destroy_data_w_params( L8_Charges *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void L8_ChargesPluginSupport_destroy_data_ex( L8_Charges *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void L8_ChargesPluginSupport_destroy_data( L8_Charges *sample); NDDSUSERDllExport extern void L8_ChargesPluginSupport_print_data( const L8_Charges *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData L8_ChargesPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void L8_ChargesPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData L8_ChargesPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void L8_ChargesPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void L8_ChargesPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, L8_Charges *sample, void *handle); NDDSUSERDllExport extern RTIBool L8_ChargesPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, L8_Charges *out, const L8_Charges *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool L8_ChargesPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const L8_Charges *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool L8_ChargesPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, L8_Charges **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool L8_ChargesPlugin_deserialize_from_cdr_buffer( L8_Charges *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int L8_ChargesPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind L8_ChargesPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int L8_ChargesPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int L8_ChargesPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool L8_ChargesPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, L8_Charges ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* L8_ChargesPlugin_new(void); NDDSUSERDllExport extern void L8_ChargesPlugin_delete(struct PRESTypePlugin *); #define L18_EffectableAreaPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define L18_EffectableAreaPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define L18_EffectableAreaPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define L18_EffectableAreaPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define L18_EffectableAreaPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern L18_EffectableArea* L18_EffectableAreaPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern L18_EffectableArea* L18_EffectableAreaPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern L18_EffectableArea* L18_EffectableAreaPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool L18_EffectableAreaPluginSupport_copy_data( L18_EffectableArea *out, const L18_EffectableArea *in); NDDSUSERDllExport extern void L18_EffectableAreaPluginSupport_destroy_data_w_params( L18_EffectableArea *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void L18_EffectableAreaPluginSupport_destroy_data_ex( L18_EffectableArea *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void L18_EffectableAreaPluginSupport_destroy_data( L18_EffectableArea *sample); NDDSUSERDllExport extern void L18_EffectableAreaPluginSupport_print_data( const L18_EffectableArea *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData L18_EffectableAreaPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void L18_EffectableAreaPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData L18_EffectableAreaPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void L18_EffectableAreaPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void L18_EffectableAreaPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, L18_EffectableArea *sample, void *handle); NDDSUSERDllExport extern RTIBool L18_EffectableAreaPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, L18_EffectableArea *out, const L18_EffectableArea *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool L18_EffectableAreaPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const L18_EffectableArea *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool L18_EffectableAreaPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, L18_EffectableArea **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool L18_EffectableAreaPlugin_deserialize_from_cdr_buffer( L18_EffectableArea *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int L18_EffectableAreaPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind L18_EffectableAreaPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int L18_EffectableAreaPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int L18_EffectableAreaPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool L18_EffectableAreaPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, L18_EffectableArea ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* L18_EffectableAreaPlugin_new(void); NDDSUSERDllExport extern void L18_EffectableAreaPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EX_ReportEffectorUnit * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EX_ReportEffectorUnit) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EX_ReportEffectorUnit must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EX_ReportEffectorUnit. */ typedef struct EX_ReportEffectorUnit EX_ReportEffectorUnitKeyHolder; #define EX_ReportEffectorUnitPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EX_ReportEffectorUnitPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EX_ReportEffectorUnitPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EX_ReportEffectorUnitPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EX_ReportEffectorUnitPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EX_ReportEffectorUnitPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EX_ReportEffectorUnitPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EX_ReportEffectorUnit* EX_ReportEffectorUnitPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EX_ReportEffectorUnit* EX_ReportEffectorUnitPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_ReportEffectorUnit* EX_ReportEffectorUnitPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EX_ReportEffectorUnitPluginSupport_copy_data( EX_ReportEffectorUnit *out, const EX_ReportEffectorUnit *in); NDDSUSERDllExport extern void EX_ReportEffectorUnitPluginSupport_destroy_data_w_params( EX_ReportEffectorUnit *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EX_ReportEffectorUnitPluginSupport_destroy_data_ex( EX_ReportEffectorUnit *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_ReportEffectorUnitPluginSupport_destroy_data( EX_ReportEffectorUnit *sample); NDDSUSERDllExport extern void EX_ReportEffectorUnitPluginSupport_print_data( const EX_ReportEffectorUnit *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EX_ReportEffectorUnit* EX_ReportEffectorUnitPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_ReportEffectorUnit* EX_ReportEffectorUnitPluginSupport_create_key(void); NDDSUSERDllExport extern void EX_ReportEffectorUnitPluginSupport_destroy_key_ex( EX_ReportEffectorUnitKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_ReportEffectorUnitPluginSupport_destroy_key( EX_ReportEffectorUnitKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EX_ReportEffectorUnitPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EX_ReportEffectorUnitPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EX_ReportEffectorUnitPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EX_ReportEffectorUnitPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EX_ReportEffectorUnitPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EX_ReportEffectorUnit *sample, void *handle); NDDSUSERDllExport extern RTIBool EX_ReportEffectorUnitPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EX_ReportEffectorUnit *out, const EX_ReportEffectorUnit *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EX_ReportEffectorUnitPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EX_ReportEffectorUnit *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EX_ReportEffectorUnitPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EX_ReportEffectorUnit **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_ReportEffectorUnitPlugin_deserialize_from_cdr_buffer( EX_ReportEffectorUnit *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EX_ReportEffectorUnitPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EX_ReportEffectorUnitPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EX_ReportEffectorUnitPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EX_ReportEffectorUnitPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EX_ReportEffectorUnitPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EX_ReportEffectorUnit ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_ReportEffectorUnitPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EX_ReportEffectorUnitKeyHolder *key, const EX_ReportEffectorUnit *instance); NDDSUSERDllExport extern RTIBool EX_ReportEffectorUnitPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EX_ReportEffectorUnit *instance, const EX_ReportEffectorUnitKeyHolder *key); NDDSUSERDllExport extern RTIBool EX_ReportEffectorUnitPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EX_ReportEffectorUnitPlugin_new(void); NDDSUSERDllExport extern void EX_ReportEffectorUnitPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EX_StartFiring * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EX_StartFiring) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EX_StartFiring must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EX_StartFiring. */ typedef struct EX_StartFiring EX_StartFiringKeyHolder; #define EX_StartFiringPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EX_StartFiringPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EX_StartFiringPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EX_StartFiringPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EX_StartFiringPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EX_StartFiringPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EX_StartFiringPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EX_StartFiring* EX_StartFiringPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EX_StartFiring* EX_StartFiringPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_StartFiring* EX_StartFiringPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EX_StartFiringPluginSupport_copy_data( EX_StartFiring *out, const EX_StartFiring *in); NDDSUSERDllExport extern void EX_StartFiringPluginSupport_destroy_data_w_params( EX_StartFiring *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EX_StartFiringPluginSupport_destroy_data_ex( EX_StartFiring *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_StartFiringPluginSupport_destroy_data( EX_StartFiring *sample); NDDSUSERDllExport extern void EX_StartFiringPluginSupport_print_data( const EX_StartFiring *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EX_StartFiring* EX_StartFiringPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EX_StartFiring* EX_StartFiringPluginSupport_create_key(void); NDDSUSERDllExport extern void EX_StartFiringPluginSupport_destroy_key_ex( EX_StartFiringKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EX_StartFiringPluginSupport_destroy_key( EX_StartFiringKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EX_StartFiringPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EX_StartFiringPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EX_StartFiringPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EX_StartFiringPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EX_StartFiringPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EX_StartFiring *sample, void *handle); NDDSUSERDllExport extern RTIBool EX_StartFiringPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EX_StartFiring *out, const EX_StartFiring *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EX_StartFiringPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EX_StartFiring *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EX_StartFiringPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EX_StartFiring **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_StartFiringPlugin_deserialize_from_cdr_buffer( EX_StartFiring *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EX_StartFiringPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EX_StartFiringPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EX_StartFiringPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EX_StartFiringPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EX_StartFiringPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EX_StartFiring ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EX_StartFiringPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EX_StartFiringKeyHolder *key, const EX_StartFiring *instance); NDDSUSERDllExport extern RTIBool EX_StartFiringPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EX_StartFiring *instance, const EX_StartFiringKeyHolder *key); NDDSUSERDllExport extern RTIBool EX_StartFiringPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EX_StartFiringPlugin_new(void); NDDSUSERDllExport extern void EX_StartFiringPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EmergencyCall * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EmergencyCall) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EmergencyCall must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EmergencyCall. */ typedef struct EmergencyCall EmergencyCallKeyHolder; #define EmergencyCallPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EmergencyCallPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EmergencyCallPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EmergencyCallPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EmergencyCallPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EmergencyCallPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EmergencyCallPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EmergencyCall* EmergencyCallPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EmergencyCall* EmergencyCallPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EmergencyCall* EmergencyCallPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EmergencyCallPluginSupport_copy_data( EmergencyCall *out, const EmergencyCall *in); NDDSUSERDllExport extern void EmergencyCallPluginSupport_destroy_data_w_params( EmergencyCall *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EmergencyCallPluginSupport_destroy_data_ex( EmergencyCall *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EmergencyCallPluginSupport_destroy_data( EmergencyCall *sample); NDDSUSERDllExport extern void EmergencyCallPluginSupport_print_data( const EmergencyCall *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EmergencyCall* EmergencyCallPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EmergencyCall* EmergencyCallPluginSupport_create_key(void); NDDSUSERDllExport extern void EmergencyCallPluginSupport_destroy_key_ex( EmergencyCallKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EmergencyCallPluginSupport_destroy_key( EmergencyCallKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EmergencyCallPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EmergencyCallPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EmergencyCallPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EmergencyCallPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EmergencyCallPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EmergencyCall *sample, void *handle); NDDSUSERDllExport extern RTIBool EmergencyCallPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EmergencyCall *out, const EmergencyCall *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EmergencyCallPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EmergencyCall *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EmergencyCallPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EmergencyCall **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EmergencyCallPlugin_deserialize_from_cdr_buffer( EmergencyCall *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EmergencyCallPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EmergencyCallPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EmergencyCallPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EmergencyCallPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EmergencyCallPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EmergencyCall ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EmergencyCallPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EmergencyCallKeyHolder *key, const EmergencyCall *instance); NDDSUSERDllExport extern RTIBool EmergencyCallPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EmergencyCall *instance, const EmergencyCallKeyHolder *key); NDDSUSERDllExport extern RTIBool EmergencyCallPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EmergencyCallPlugin_new(void); NDDSUSERDllExport extern void EmergencyCallPlugin_delete(struct PRESTypePlugin *); #define EquipmentPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EquipmentPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EquipmentPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EquipmentPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EquipmentPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern Equipment* EquipmentPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern Equipment* EquipmentPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern Equipment* EquipmentPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EquipmentPluginSupport_copy_data( Equipment *out, const Equipment *in); NDDSUSERDllExport extern void EquipmentPluginSupport_destroy_data_w_params( Equipment *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EquipmentPluginSupport_destroy_data_ex( Equipment *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentPluginSupport_destroy_data( Equipment *sample); NDDSUSERDllExport extern void EquipmentPluginSupport_print_data( const Equipment *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EquipmentPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EquipmentPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EquipmentPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EquipmentPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EquipmentPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, Equipment *sample, void *handle); NDDSUSERDllExport extern RTIBool EquipmentPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, Equipment *out, const Equipment *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EquipmentPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const Equipment *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EquipmentPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, Equipment **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentPlugin_deserialize_from_cdr_buffer( Equipment *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EquipmentPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EquipmentPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EquipmentPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EquipmentPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EquipmentPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, Equipment ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EquipmentPlugin_new(void); NDDSUSERDllExport extern void EquipmentPlugin_delete(struct PRESTypePlugin *); #define EquipmentBiteErrorPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EquipmentBiteErrorPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EquipmentBiteErrorPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EquipmentBiteErrorPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EquipmentBiteErrorPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EquipmentBiteError* EquipmentBiteErrorPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EquipmentBiteError* EquipmentBiteErrorPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentBiteError* EquipmentBiteErrorPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EquipmentBiteErrorPluginSupport_copy_data( EquipmentBiteError *out, const EquipmentBiteError *in); NDDSUSERDllExport extern void EquipmentBiteErrorPluginSupport_destroy_data_w_params( EquipmentBiteError *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EquipmentBiteErrorPluginSupport_destroy_data_ex( EquipmentBiteError *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentBiteErrorPluginSupport_destroy_data( EquipmentBiteError *sample); NDDSUSERDllExport extern void EquipmentBiteErrorPluginSupport_print_data( const EquipmentBiteError *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EquipmentBiteErrorPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EquipmentBiteErrorPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EquipmentBiteErrorPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EquipmentBiteErrorPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EquipmentBiteErrorPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EquipmentBiteError *sample, void *handle); NDDSUSERDllExport extern RTIBool EquipmentBiteErrorPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EquipmentBiteError *out, const EquipmentBiteError *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EquipmentBiteErrorPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EquipmentBiteError *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EquipmentBiteErrorPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EquipmentBiteError **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentBiteErrorPlugin_deserialize_from_cdr_buffer( EquipmentBiteError *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EquipmentBiteErrorPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EquipmentBiteErrorPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EquipmentBiteErrorPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EquipmentBiteErrorPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EquipmentBiteErrorPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EquipmentBiteError ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EquipmentBiteErrorPlugin_new(void); NDDSUSERDllExport extern void EquipmentBiteErrorPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EquipmentBite * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EquipmentBite) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EquipmentBite must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EquipmentBite. */ typedef struct EquipmentBite EquipmentBiteKeyHolder; #define EquipmentBitePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EquipmentBitePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EquipmentBitePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EquipmentBitePlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EquipmentBitePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EquipmentBitePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EquipmentBitePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EquipmentBite* EquipmentBitePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EquipmentBite* EquipmentBitePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentBite* EquipmentBitePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EquipmentBitePluginSupport_copy_data( EquipmentBite *out, const EquipmentBite *in); NDDSUSERDllExport extern void EquipmentBitePluginSupport_destroy_data_w_params( EquipmentBite *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EquipmentBitePluginSupport_destroy_data_ex( EquipmentBite *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentBitePluginSupport_destroy_data( EquipmentBite *sample); NDDSUSERDllExport extern void EquipmentBitePluginSupport_print_data( const EquipmentBite *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EquipmentBite* EquipmentBitePluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentBite* EquipmentBitePluginSupport_create_key(void); NDDSUSERDllExport extern void EquipmentBitePluginSupport_destroy_key_ex( EquipmentBiteKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentBitePluginSupport_destroy_key( EquipmentBiteKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EquipmentBitePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EquipmentBitePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EquipmentBitePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EquipmentBitePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EquipmentBitePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EquipmentBite *sample, void *handle); NDDSUSERDllExport extern RTIBool EquipmentBitePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EquipmentBite *out, const EquipmentBite *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EquipmentBitePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EquipmentBite *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EquipmentBitePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EquipmentBite **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentBitePlugin_deserialize_from_cdr_buffer( EquipmentBite *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EquipmentBitePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EquipmentBitePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EquipmentBitePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EquipmentBitePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EquipmentBitePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EquipmentBite ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentBitePlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EquipmentBiteKeyHolder *key, const EquipmentBite *instance); NDDSUSERDllExport extern RTIBool EquipmentBitePlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EquipmentBite *instance, const EquipmentBiteKeyHolder *key); NDDSUSERDllExport extern RTIBool EquipmentBitePlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EquipmentBitePlugin_new(void); NDDSUSERDllExport extern void EquipmentBitePlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EquipmentConfigurationReport * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EquipmentConfigurationReport) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EquipmentConfigurationReport must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EquipmentConfigurationReport. */ typedef struct EquipmentConfigurationReport EquipmentConfigurationReportKeyHolder; #define EquipmentConfigurationReportPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EquipmentConfigurationReportPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EquipmentConfigurationReportPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EquipmentConfigurationReportPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EquipmentConfigurationReportPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EquipmentConfigurationReportPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EquipmentConfigurationReportPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EquipmentConfigurationReport* EquipmentConfigurationReportPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EquipmentConfigurationReport* EquipmentConfigurationReportPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentConfigurationReport* EquipmentConfigurationReportPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EquipmentConfigurationReportPluginSupport_copy_data( EquipmentConfigurationReport *out, const EquipmentConfigurationReport *in); NDDSUSERDllExport extern void EquipmentConfigurationReportPluginSupport_destroy_data_w_params( EquipmentConfigurationReport *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EquipmentConfigurationReportPluginSupport_destroy_data_ex( EquipmentConfigurationReport *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentConfigurationReportPluginSupport_destroy_data( EquipmentConfigurationReport *sample); NDDSUSERDllExport extern void EquipmentConfigurationReportPluginSupport_print_data( const EquipmentConfigurationReport *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EquipmentConfigurationReport* EquipmentConfigurationReportPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentConfigurationReport* EquipmentConfigurationReportPluginSupport_create_key(void); NDDSUSERDllExport extern void EquipmentConfigurationReportPluginSupport_destroy_key_ex( EquipmentConfigurationReportKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentConfigurationReportPluginSupport_destroy_key( EquipmentConfigurationReportKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EquipmentConfigurationReportPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EquipmentConfigurationReportPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EquipmentConfigurationReportPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EquipmentConfigurationReportPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EquipmentConfigurationReportPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EquipmentConfigurationReport *sample, void *handle); NDDSUSERDllExport extern RTIBool EquipmentConfigurationReportPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EquipmentConfigurationReport *out, const EquipmentConfigurationReport *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EquipmentConfigurationReportPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EquipmentConfigurationReport *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EquipmentConfigurationReportPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EquipmentConfigurationReport **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentConfigurationReportPlugin_deserialize_from_cdr_buffer( EquipmentConfigurationReport *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EquipmentConfigurationReportPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EquipmentConfigurationReportPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EquipmentConfigurationReportPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EquipmentConfigurationReportPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EquipmentConfigurationReportPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EquipmentConfigurationReport ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentConfigurationReportPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EquipmentConfigurationReportKeyHolder *key, const EquipmentConfigurationReport *instance); NDDSUSERDllExport extern RTIBool EquipmentConfigurationReportPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EquipmentConfigurationReport *instance, const EquipmentConfigurationReportKeyHolder *key); NDDSUSERDllExport extern RTIBool EquipmentConfigurationReportPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EquipmentConfigurationReportPlugin_new(void); NDDSUSERDllExport extern void EquipmentConfigurationReportPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EquipmentEvent * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EquipmentEvent) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EquipmentEvent must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EquipmentEvent. */ typedef struct EquipmentEvent EquipmentEventKeyHolder; #define EquipmentEventPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EquipmentEventPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EquipmentEventPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EquipmentEventPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EquipmentEventPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EquipmentEventPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EquipmentEventPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EquipmentEvent* EquipmentEventPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EquipmentEvent* EquipmentEventPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentEvent* EquipmentEventPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EquipmentEventPluginSupport_copy_data( EquipmentEvent *out, const EquipmentEvent *in); NDDSUSERDllExport extern void EquipmentEventPluginSupport_destroy_data_w_params( EquipmentEvent *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EquipmentEventPluginSupport_destroy_data_ex( EquipmentEvent *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentEventPluginSupport_destroy_data( EquipmentEvent *sample); NDDSUSERDllExport extern void EquipmentEventPluginSupport_print_data( const EquipmentEvent *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EquipmentEvent* EquipmentEventPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentEvent* EquipmentEventPluginSupport_create_key(void); NDDSUSERDllExport extern void EquipmentEventPluginSupport_destroy_key_ex( EquipmentEventKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentEventPluginSupport_destroy_key( EquipmentEventKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EquipmentEventPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EquipmentEventPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EquipmentEventPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EquipmentEventPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EquipmentEventPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EquipmentEvent *sample, void *handle); NDDSUSERDllExport extern RTIBool EquipmentEventPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EquipmentEvent *out, const EquipmentEvent *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EquipmentEventPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EquipmentEvent *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EquipmentEventPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EquipmentEvent **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentEventPlugin_deserialize_from_cdr_buffer( EquipmentEvent *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EquipmentEventPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EquipmentEventPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EquipmentEventPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EquipmentEventPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EquipmentEventPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EquipmentEvent ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentEventPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EquipmentEventKeyHolder *key, const EquipmentEvent *instance); NDDSUSERDllExport extern RTIBool EquipmentEventPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EquipmentEvent *instance, const EquipmentEventKeyHolder *key); NDDSUSERDllExport extern RTIBool EquipmentEventPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EquipmentEventPlugin_new(void); NDDSUSERDllExport extern void EquipmentEventPlugin_delete(struct PRESTypePlugin *); #define GearPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define GearPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define GearPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define GearPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define GearPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern Gear* GearPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern Gear* GearPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern Gear* GearPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool GearPluginSupport_copy_data( Gear *out, const Gear *in); NDDSUSERDllExport extern void GearPluginSupport_destroy_data_w_params( Gear *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void GearPluginSupport_destroy_data_ex( Gear *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void GearPluginSupport_destroy_data( Gear *sample); NDDSUSERDllExport extern void GearPluginSupport_print_data( const Gear *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData GearPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void GearPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData GearPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void GearPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void GearPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, Gear *sample, void *handle); NDDSUSERDllExport extern RTIBool GearPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, Gear *out, const Gear *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool GearPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const Gear *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool GearPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, Gear **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool GearPlugin_deserialize_from_cdr_buffer( Gear *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int GearPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind GearPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int GearPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int GearPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool GearPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, Gear ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* GearPlugin_new(void); NDDSUSERDllExport extern void GearPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EquipmentGearAssignment * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EquipmentGearAssignment) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EquipmentGearAssignment must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EquipmentGearAssignment. */ typedef struct EquipmentGearAssignment EquipmentGearAssignmentKeyHolder; #define EquipmentGearAssignmentPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EquipmentGearAssignmentPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EquipmentGearAssignmentPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EquipmentGearAssignmentPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EquipmentGearAssignmentPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EquipmentGearAssignmentPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EquipmentGearAssignmentPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EquipmentGearAssignment* EquipmentGearAssignmentPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EquipmentGearAssignment* EquipmentGearAssignmentPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentGearAssignment* EquipmentGearAssignmentPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EquipmentGearAssignmentPluginSupport_copy_data( EquipmentGearAssignment *out, const EquipmentGearAssignment *in); NDDSUSERDllExport extern void EquipmentGearAssignmentPluginSupport_destroy_data_w_params( EquipmentGearAssignment *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EquipmentGearAssignmentPluginSupport_destroy_data_ex( EquipmentGearAssignment *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentGearAssignmentPluginSupport_destroy_data( EquipmentGearAssignment *sample); NDDSUSERDllExport extern void EquipmentGearAssignmentPluginSupport_print_data( const EquipmentGearAssignment *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EquipmentGearAssignment* EquipmentGearAssignmentPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentGearAssignment* EquipmentGearAssignmentPluginSupport_create_key(void); NDDSUSERDllExport extern void EquipmentGearAssignmentPluginSupport_destroy_key_ex( EquipmentGearAssignmentKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentGearAssignmentPluginSupport_destroy_key( EquipmentGearAssignmentKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EquipmentGearAssignmentPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EquipmentGearAssignmentPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EquipmentGearAssignmentPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EquipmentGearAssignmentPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EquipmentGearAssignmentPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EquipmentGearAssignment *sample, void *handle); NDDSUSERDllExport extern RTIBool EquipmentGearAssignmentPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EquipmentGearAssignment *out, const EquipmentGearAssignment *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EquipmentGearAssignmentPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EquipmentGearAssignment *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EquipmentGearAssignmentPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EquipmentGearAssignment **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentGearAssignmentPlugin_deserialize_from_cdr_buffer( EquipmentGearAssignment *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EquipmentGearAssignmentPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EquipmentGearAssignmentPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EquipmentGearAssignmentPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EquipmentGearAssignmentPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EquipmentGearAssignmentPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EquipmentGearAssignment ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentGearAssignmentPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EquipmentGearAssignmentKeyHolder *key, const EquipmentGearAssignment *instance); NDDSUSERDllExport extern RTIBool EquipmentGearAssignmentPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EquipmentGearAssignment *instance, const EquipmentGearAssignmentKeyHolder *key); NDDSUSERDllExport extern RTIBool EquipmentGearAssignmentPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EquipmentGearAssignmentPlugin_new(void); NDDSUSERDllExport extern void EquipmentGearAssignmentPlugin_delete(struct PRESTypePlugin *); #define GearChargePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define GearChargePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define GearChargePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define GearChargePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define GearChargePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern GearCharge* GearChargePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern GearCharge* GearChargePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern GearCharge* GearChargePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool GearChargePluginSupport_copy_data( GearCharge *out, const GearCharge *in); NDDSUSERDllExport extern void GearChargePluginSupport_destroy_data_w_params( GearCharge *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void GearChargePluginSupport_destroy_data_ex( GearCharge *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void GearChargePluginSupport_destroy_data( GearCharge *sample); NDDSUSERDllExport extern void GearChargePluginSupport_print_data( const GearCharge *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData GearChargePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void GearChargePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData GearChargePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void GearChargePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void GearChargePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, GearCharge *sample, void *handle); NDDSUSERDllExport extern RTIBool GearChargePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, GearCharge *out, const GearCharge *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool GearChargePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const GearCharge *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool GearChargePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, GearCharge **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool GearChargePlugin_deserialize_from_cdr_buffer( GearCharge *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int GearChargePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind GearChargePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int GearChargePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int GearChargePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool GearChargePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, GearCharge ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* GearChargePlugin_new(void); NDDSUSERDllExport extern void GearChargePlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EquipmentGearChargeState * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EquipmentGearChargeState) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EquipmentGearChargeState must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EquipmentGearChargeState. */ typedef struct EquipmentGearChargeState EquipmentGearChargeStateKeyHolder; #define EquipmentGearChargeStatePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EquipmentGearChargeStatePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EquipmentGearChargeStatePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EquipmentGearChargeStatePlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EquipmentGearChargeStatePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EquipmentGearChargeStatePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EquipmentGearChargeStatePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EquipmentGearChargeState* EquipmentGearChargeStatePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EquipmentGearChargeState* EquipmentGearChargeStatePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentGearChargeState* EquipmentGearChargeStatePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EquipmentGearChargeStatePluginSupport_copy_data( EquipmentGearChargeState *out, const EquipmentGearChargeState *in); NDDSUSERDllExport extern void EquipmentGearChargeStatePluginSupport_destroy_data_w_params( EquipmentGearChargeState *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EquipmentGearChargeStatePluginSupport_destroy_data_ex( EquipmentGearChargeState *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentGearChargeStatePluginSupport_destroy_data( EquipmentGearChargeState *sample); NDDSUSERDllExport extern void EquipmentGearChargeStatePluginSupport_print_data( const EquipmentGearChargeState *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EquipmentGearChargeState* EquipmentGearChargeStatePluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentGearChargeState* EquipmentGearChargeStatePluginSupport_create_key(void); NDDSUSERDllExport extern void EquipmentGearChargeStatePluginSupport_destroy_key_ex( EquipmentGearChargeStateKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentGearChargeStatePluginSupport_destroy_key( EquipmentGearChargeStateKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EquipmentGearChargeStatePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EquipmentGearChargeStatePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EquipmentGearChargeStatePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EquipmentGearChargeStatePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EquipmentGearChargeStatePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EquipmentGearChargeState *sample, void *handle); NDDSUSERDllExport extern RTIBool EquipmentGearChargeStatePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EquipmentGearChargeState *out, const EquipmentGearChargeState *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EquipmentGearChargeStatePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EquipmentGearChargeState *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EquipmentGearChargeStatePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EquipmentGearChargeState **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentGearChargeStatePlugin_deserialize_from_cdr_buffer( EquipmentGearChargeState *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EquipmentGearChargeStatePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EquipmentGearChargeStatePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EquipmentGearChargeStatePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EquipmentGearChargeStatePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EquipmentGearChargeStatePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EquipmentGearChargeState ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentGearChargeStatePlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EquipmentGearChargeStateKeyHolder *key, const EquipmentGearChargeState *instance); NDDSUSERDllExport extern RTIBool EquipmentGearChargeStatePlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EquipmentGearChargeState *instance, const EquipmentGearChargeStateKeyHolder *key); NDDSUSERDllExport extern RTIBool EquipmentGearChargeStatePlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EquipmentGearChargeStatePlugin_new(void); NDDSUSERDllExport extern void EquipmentGearChargeStatePlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EquipmentGearEvent * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EquipmentGearEvent) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EquipmentGearEvent must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EquipmentGearEvent. */ typedef struct EquipmentGearEvent EquipmentGearEventKeyHolder; #define EquipmentGearEventPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EquipmentGearEventPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EquipmentGearEventPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EquipmentGearEventPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EquipmentGearEventPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EquipmentGearEventPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EquipmentGearEventPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EquipmentGearEvent* EquipmentGearEventPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EquipmentGearEvent* EquipmentGearEventPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentGearEvent* EquipmentGearEventPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EquipmentGearEventPluginSupport_copy_data( EquipmentGearEvent *out, const EquipmentGearEvent *in); NDDSUSERDllExport extern void EquipmentGearEventPluginSupport_destroy_data_w_params( EquipmentGearEvent *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EquipmentGearEventPluginSupport_destroy_data_ex( EquipmentGearEvent *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentGearEventPluginSupport_destroy_data( EquipmentGearEvent *sample); NDDSUSERDllExport extern void EquipmentGearEventPluginSupport_print_data( const EquipmentGearEvent *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EquipmentGearEvent* EquipmentGearEventPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentGearEvent* EquipmentGearEventPluginSupport_create_key(void); NDDSUSERDllExport extern void EquipmentGearEventPluginSupport_destroy_key_ex( EquipmentGearEventKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentGearEventPluginSupport_destroy_key( EquipmentGearEventKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EquipmentGearEventPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EquipmentGearEventPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EquipmentGearEventPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EquipmentGearEventPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EquipmentGearEventPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EquipmentGearEvent *sample, void *handle); NDDSUSERDllExport extern RTIBool EquipmentGearEventPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EquipmentGearEvent *out, const EquipmentGearEvent *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EquipmentGearEventPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EquipmentGearEvent *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EquipmentGearEventPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EquipmentGearEvent **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentGearEventPlugin_deserialize_from_cdr_buffer( EquipmentGearEvent *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EquipmentGearEventPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EquipmentGearEventPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EquipmentGearEventPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EquipmentGearEventPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EquipmentGearEventPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EquipmentGearEvent ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentGearEventPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EquipmentGearEventKeyHolder *key, const EquipmentGearEvent *instance); NDDSUSERDllExport extern RTIBool EquipmentGearEventPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EquipmentGearEvent *instance, const EquipmentGearEventKeyHolder *key); NDDSUSERDllExport extern RTIBool EquipmentGearEventPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EquipmentGearEventPlugin_new(void); NDDSUSERDllExport extern void EquipmentGearEventPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EquipmentMessage * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EquipmentMessage) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EquipmentMessage must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EquipmentMessage. */ typedef struct EquipmentMessage EquipmentMessageKeyHolder; #define EquipmentMessagePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EquipmentMessagePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EquipmentMessagePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EquipmentMessagePlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EquipmentMessagePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EquipmentMessagePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EquipmentMessagePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EquipmentMessage* EquipmentMessagePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EquipmentMessage* EquipmentMessagePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentMessage* EquipmentMessagePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EquipmentMessagePluginSupport_copy_data( EquipmentMessage *out, const EquipmentMessage *in); NDDSUSERDllExport extern void EquipmentMessagePluginSupport_destroy_data_w_params( EquipmentMessage *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EquipmentMessagePluginSupport_destroy_data_ex( EquipmentMessage *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentMessagePluginSupport_destroy_data( EquipmentMessage *sample); NDDSUSERDllExport extern void EquipmentMessagePluginSupport_print_data( const EquipmentMessage *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EquipmentMessage* EquipmentMessagePluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentMessage* EquipmentMessagePluginSupport_create_key(void); NDDSUSERDllExport extern void EquipmentMessagePluginSupport_destroy_key_ex( EquipmentMessageKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentMessagePluginSupport_destroy_key( EquipmentMessageKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EquipmentMessagePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EquipmentMessagePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EquipmentMessagePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EquipmentMessagePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EquipmentMessagePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EquipmentMessage *sample, void *handle); NDDSUSERDllExport extern RTIBool EquipmentMessagePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EquipmentMessage *out, const EquipmentMessage *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EquipmentMessagePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EquipmentMessage *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EquipmentMessagePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EquipmentMessage **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentMessagePlugin_deserialize_from_cdr_buffer( EquipmentMessage *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EquipmentMessagePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EquipmentMessagePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EquipmentMessagePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EquipmentMessagePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EquipmentMessagePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EquipmentMessage ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentMessagePlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EquipmentMessageKeyHolder *key, const EquipmentMessage *instance); NDDSUSERDllExport extern RTIBool EquipmentMessagePlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EquipmentMessage *instance, const EquipmentMessageKeyHolder *key); NDDSUSERDllExport extern RTIBool EquipmentMessagePlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EquipmentMessagePlugin_new(void); NDDSUSERDllExport extern void EquipmentMessagePlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EquipmentOperationalState * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EquipmentOperationalState) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EquipmentOperationalState must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EquipmentOperationalState. */ typedef struct EquipmentOperationalState EquipmentOperationalStateKeyHolder; #define EquipmentOperationalStatePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EquipmentOperationalStatePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EquipmentOperationalStatePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EquipmentOperationalStatePlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EquipmentOperationalStatePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EquipmentOperationalStatePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EquipmentOperationalStatePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EquipmentOperationalState* EquipmentOperationalStatePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EquipmentOperationalState* EquipmentOperationalStatePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentOperationalState* EquipmentOperationalStatePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EquipmentOperationalStatePluginSupport_copy_data( EquipmentOperationalState *out, const EquipmentOperationalState *in); NDDSUSERDllExport extern void EquipmentOperationalStatePluginSupport_destroy_data_w_params( EquipmentOperationalState *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EquipmentOperationalStatePluginSupport_destroy_data_ex( EquipmentOperationalState *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentOperationalStatePluginSupport_destroy_data( EquipmentOperationalState *sample); NDDSUSERDllExport extern void EquipmentOperationalStatePluginSupport_print_data( const EquipmentOperationalState *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EquipmentOperationalState* EquipmentOperationalStatePluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentOperationalState* EquipmentOperationalStatePluginSupport_create_key(void); NDDSUSERDllExport extern void EquipmentOperationalStatePluginSupport_destroy_key_ex( EquipmentOperationalStateKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentOperationalStatePluginSupport_destroy_key( EquipmentOperationalStateKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EquipmentOperationalStatePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EquipmentOperationalStatePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EquipmentOperationalStatePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EquipmentOperationalStatePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EquipmentOperationalStatePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EquipmentOperationalState *sample, void *handle); NDDSUSERDllExport extern RTIBool EquipmentOperationalStatePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EquipmentOperationalState *out, const EquipmentOperationalState *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EquipmentOperationalStatePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EquipmentOperationalState *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EquipmentOperationalStatePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EquipmentOperationalState **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentOperationalStatePlugin_deserialize_from_cdr_buffer( EquipmentOperationalState *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EquipmentOperationalStatePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EquipmentOperationalStatePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EquipmentOperationalStatePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EquipmentOperationalStatePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EquipmentOperationalStatePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EquipmentOperationalState ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentOperationalStatePlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EquipmentOperationalStateKeyHolder *key, const EquipmentOperationalState *instance); NDDSUSERDllExport extern RTIBool EquipmentOperationalStatePlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EquipmentOperationalState *instance, const EquipmentOperationalStateKeyHolder *key); NDDSUSERDllExport extern RTIBool EquipmentOperationalStatePlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EquipmentOperationalStatePlugin_new(void); NDDSUSERDllExport extern void EquipmentOperationalStatePlugin_delete(struct PRESTypePlugin *); #define TabPositionPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define TabPositionPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define TabPositionPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define TabPositionPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define TabPositionPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern TabPosition* TabPositionPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern TabPosition* TabPositionPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern TabPosition* TabPositionPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool TabPositionPluginSupport_copy_data( TabPosition *out, const TabPosition *in); NDDSUSERDllExport extern void TabPositionPluginSupport_destroy_data_w_params( TabPosition *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void TabPositionPluginSupport_destroy_data_ex( TabPosition *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void TabPositionPluginSupport_destroy_data( TabPosition *sample); NDDSUSERDllExport extern void TabPositionPluginSupport_print_data( const TabPosition *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData TabPositionPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void TabPositionPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData TabPositionPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void TabPositionPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void TabPositionPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, TabPosition *sample, void *handle); NDDSUSERDllExport extern RTIBool TabPositionPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, TabPosition *out, const TabPosition *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool TabPositionPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const TabPosition *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool TabPositionPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, TabPosition **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool TabPositionPlugin_deserialize_from_cdr_buffer( TabPosition *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int TabPositionPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind TabPositionPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int TabPositionPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int TabPositionPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool TabPositionPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, TabPosition ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* TabPositionPlugin_new(void); NDDSUSERDllExport extern void TabPositionPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EquipmentPosition * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EquipmentPosition) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EquipmentPosition must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EquipmentPosition. */ typedef struct EquipmentPosition EquipmentPositionKeyHolder; #define EquipmentPositionPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EquipmentPositionPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EquipmentPositionPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EquipmentPositionPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EquipmentPositionPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EquipmentPositionPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EquipmentPositionPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EquipmentPosition* EquipmentPositionPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EquipmentPosition* EquipmentPositionPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentPosition* EquipmentPositionPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EquipmentPositionPluginSupport_copy_data( EquipmentPosition *out, const EquipmentPosition *in); NDDSUSERDllExport extern void EquipmentPositionPluginSupport_destroy_data_w_params( EquipmentPosition *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EquipmentPositionPluginSupport_destroy_data_ex( EquipmentPosition *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentPositionPluginSupport_destroy_data( EquipmentPosition *sample); NDDSUSERDllExport extern void EquipmentPositionPluginSupport_print_data( const EquipmentPosition *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EquipmentPosition* EquipmentPositionPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentPosition* EquipmentPositionPluginSupport_create_key(void); NDDSUSERDllExport extern void EquipmentPositionPluginSupport_destroy_key_ex( EquipmentPositionKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentPositionPluginSupport_destroy_key( EquipmentPositionKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EquipmentPositionPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EquipmentPositionPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EquipmentPositionPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EquipmentPositionPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EquipmentPositionPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EquipmentPosition *sample, void *handle); NDDSUSERDllExport extern RTIBool EquipmentPositionPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EquipmentPosition *out, const EquipmentPosition *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EquipmentPositionPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EquipmentPosition *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EquipmentPositionPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EquipmentPosition **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentPositionPlugin_deserialize_from_cdr_buffer( EquipmentPosition *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EquipmentPositionPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EquipmentPositionPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EquipmentPositionPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EquipmentPositionPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EquipmentPositionPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EquipmentPosition ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentPositionPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EquipmentPositionKeyHolder *key, const EquipmentPosition *instance); NDDSUSERDllExport extern RTIBool EquipmentPositionPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EquipmentPosition *instance, const EquipmentPositionKeyHolder *key); NDDSUSERDllExport extern RTIBool EquipmentPositionPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EquipmentPositionPlugin_new(void); NDDSUSERDllExport extern void EquipmentPositionPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct EquipmentState * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct EquipmentState) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * EquipmentState must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct EquipmentState. */ typedef struct EquipmentState EquipmentStateKeyHolder; #define EquipmentStatePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EquipmentStatePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EquipmentStatePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EquipmentStatePlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define EquipmentStatePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define EquipmentStatePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EquipmentStatePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EquipmentState* EquipmentStatePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EquipmentState* EquipmentStatePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentState* EquipmentStatePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EquipmentStatePluginSupport_copy_data( EquipmentState *out, const EquipmentState *in); NDDSUSERDllExport extern void EquipmentStatePluginSupport_destroy_data_w_params( EquipmentState *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EquipmentStatePluginSupport_destroy_data_ex( EquipmentState *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentStatePluginSupport_destroy_data( EquipmentState *sample); NDDSUSERDllExport extern void EquipmentStatePluginSupport_print_data( const EquipmentState *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern EquipmentState* EquipmentStatePluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentState* EquipmentStatePluginSupport_create_key(void); NDDSUSERDllExport extern void EquipmentStatePluginSupport_destroy_key_ex( EquipmentStateKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentStatePluginSupport_destroy_key( EquipmentStateKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EquipmentStatePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EquipmentStatePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EquipmentStatePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EquipmentStatePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EquipmentStatePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EquipmentState *sample, void *handle); NDDSUSERDllExport extern RTIBool EquipmentStatePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EquipmentState *out, const EquipmentState *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EquipmentStatePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EquipmentState *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EquipmentStatePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EquipmentState **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentStatePlugin_deserialize_from_cdr_buffer( EquipmentState *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EquipmentStatePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EquipmentStatePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EquipmentStatePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EquipmentStatePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EquipmentStatePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EquipmentState ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentStatePlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, EquipmentStateKeyHolder *key, const EquipmentState *instance); NDDSUSERDllExport extern RTIBool EquipmentStatePlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, EquipmentState *instance, const EquipmentStateKeyHolder *key); NDDSUSERDllExport extern RTIBool EquipmentStatePlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EquipmentStatePlugin_new(void); NDDSUSERDllExport extern void EquipmentStatePlugin_delete(struct PRESTypePlugin *); #define EquipmentSwVersionPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define EquipmentSwVersionPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define EquipmentSwVersionPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define EquipmentSwVersionPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define EquipmentSwVersionPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern EquipmentSwVersion* EquipmentSwVersionPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern EquipmentSwVersion* EquipmentSwVersionPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern EquipmentSwVersion* EquipmentSwVersionPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool EquipmentSwVersionPluginSupport_copy_data( EquipmentSwVersion *out, const EquipmentSwVersion *in); NDDSUSERDllExport extern void EquipmentSwVersionPluginSupport_destroy_data_w_params( EquipmentSwVersion *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void EquipmentSwVersionPluginSupport_destroy_data_ex( EquipmentSwVersion *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void EquipmentSwVersionPluginSupport_destroy_data( EquipmentSwVersion *sample); NDDSUSERDllExport extern void EquipmentSwVersionPluginSupport_print_data( const EquipmentSwVersion *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData EquipmentSwVersionPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void EquipmentSwVersionPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData EquipmentSwVersionPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void EquipmentSwVersionPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void EquipmentSwVersionPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, EquipmentSwVersion *sample, void *handle); NDDSUSERDllExport extern RTIBool EquipmentSwVersionPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, EquipmentSwVersion *out, const EquipmentSwVersion *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool EquipmentSwVersionPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const EquipmentSwVersion *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool EquipmentSwVersionPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, EquipmentSwVersion **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool EquipmentSwVersionPlugin_deserialize_from_cdr_buffer( EquipmentSwVersion *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int EquipmentSwVersionPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind EquipmentSwVersionPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int EquipmentSwVersionPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int EquipmentSwVersionPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool EquipmentSwVersionPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, EquipmentSwVersion ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* EquipmentSwVersionPlugin_new(void); NDDSUSERDllExport extern void EquipmentSwVersionPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct L12_TargetData * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct L12_TargetData) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * L12_TargetData must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct L12_TargetData. */ typedef struct L12_TargetData L12_TargetDataKeyHolder; #define L12_TargetDataPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define L12_TargetDataPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define L12_TargetDataPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define L12_TargetDataPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define L12_TargetDataPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define L12_TargetDataPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define L12_TargetDataPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern L12_TargetData* L12_TargetDataPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern L12_TargetData* L12_TargetDataPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern L12_TargetData* L12_TargetDataPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool L12_TargetDataPluginSupport_copy_data( L12_TargetData *out, const L12_TargetData *in); NDDSUSERDllExport extern void L12_TargetDataPluginSupport_destroy_data_w_params( L12_TargetData *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void L12_TargetDataPluginSupport_destroy_data_ex( L12_TargetData *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void L12_TargetDataPluginSupport_destroy_data( L12_TargetData *sample); NDDSUSERDllExport extern void L12_TargetDataPluginSupport_print_data( const L12_TargetData *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern L12_TargetData* L12_TargetDataPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern L12_TargetData* L12_TargetDataPluginSupport_create_key(void); NDDSUSERDllExport extern void L12_TargetDataPluginSupport_destroy_key_ex( L12_TargetDataKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void L12_TargetDataPluginSupport_destroy_key( L12_TargetDataKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData L12_TargetDataPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void L12_TargetDataPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData L12_TargetDataPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void L12_TargetDataPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void L12_TargetDataPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, L12_TargetData *sample, void *handle); NDDSUSERDllExport extern RTIBool L12_TargetDataPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, L12_TargetData *out, const L12_TargetData *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool L12_TargetDataPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const L12_TargetData *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool L12_TargetDataPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, L12_TargetData **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool L12_TargetDataPlugin_deserialize_from_cdr_buffer( L12_TargetData *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int L12_TargetDataPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind L12_TargetDataPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int L12_TargetDataPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int L12_TargetDataPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool L12_TargetDataPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, L12_TargetData ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool L12_TargetDataPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, L12_TargetDataKeyHolder *key, const L12_TargetData *instance); NDDSUSERDllExport extern RTIBool L12_TargetDataPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, L12_TargetData *instance, const L12_TargetDataKeyHolder *key); NDDSUSERDllExport extern RTIBool L12_TargetDataPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* L12_TargetDataPlugin_new(void); NDDSUSERDllExport extern void L12_TargetDataPlugin_delete(struct PRESTypePlugin *); #define L36_FiringCommandChargesPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define L36_FiringCommandChargesPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define L36_FiringCommandChargesPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define L36_FiringCommandChargesPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define L36_FiringCommandChargesPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern L36_FiringCommandCharges* L36_FiringCommandChargesPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern L36_FiringCommandCharges* L36_FiringCommandChargesPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern L36_FiringCommandCharges* L36_FiringCommandChargesPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool L36_FiringCommandChargesPluginSupport_copy_data( L36_FiringCommandCharges *out, const L36_FiringCommandCharges *in); NDDSUSERDllExport extern void L36_FiringCommandChargesPluginSupport_destroy_data_w_params( L36_FiringCommandCharges *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void L36_FiringCommandChargesPluginSupport_destroy_data_ex( L36_FiringCommandCharges *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void L36_FiringCommandChargesPluginSupport_destroy_data( L36_FiringCommandCharges *sample); NDDSUSERDllExport extern void L36_FiringCommandChargesPluginSupport_print_data( const L36_FiringCommandCharges *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData L36_FiringCommandChargesPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void L36_FiringCommandChargesPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData L36_FiringCommandChargesPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void L36_FiringCommandChargesPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void L36_FiringCommandChargesPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, L36_FiringCommandCharges *sample, void *handle); NDDSUSERDllExport extern RTIBool L36_FiringCommandChargesPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, L36_FiringCommandCharges *out, const L36_FiringCommandCharges *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool L36_FiringCommandChargesPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const L36_FiringCommandCharges *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool L36_FiringCommandChargesPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, L36_FiringCommandCharges **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool L36_FiringCommandChargesPlugin_deserialize_from_cdr_buffer( L36_FiringCommandCharges *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int L36_FiringCommandChargesPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind L36_FiringCommandChargesPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int L36_FiringCommandChargesPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int L36_FiringCommandChargesPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool L36_FiringCommandChargesPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, L36_FiringCommandCharges ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* L36_FiringCommandChargesPlugin_new(void); NDDSUSERDllExport extern void L36_FiringCommandChargesPlugin_delete(struct PRESTypePlugin *); #define L35_TrajectoryPointPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define L35_TrajectoryPointPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define L35_TrajectoryPointPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define L35_TrajectoryPointPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define L35_TrajectoryPointPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern L35_TrajectoryPoint* L35_TrajectoryPointPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern L35_TrajectoryPoint* L35_TrajectoryPointPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern L35_TrajectoryPoint* L35_TrajectoryPointPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool L35_TrajectoryPointPluginSupport_copy_data( L35_TrajectoryPoint *out, const L35_TrajectoryPoint *in); NDDSUSERDllExport extern void L35_TrajectoryPointPluginSupport_destroy_data_w_params( L35_TrajectoryPoint *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void L35_TrajectoryPointPluginSupport_destroy_data_ex( L35_TrajectoryPoint *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void L35_TrajectoryPointPluginSupport_destroy_data( L35_TrajectoryPoint *sample); NDDSUSERDllExport extern void L35_TrajectoryPointPluginSupport_print_data( const L35_TrajectoryPoint *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData L35_TrajectoryPointPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void L35_TrajectoryPointPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData L35_TrajectoryPointPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void L35_TrajectoryPointPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void L35_TrajectoryPointPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, L35_TrajectoryPoint *sample, void *handle); NDDSUSERDllExport extern RTIBool L35_TrajectoryPointPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, L35_TrajectoryPoint *out, const L35_TrajectoryPoint *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool L35_TrajectoryPointPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const L35_TrajectoryPoint *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool L35_TrajectoryPointPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, L35_TrajectoryPoint **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool L35_TrajectoryPointPlugin_deserialize_from_cdr_buffer( L35_TrajectoryPoint *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int L35_TrajectoryPointPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind L35_TrajectoryPointPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int L35_TrajectoryPointPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int L35_TrajectoryPointPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool L35_TrajectoryPointPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, L35_TrajectoryPoint ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* L35_TrajectoryPointPlugin_new(void); NDDSUSERDllExport extern void L35_TrajectoryPointPlugin_delete(struct PRESTypePlugin *); #define L39_ScatteringDataPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define L39_ScatteringDataPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define L39_ScatteringDataPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define L39_ScatteringDataPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define L39_ScatteringDataPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern L39_ScatteringData* L39_ScatteringDataPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern L39_ScatteringData* L39_ScatteringDataPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern L39_ScatteringData* L39_ScatteringDataPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool L39_ScatteringDataPluginSupport_copy_data( L39_ScatteringData *out, const L39_ScatteringData *in); NDDSUSERDllExport extern void L39_ScatteringDataPluginSupport_destroy_data_w_params( L39_ScatteringData *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void L39_ScatteringDataPluginSupport_destroy_data_ex( L39_ScatteringData *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void L39_ScatteringDataPluginSupport_destroy_data( L39_ScatteringData *sample); NDDSUSERDllExport extern void L39_ScatteringDataPluginSupport_print_data( const L39_ScatteringData *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData L39_ScatteringDataPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void L39_ScatteringDataPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData L39_ScatteringDataPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void L39_ScatteringDataPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void L39_ScatteringDataPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, L39_ScatteringData *sample, void *handle); NDDSUSERDllExport extern RTIBool L39_ScatteringDataPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, L39_ScatteringData *out, const L39_ScatteringData *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool L39_ScatteringDataPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const L39_ScatteringData *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool L39_ScatteringDataPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, L39_ScatteringData **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool L39_ScatteringDataPlugin_deserialize_from_cdr_buffer( L39_ScatteringData *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int L39_ScatteringDataPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind L39_ScatteringDataPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int L39_ScatteringDataPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int L39_ScatteringDataPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool L39_ScatteringDataPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, L39_ScatteringData ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* L39_ScatteringDataPlugin_new(void); NDDSUSERDllExport extern void L39_ScatteringDataPlugin_delete(struct PRESTypePlugin *); #define L34_effectorPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define L34_effectorPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define L34_effectorPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define L34_effectorPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define L34_effectorPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern L34_effector* L34_effectorPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern L34_effector* L34_effectorPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern L34_effector* L34_effectorPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool L34_effectorPluginSupport_copy_data( L34_effector *out, const L34_effector *in); NDDSUSERDllExport extern void L34_effectorPluginSupport_destroy_data_w_params( L34_effector *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void L34_effectorPluginSupport_destroy_data_ex( L34_effector *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void L34_effectorPluginSupport_destroy_data( L34_effector *sample); NDDSUSERDllExport extern void L34_effectorPluginSupport_print_data( const L34_effector *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData L34_effectorPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void L34_effectorPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData L34_effectorPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void L34_effectorPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void L34_effectorPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, L34_effector *sample, void *handle); NDDSUSERDllExport extern RTIBool L34_effectorPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, L34_effector *out, const L34_effector *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool L34_effectorPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const L34_effector *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool L34_effectorPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, L34_effector **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool L34_effectorPlugin_deserialize_from_cdr_buffer( L34_effector *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int L34_effectorPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind L34_effectorPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int L34_effectorPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int L34_effectorPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool L34_effectorPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, L34_effector ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* L34_effectorPlugin_new(void); NDDSUSERDllExport extern void L34_effectorPlugin_delete(struct PRESTypePlugin *); #define L33_FireCommandPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define L33_FireCommandPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define L33_FireCommandPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define L33_FireCommandPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define L33_FireCommandPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern L33_FireCommand* L33_FireCommandPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern L33_FireCommand* L33_FireCommandPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern L33_FireCommand* L33_FireCommandPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool L33_FireCommandPluginSupport_copy_data( L33_FireCommand *out, const L33_FireCommand *in); NDDSUSERDllExport extern void L33_FireCommandPluginSupport_destroy_data_w_params( L33_FireCommand *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void L33_FireCommandPluginSupport_destroy_data_ex( L33_FireCommand *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void L33_FireCommandPluginSupport_destroy_data( L33_FireCommand *sample); NDDSUSERDllExport extern void L33_FireCommandPluginSupport_print_data( const L33_FireCommand *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData L33_FireCommandPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void L33_FireCommandPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData L33_FireCommandPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void L33_FireCommandPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void L33_FireCommandPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, L33_FireCommand *sample, void *handle); NDDSUSERDllExport extern RTIBool L33_FireCommandPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, L33_FireCommand *out, const L33_FireCommand *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool L33_FireCommandPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const L33_FireCommand *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool L33_FireCommandPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, L33_FireCommand **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool L33_FireCommandPlugin_deserialize_from_cdr_buffer( L33_FireCommand *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int L33_FireCommandPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind L33_FireCommandPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int L33_FireCommandPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int L33_FireCommandPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool L33_FireCommandPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, L33_FireCommand ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* L33_FireCommandPlugin_new(void); NDDSUSERDllExport extern void L33_FireCommandPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct ExAwesPlanning * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct ExAwesPlanning) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * ExAwesPlanning must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct ExAwesPlanning. */ typedef struct ExAwesPlanning ExAwesPlanningKeyHolder; #define ExAwesPlanningPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define ExAwesPlanningPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define ExAwesPlanningPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define ExAwesPlanningPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define ExAwesPlanningPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define ExAwesPlanningPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define ExAwesPlanningPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern ExAwesPlanning* ExAwesPlanningPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern ExAwesPlanning* ExAwesPlanningPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ExAwesPlanning* ExAwesPlanningPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool ExAwesPlanningPluginSupport_copy_data( ExAwesPlanning *out, const ExAwesPlanning *in); NDDSUSERDllExport extern void ExAwesPlanningPluginSupport_destroy_data_w_params( ExAwesPlanning *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void ExAwesPlanningPluginSupport_destroy_data_ex( ExAwesPlanning *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ExAwesPlanningPluginSupport_destroy_data( ExAwesPlanning *sample); NDDSUSERDllExport extern void ExAwesPlanningPluginSupport_print_data( const ExAwesPlanning *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern ExAwesPlanning* ExAwesPlanningPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ExAwesPlanning* ExAwesPlanningPluginSupport_create_key(void); NDDSUSERDllExport extern void ExAwesPlanningPluginSupport_destroy_key_ex( ExAwesPlanningKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ExAwesPlanningPluginSupport_destroy_key( ExAwesPlanningKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData ExAwesPlanningPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void ExAwesPlanningPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData ExAwesPlanningPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void ExAwesPlanningPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void ExAwesPlanningPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, ExAwesPlanning *sample, void *handle); NDDSUSERDllExport extern RTIBool ExAwesPlanningPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, ExAwesPlanning *out, const ExAwesPlanning *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool ExAwesPlanningPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const ExAwesPlanning *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool ExAwesPlanningPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, ExAwesPlanning **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ExAwesPlanningPlugin_deserialize_from_cdr_buffer( ExAwesPlanning *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int ExAwesPlanningPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind ExAwesPlanningPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int ExAwesPlanningPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int ExAwesPlanningPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool ExAwesPlanningPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, ExAwesPlanning ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ExAwesPlanningPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, ExAwesPlanningKeyHolder *key, const ExAwesPlanning *instance); NDDSUSERDllExport extern RTIBool ExAwesPlanningPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, ExAwesPlanning *instance, const ExAwesPlanningKeyHolder *key); NDDSUSERDllExport extern RTIBool ExAwesPlanningPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* ExAwesPlanningPlugin_new(void); NDDSUSERDllExport extern void ExAwesPlanningPlugin_delete(struct PRESTypePlugin *); #define L13_EffectorUnitPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define L13_EffectorUnitPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define L13_EffectorUnitPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define L13_EffectorUnitPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define L13_EffectorUnitPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern L13_EffectorUnit* L13_EffectorUnitPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern L13_EffectorUnit* L13_EffectorUnitPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern L13_EffectorUnit* L13_EffectorUnitPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool L13_EffectorUnitPluginSupport_copy_data( L13_EffectorUnit *out, const L13_EffectorUnit *in); NDDSUSERDllExport extern void L13_EffectorUnitPluginSupport_destroy_data_w_params( L13_EffectorUnit *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void L13_EffectorUnitPluginSupport_destroy_data_ex( L13_EffectorUnit *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void L13_EffectorUnitPluginSupport_destroy_data( L13_EffectorUnit *sample); NDDSUSERDllExport extern void L13_EffectorUnitPluginSupport_print_data( const L13_EffectorUnit *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData L13_EffectorUnitPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void L13_EffectorUnitPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData L13_EffectorUnitPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void L13_EffectorUnitPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void L13_EffectorUnitPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, L13_EffectorUnit *sample, void *handle); NDDSUSERDllExport extern RTIBool L13_EffectorUnitPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, L13_EffectorUnit *out, const L13_EffectorUnit *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool L13_EffectorUnitPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const L13_EffectorUnit *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool L13_EffectorUnitPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, L13_EffectorUnit **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool L13_EffectorUnitPlugin_deserialize_from_cdr_buffer( L13_EffectorUnit *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int L13_EffectorUnitPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind L13_EffectorUnitPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int L13_EffectorUnitPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int L13_EffectorUnitPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool L13_EffectorUnitPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, L13_EffectorUnit ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* L13_EffectorUnitPlugin_new(void); NDDSUSERDllExport extern void L13_EffectorUnitPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct ExReportEffector * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct ExReportEffector) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * ExReportEffector must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct ExReportEffector. */ typedef struct ExReportEffector ExReportEffectorKeyHolder; #define ExReportEffectorPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define ExReportEffectorPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define ExReportEffectorPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define ExReportEffectorPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define ExReportEffectorPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define ExReportEffectorPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define ExReportEffectorPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern ExReportEffector* ExReportEffectorPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern ExReportEffector* ExReportEffectorPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ExReportEffector* ExReportEffectorPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool ExReportEffectorPluginSupport_copy_data( ExReportEffector *out, const ExReportEffector *in); NDDSUSERDllExport extern void ExReportEffectorPluginSupport_destroy_data_w_params( ExReportEffector *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void ExReportEffectorPluginSupport_destroy_data_ex( ExReportEffector *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ExReportEffectorPluginSupport_destroy_data( ExReportEffector *sample); NDDSUSERDllExport extern void ExReportEffectorPluginSupport_print_data( const ExReportEffector *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern ExReportEffector* ExReportEffectorPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ExReportEffector* ExReportEffectorPluginSupport_create_key(void); NDDSUSERDllExport extern void ExReportEffectorPluginSupport_destroy_key_ex( ExReportEffectorKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ExReportEffectorPluginSupport_destroy_key( ExReportEffectorKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData ExReportEffectorPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void ExReportEffectorPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData ExReportEffectorPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void ExReportEffectorPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void ExReportEffectorPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, ExReportEffector *sample, void *handle); NDDSUSERDllExport extern RTIBool ExReportEffectorPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, ExReportEffector *out, const ExReportEffector *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool ExReportEffectorPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const ExReportEffector *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool ExReportEffectorPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, ExReportEffector **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ExReportEffectorPlugin_deserialize_from_cdr_buffer( ExReportEffector *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int ExReportEffectorPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind ExReportEffectorPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int ExReportEffectorPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int ExReportEffectorPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool ExReportEffectorPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, ExReportEffector ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ExReportEffectorPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, ExReportEffectorKeyHolder *key, const ExReportEffector *instance); NDDSUSERDllExport extern RTIBool ExReportEffectorPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, ExReportEffector *instance, const ExReportEffectorKeyHolder *key); NDDSUSERDllExport extern RTIBool ExReportEffectorPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* ExReportEffectorPlugin_new(void); NDDSUSERDllExport extern void ExReportEffectorPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct Ex_ReconResults * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct Ex_ReconResults) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * Ex_ReconResults must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct Ex_ReconResults. */ typedef struct Ex_ReconResults Ex_ReconResultsKeyHolder; #define Ex_ReconResultsPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define Ex_ReconResultsPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define Ex_ReconResultsPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define Ex_ReconResultsPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define Ex_ReconResultsPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define Ex_ReconResultsPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define Ex_ReconResultsPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern Ex_ReconResults* Ex_ReconResultsPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern Ex_ReconResults* Ex_ReconResultsPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern Ex_ReconResults* Ex_ReconResultsPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool Ex_ReconResultsPluginSupport_copy_data( Ex_ReconResults *out, const Ex_ReconResults *in); NDDSUSERDllExport extern void Ex_ReconResultsPluginSupport_destroy_data_w_params( Ex_ReconResults *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void Ex_ReconResultsPluginSupport_destroy_data_ex( Ex_ReconResults *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void Ex_ReconResultsPluginSupport_destroy_data( Ex_ReconResults *sample); NDDSUSERDllExport extern void Ex_ReconResultsPluginSupport_print_data( const Ex_ReconResults *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern Ex_ReconResults* Ex_ReconResultsPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern Ex_ReconResults* Ex_ReconResultsPluginSupport_create_key(void); NDDSUSERDllExport extern void Ex_ReconResultsPluginSupport_destroy_key_ex( Ex_ReconResultsKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void Ex_ReconResultsPluginSupport_destroy_key( Ex_ReconResultsKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData Ex_ReconResultsPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void Ex_ReconResultsPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData Ex_ReconResultsPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void Ex_ReconResultsPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void Ex_ReconResultsPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, Ex_ReconResults *sample, void *handle); NDDSUSERDllExport extern RTIBool Ex_ReconResultsPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, Ex_ReconResults *out, const Ex_ReconResults *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool Ex_ReconResultsPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const Ex_ReconResults *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool Ex_ReconResultsPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, Ex_ReconResults **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool Ex_ReconResultsPlugin_deserialize_from_cdr_buffer( Ex_ReconResults *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int Ex_ReconResultsPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind Ex_ReconResultsPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int Ex_ReconResultsPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int Ex_ReconResultsPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool Ex_ReconResultsPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, Ex_ReconResults ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool Ex_ReconResultsPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, Ex_ReconResultsKeyHolder *key, const Ex_ReconResults *instance); NDDSUSERDllExport extern RTIBool Ex_ReconResultsPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, Ex_ReconResults *instance, const Ex_ReconResultsKeyHolder *key); NDDSUSERDllExport extern RTIBool Ex_ReconResultsPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* Ex_ReconResultsPlugin_new(void); NDDSUSERDllExport extern void Ex_ReconResultsPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct Ex_ReportSupplyZone * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct Ex_ReportSupplyZone) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * Ex_ReportSupplyZone must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct Ex_ReportSupplyZone. */ typedef struct Ex_ReportSupplyZone Ex_ReportSupplyZoneKeyHolder; #define Ex_ReportSupplyZonePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define Ex_ReportSupplyZonePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define Ex_ReportSupplyZonePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define Ex_ReportSupplyZonePlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define Ex_ReportSupplyZonePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define Ex_ReportSupplyZonePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define Ex_ReportSupplyZonePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern Ex_ReportSupplyZone* Ex_ReportSupplyZonePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern Ex_ReportSupplyZone* Ex_ReportSupplyZonePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern Ex_ReportSupplyZone* Ex_ReportSupplyZonePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool Ex_ReportSupplyZonePluginSupport_copy_data( Ex_ReportSupplyZone *out, const Ex_ReportSupplyZone *in); NDDSUSERDllExport extern void Ex_ReportSupplyZonePluginSupport_destroy_data_w_params( Ex_ReportSupplyZone *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void Ex_ReportSupplyZonePluginSupport_destroy_data_ex( Ex_ReportSupplyZone *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void Ex_ReportSupplyZonePluginSupport_destroy_data( Ex_ReportSupplyZone *sample); NDDSUSERDllExport extern void Ex_ReportSupplyZonePluginSupport_print_data( const Ex_ReportSupplyZone *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern Ex_ReportSupplyZone* Ex_ReportSupplyZonePluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern Ex_ReportSupplyZone* Ex_ReportSupplyZonePluginSupport_create_key(void); NDDSUSERDllExport extern void Ex_ReportSupplyZonePluginSupport_destroy_key_ex( Ex_ReportSupplyZoneKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void Ex_ReportSupplyZonePluginSupport_destroy_key( Ex_ReportSupplyZoneKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData Ex_ReportSupplyZonePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void Ex_ReportSupplyZonePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData Ex_ReportSupplyZonePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void Ex_ReportSupplyZonePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void Ex_ReportSupplyZonePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, Ex_ReportSupplyZone *sample, void *handle); NDDSUSERDllExport extern RTIBool Ex_ReportSupplyZonePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, Ex_ReportSupplyZone *out, const Ex_ReportSupplyZone *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool Ex_ReportSupplyZonePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const Ex_ReportSupplyZone *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool Ex_ReportSupplyZonePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, Ex_ReportSupplyZone **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool Ex_ReportSupplyZonePlugin_deserialize_from_cdr_buffer( Ex_ReportSupplyZone *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int Ex_ReportSupplyZonePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind Ex_ReportSupplyZonePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int Ex_ReportSupplyZonePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int Ex_ReportSupplyZonePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool Ex_ReportSupplyZonePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, Ex_ReportSupplyZone ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool Ex_ReportSupplyZonePlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, Ex_ReportSupplyZoneKeyHolder *key, const Ex_ReportSupplyZone *instance); NDDSUSERDllExport extern RTIBool Ex_ReportSupplyZonePlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, Ex_ReportSupplyZone *instance, const Ex_ReportSupplyZoneKeyHolder *key); NDDSUSERDllExport extern RTIBool Ex_ReportSupplyZonePlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* Ex_ReportSupplyZonePlugin_new(void); NDDSUSERDllExport extern void Ex_ReportSupplyZonePlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct FireSmokeMarkerData * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct FireSmokeMarkerData) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * FireSmokeMarkerData must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct FireSmokeMarkerData. */ typedef struct FireSmokeMarkerData FireSmokeMarkerDataKeyHolder; #define FireSmokeMarkerDataPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define FireSmokeMarkerDataPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define FireSmokeMarkerDataPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define FireSmokeMarkerDataPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define FireSmokeMarkerDataPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define FireSmokeMarkerDataPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define FireSmokeMarkerDataPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern FireSmokeMarkerData* FireSmokeMarkerDataPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern FireSmokeMarkerData* FireSmokeMarkerDataPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern FireSmokeMarkerData* FireSmokeMarkerDataPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool FireSmokeMarkerDataPluginSupport_copy_data( FireSmokeMarkerData *out, const FireSmokeMarkerData *in); NDDSUSERDllExport extern void FireSmokeMarkerDataPluginSupport_destroy_data_w_params( FireSmokeMarkerData *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void FireSmokeMarkerDataPluginSupport_destroy_data_ex( FireSmokeMarkerData *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void FireSmokeMarkerDataPluginSupport_destroy_data( FireSmokeMarkerData *sample); NDDSUSERDllExport extern void FireSmokeMarkerDataPluginSupport_print_data( const FireSmokeMarkerData *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern FireSmokeMarkerData* FireSmokeMarkerDataPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern FireSmokeMarkerData* FireSmokeMarkerDataPluginSupport_create_key(void); NDDSUSERDllExport extern void FireSmokeMarkerDataPluginSupport_destroy_key_ex( FireSmokeMarkerDataKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void FireSmokeMarkerDataPluginSupport_destroy_key( FireSmokeMarkerDataKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData FireSmokeMarkerDataPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void FireSmokeMarkerDataPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData FireSmokeMarkerDataPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void FireSmokeMarkerDataPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void FireSmokeMarkerDataPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, FireSmokeMarkerData *sample, void *handle); NDDSUSERDllExport extern RTIBool FireSmokeMarkerDataPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, FireSmokeMarkerData *out, const FireSmokeMarkerData *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool FireSmokeMarkerDataPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const FireSmokeMarkerData *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool FireSmokeMarkerDataPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, FireSmokeMarkerData **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool FireSmokeMarkerDataPlugin_deserialize_from_cdr_buffer( FireSmokeMarkerData *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int FireSmokeMarkerDataPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind FireSmokeMarkerDataPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int FireSmokeMarkerDataPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int FireSmokeMarkerDataPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool FireSmokeMarkerDataPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, FireSmokeMarkerData ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool FireSmokeMarkerDataPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, FireSmokeMarkerDataKeyHolder *key, const FireSmokeMarkerData *instance); NDDSUSERDllExport extern RTIBool FireSmokeMarkerDataPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, FireSmokeMarkerData *instance, const FireSmokeMarkerDataKeyHolder *key); NDDSUSERDllExport extern RTIBool FireSmokeMarkerDataPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* FireSmokeMarkerDataPlugin_new(void); NDDSUSERDllExport extern void FireSmokeMarkerDataPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct FunctionalAreaEntry * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct FunctionalAreaEntry) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * FunctionalAreaEntry must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct FunctionalAreaEntry. */ typedef struct FunctionalAreaEntry FunctionalAreaEntryKeyHolder; #define FunctionalAreaEntryPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define FunctionalAreaEntryPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define FunctionalAreaEntryPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define FunctionalAreaEntryPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define FunctionalAreaEntryPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define FunctionalAreaEntryPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define FunctionalAreaEntryPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern FunctionalAreaEntry* FunctionalAreaEntryPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern FunctionalAreaEntry* FunctionalAreaEntryPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern FunctionalAreaEntry* FunctionalAreaEntryPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool FunctionalAreaEntryPluginSupport_copy_data( FunctionalAreaEntry *out, const FunctionalAreaEntry *in); NDDSUSERDllExport extern void FunctionalAreaEntryPluginSupport_destroy_data_w_params( FunctionalAreaEntry *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void FunctionalAreaEntryPluginSupport_destroy_data_ex( FunctionalAreaEntry *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void FunctionalAreaEntryPluginSupport_destroy_data( FunctionalAreaEntry *sample); NDDSUSERDllExport extern void FunctionalAreaEntryPluginSupport_print_data( const FunctionalAreaEntry *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern FunctionalAreaEntry* FunctionalAreaEntryPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern FunctionalAreaEntry* FunctionalAreaEntryPluginSupport_create_key(void); NDDSUSERDllExport extern void FunctionalAreaEntryPluginSupport_destroy_key_ex( FunctionalAreaEntryKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void FunctionalAreaEntryPluginSupport_destroy_key( FunctionalAreaEntryKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData FunctionalAreaEntryPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void FunctionalAreaEntryPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData FunctionalAreaEntryPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void FunctionalAreaEntryPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void FunctionalAreaEntryPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, FunctionalAreaEntry *sample, void *handle); NDDSUSERDllExport extern RTIBool FunctionalAreaEntryPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, FunctionalAreaEntry *out, const FunctionalAreaEntry *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool FunctionalAreaEntryPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const FunctionalAreaEntry *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool FunctionalAreaEntryPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, FunctionalAreaEntry **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool FunctionalAreaEntryPlugin_deserialize_from_cdr_buffer( FunctionalAreaEntry *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int FunctionalAreaEntryPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind FunctionalAreaEntryPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int FunctionalAreaEntryPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int FunctionalAreaEntryPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool FunctionalAreaEntryPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, FunctionalAreaEntry ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool FunctionalAreaEntryPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, FunctionalAreaEntryKeyHolder *key, const FunctionalAreaEntry *instance); NDDSUSERDllExport extern RTIBool FunctionalAreaEntryPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, FunctionalAreaEntry *instance, const FunctionalAreaEntryKeyHolder *key); NDDSUSERDllExport extern RTIBool FunctionalAreaEntryPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* FunctionalAreaEntryPlugin_new(void); NDDSUSERDllExport extern void FunctionalAreaEntryPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct GeopairingData * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct GeopairingData) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * GeopairingData must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct GeopairingData. */ typedef struct GeopairingData GeopairingDataKeyHolder; #define GeopairingDataPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define GeopairingDataPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define GeopairingDataPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define GeopairingDataPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define GeopairingDataPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define GeopairingDataPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define GeopairingDataPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern GeopairingData* GeopairingDataPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern GeopairingData* GeopairingDataPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern GeopairingData* GeopairingDataPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool GeopairingDataPluginSupport_copy_data( GeopairingData *out, const GeopairingData *in); NDDSUSERDllExport extern void GeopairingDataPluginSupport_destroy_data_w_params( GeopairingData *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void GeopairingDataPluginSupport_destroy_data_ex( GeopairingData *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void GeopairingDataPluginSupport_destroy_data( GeopairingData *sample); NDDSUSERDllExport extern void GeopairingDataPluginSupport_print_data( const GeopairingData *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern GeopairingData* GeopairingDataPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern GeopairingData* GeopairingDataPluginSupport_create_key(void); NDDSUSERDllExport extern void GeopairingDataPluginSupport_destroy_key_ex( GeopairingDataKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void GeopairingDataPluginSupport_destroy_key( GeopairingDataKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData GeopairingDataPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void GeopairingDataPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData GeopairingDataPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void GeopairingDataPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void GeopairingDataPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, GeopairingData *sample, void *handle); NDDSUSERDllExport extern RTIBool GeopairingDataPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, GeopairingData *out, const GeopairingData *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool GeopairingDataPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const GeopairingData *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool GeopairingDataPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, GeopairingData **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool GeopairingDataPlugin_deserialize_from_cdr_buffer( GeopairingData *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int GeopairingDataPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind GeopairingDataPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int GeopairingDataPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int GeopairingDataPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool GeopairingDataPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, GeopairingData ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool GeopairingDataPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, GeopairingDataKeyHolder *key, const GeopairingData *instance); NDDSUSERDllExport extern RTIBool GeopairingDataPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, GeopairingData *instance, const GeopairingDataKeyHolder *key); NDDSUSERDllExport extern RTIBool GeopairingDataPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* GeopairingDataPlugin_new(void); NDDSUSERDllExport extern void GeopairingDataPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct LaserDesignation * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct LaserDesignation) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * LaserDesignation must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct LaserDesignation. */ typedef struct LaserDesignation LaserDesignationKeyHolder; #define LaserDesignationPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define LaserDesignationPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define LaserDesignationPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define LaserDesignationPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define LaserDesignationPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define LaserDesignationPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define LaserDesignationPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern LaserDesignation* LaserDesignationPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern LaserDesignation* LaserDesignationPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern LaserDesignation* LaserDesignationPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool LaserDesignationPluginSupport_copy_data( LaserDesignation *out, const LaserDesignation *in); NDDSUSERDllExport extern void LaserDesignationPluginSupport_destroy_data_w_params( LaserDesignation *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void LaserDesignationPluginSupport_destroy_data_ex( LaserDesignation *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void LaserDesignationPluginSupport_destroy_data( LaserDesignation *sample); NDDSUSERDllExport extern void LaserDesignationPluginSupport_print_data( const LaserDesignation *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern LaserDesignation* LaserDesignationPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern LaserDesignation* LaserDesignationPluginSupport_create_key(void); NDDSUSERDllExport extern void LaserDesignationPluginSupport_destroy_key_ex( LaserDesignationKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void LaserDesignationPluginSupport_destroy_key( LaserDesignationKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData LaserDesignationPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void LaserDesignationPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData LaserDesignationPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void LaserDesignationPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void LaserDesignationPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, LaserDesignation *sample, void *handle); NDDSUSERDllExport extern RTIBool LaserDesignationPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, LaserDesignation *out, const LaserDesignation *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool LaserDesignationPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const LaserDesignation *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool LaserDesignationPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, LaserDesignation **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool LaserDesignationPlugin_deserialize_from_cdr_buffer( LaserDesignation *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int LaserDesignationPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind LaserDesignationPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int LaserDesignationPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int LaserDesignationPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool LaserDesignationPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, LaserDesignation ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool LaserDesignationPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, LaserDesignationKeyHolder *key, const LaserDesignation *instance); NDDSUSERDllExport extern RTIBool LaserDesignationPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, LaserDesignation *instance, const LaserDesignationKeyHolder *key); NDDSUSERDllExport extern RTIBool LaserDesignationPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* LaserDesignationPlugin_new(void); NDDSUSERDllExport extern void LaserDesignationPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct MineTriggered * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct MineTriggered) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * MineTriggered must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct MineTriggered. */ typedef struct MineTriggered MineTriggeredKeyHolder; #define MineTriggeredPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define MineTriggeredPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define MineTriggeredPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define MineTriggeredPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define MineTriggeredPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define MineTriggeredPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define MineTriggeredPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern MineTriggered* MineTriggeredPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern MineTriggered* MineTriggeredPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern MineTriggered* MineTriggeredPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool MineTriggeredPluginSupport_copy_data( MineTriggered *out, const MineTriggered *in); NDDSUSERDllExport extern void MineTriggeredPluginSupport_destroy_data_w_params( MineTriggered *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void MineTriggeredPluginSupport_destroy_data_ex( MineTriggered *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void MineTriggeredPluginSupport_destroy_data( MineTriggered *sample); NDDSUSERDllExport extern void MineTriggeredPluginSupport_print_data( const MineTriggered *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern MineTriggered* MineTriggeredPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern MineTriggered* MineTriggeredPluginSupport_create_key(void); NDDSUSERDllExport extern void MineTriggeredPluginSupport_destroy_key_ex( MineTriggeredKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void MineTriggeredPluginSupport_destroy_key( MineTriggeredKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData MineTriggeredPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void MineTriggeredPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData MineTriggeredPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void MineTriggeredPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void MineTriggeredPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, MineTriggered *sample, void *handle); NDDSUSERDllExport extern RTIBool MineTriggeredPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, MineTriggered *out, const MineTriggered *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool MineTriggeredPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const MineTriggered *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool MineTriggeredPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, MineTriggered **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool MineTriggeredPlugin_deserialize_from_cdr_buffer( MineTriggered *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int MineTriggeredPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind MineTriggeredPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int MineTriggeredPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int MineTriggeredPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool MineTriggeredPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, MineTriggered ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool MineTriggeredPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, MineTriggeredKeyHolder *key, const MineTriggered *instance); NDDSUSERDllExport extern RTIBool MineTriggeredPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, MineTriggered *instance, const MineTriggeredKeyHolder *key); NDDSUSERDllExport extern RTIBool MineTriggeredPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* MineTriggeredPlugin_new(void); NDDSUSERDllExport extern void MineTriggeredPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct MinelayerTrailerData * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct MinelayerTrailerData) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * MinelayerTrailerData must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct MinelayerTrailerData. */ typedef struct MinelayerTrailerData MinelayerTrailerDataKeyHolder; #define MinelayerTrailerDataPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define MinelayerTrailerDataPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define MinelayerTrailerDataPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define MinelayerTrailerDataPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define MinelayerTrailerDataPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define MinelayerTrailerDataPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define MinelayerTrailerDataPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern MinelayerTrailerData* MinelayerTrailerDataPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern MinelayerTrailerData* MinelayerTrailerDataPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern MinelayerTrailerData* MinelayerTrailerDataPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool MinelayerTrailerDataPluginSupport_copy_data( MinelayerTrailerData *out, const MinelayerTrailerData *in); NDDSUSERDllExport extern void MinelayerTrailerDataPluginSupport_destroy_data_w_params( MinelayerTrailerData *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void MinelayerTrailerDataPluginSupport_destroy_data_ex( MinelayerTrailerData *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void MinelayerTrailerDataPluginSupport_destroy_data( MinelayerTrailerData *sample); NDDSUSERDllExport extern void MinelayerTrailerDataPluginSupport_print_data( const MinelayerTrailerData *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern MinelayerTrailerData* MinelayerTrailerDataPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern MinelayerTrailerData* MinelayerTrailerDataPluginSupport_create_key(void); NDDSUSERDllExport extern void MinelayerTrailerDataPluginSupport_destroy_key_ex( MinelayerTrailerDataKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void MinelayerTrailerDataPluginSupport_destroy_key( MinelayerTrailerDataKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData MinelayerTrailerDataPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void MinelayerTrailerDataPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData MinelayerTrailerDataPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void MinelayerTrailerDataPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void MinelayerTrailerDataPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, MinelayerTrailerData *sample, void *handle); NDDSUSERDllExport extern RTIBool MinelayerTrailerDataPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, MinelayerTrailerData *out, const MinelayerTrailerData *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool MinelayerTrailerDataPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const MinelayerTrailerData *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool MinelayerTrailerDataPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, MinelayerTrailerData **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool MinelayerTrailerDataPlugin_deserialize_from_cdr_buffer( MinelayerTrailerData *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int MinelayerTrailerDataPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind MinelayerTrailerDataPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int MinelayerTrailerDataPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int MinelayerTrailerDataPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool MinelayerTrailerDataPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, MinelayerTrailerData ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool MinelayerTrailerDataPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, MinelayerTrailerDataKeyHolder *key, const MinelayerTrailerData *instance); NDDSUSERDllExport extern RTIBool MinelayerTrailerDataPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, MinelayerTrailerData *instance, const MinelayerTrailerDataKeyHolder *key); NDDSUSERDllExport extern RTIBool MinelayerTrailerDataPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* MinelayerTrailerDataPlugin_new(void); NDDSUSERDllExport extern void MinelayerTrailerDataPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct MinelayerThrowerData * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct MinelayerThrowerData) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * MinelayerThrowerData must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct MinelayerThrowerData. */ typedef struct MinelayerThrowerData MinelayerThrowerDataKeyHolder; #define MinelayerThrowerDataPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define MinelayerThrowerDataPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define MinelayerThrowerDataPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define MinelayerThrowerDataPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define MinelayerThrowerDataPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define MinelayerThrowerDataPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define MinelayerThrowerDataPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern MinelayerThrowerData* MinelayerThrowerDataPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern MinelayerThrowerData* MinelayerThrowerDataPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern MinelayerThrowerData* MinelayerThrowerDataPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool MinelayerThrowerDataPluginSupport_copy_data( MinelayerThrowerData *out, const MinelayerThrowerData *in); NDDSUSERDllExport extern void MinelayerThrowerDataPluginSupport_destroy_data_w_params( MinelayerThrowerData *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void MinelayerThrowerDataPluginSupport_destroy_data_ex( MinelayerThrowerData *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void MinelayerThrowerDataPluginSupport_destroy_data( MinelayerThrowerData *sample); NDDSUSERDllExport extern void MinelayerThrowerDataPluginSupport_print_data( const MinelayerThrowerData *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern MinelayerThrowerData* MinelayerThrowerDataPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern MinelayerThrowerData* MinelayerThrowerDataPluginSupport_create_key(void); NDDSUSERDllExport extern void MinelayerThrowerDataPluginSupport_destroy_key_ex( MinelayerThrowerDataKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void MinelayerThrowerDataPluginSupport_destroy_key( MinelayerThrowerDataKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData MinelayerThrowerDataPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void MinelayerThrowerDataPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData MinelayerThrowerDataPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void MinelayerThrowerDataPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void MinelayerThrowerDataPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, MinelayerThrowerData *sample, void *handle); NDDSUSERDllExport extern RTIBool MinelayerThrowerDataPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, MinelayerThrowerData *out, const MinelayerThrowerData *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool MinelayerThrowerDataPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const MinelayerThrowerData *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool MinelayerThrowerDataPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, MinelayerThrowerData **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool MinelayerThrowerDataPlugin_deserialize_from_cdr_buffer( MinelayerThrowerData *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int MinelayerThrowerDataPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind MinelayerThrowerDataPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int MinelayerThrowerDataPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int MinelayerThrowerDataPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool MinelayerThrowerDataPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, MinelayerThrowerData ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool MinelayerThrowerDataPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, MinelayerThrowerDataKeyHolder *key, const MinelayerThrowerData *instance); NDDSUSERDllExport extern RTIBool MinelayerThrowerDataPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, MinelayerThrowerData *instance, const MinelayerThrowerDataKeyHolder *key); NDDSUSERDllExport extern RTIBool MinelayerThrowerDataPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* MinelayerThrowerDataPlugin_new(void); NDDSUSERDllExport extern void MinelayerThrowerDataPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct MinelayerTrailerPosition * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct MinelayerTrailerPosition) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * MinelayerTrailerPosition must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct MinelayerTrailerPosition. */ typedef struct MinelayerTrailerPosition MinelayerTrailerPositionKeyHolder; #define MinelayerTrailerPositionPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define MinelayerTrailerPositionPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define MinelayerTrailerPositionPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define MinelayerTrailerPositionPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define MinelayerTrailerPositionPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define MinelayerTrailerPositionPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define MinelayerTrailerPositionPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern MinelayerTrailerPosition* MinelayerTrailerPositionPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern MinelayerTrailerPosition* MinelayerTrailerPositionPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern MinelayerTrailerPosition* MinelayerTrailerPositionPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool MinelayerTrailerPositionPluginSupport_copy_data( MinelayerTrailerPosition *out, const MinelayerTrailerPosition *in); NDDSUSERDllExport extern void MinelayerTrailerPositionPluginSupport_destroy_data_w_params( MinelayerTrailerPosition *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void MinelayerTrailerPositionPluginSupport_destroy_data_ex( MinelayerTrailerPosition *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void MinelayerTrailerPositionPluginSupport_destroy_data( MinelayerTrailerPosition *sample); NDDSUSERDllExport extern void MinelayerTrailerPositionPluginSupport_print_data( const MinelayerTrailerPosition *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern MinelayerTrailerPosition* MinelayerTrailerPositionPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern MinelayerTrailerPosition* MinelayerTrailerPositionPluginSupport_create_key(void); NDDSUSERDllExport extern void MinelayerTrailerPositionPluginSupport_destroy_key_ex( MinelayerTrailerPositionKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void MinelayerTrailerPositionPluginSupport_destroy_key( MinelayerTrailerPositionKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData MinelayerTrailerPositionPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void MinelayerTrailerPositionPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData MinelayerTrailerPositionPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void MinelayerTrailerPositionPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void MinelayerTrailerPositionPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, MinelayerTrailerPosition *sample, void *handle); NDDSUSERDllExport extern RTIBool MinelayerTrailerPositionPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, MinelayerTrailerPosition *out, const MinelayerTrailerPosition *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool MinelayerTrailerPositionPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const MinelayerTrailerPosition *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool MinelayerTrailerPositionPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, MinelayerTrailerPosition **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool MinelayerTrailerPositionPlugin_deserialize_from_cdr_buffer( MinelayerTrailerPosition *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int MinelayerTrailerPositionPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind MinelayerTrailerPositionPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int MinelayerTrailerPositionPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int MinelayerTrailerPositionPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool MinelayerTrailerPositionPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, MinelayerTrailerPosition ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool MinelayerTrailerPositionPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, MinelayerTrailerPositionKeyHolder *key, const MinelayerTrailerPosition *instance); NDDSUSERDllExport extern RTIBool MinelayerTrailerPositionPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, MinelayerTrailerPosition *instance, const MinelayerTrailerPositionKeyHolder *key); NDDSUSERDllExport extern RTIBool MinelayerTrailerPositionPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* MinelayerTrailerPositionPlugin_new(void); NDDSUSERDllExport extern void MinelayerTrailerPositionPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct OcData * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct OcData) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * OcData must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct OcData. */ typedef struct OcData OcDataKeyHolder; #define OcDataPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define OcDataPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define OcDataPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define OcDataPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define OcDataPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define OcDataPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define OcDataPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern OcData* OcDataPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern OcData* OcDataPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern OcData* OcDataPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool OcDataPluginSupport_copy_data( OcData *out, const OcData *in); NDDSUSERDllExport extern void OcDataPluginSupport_destroy_data_w_params( OcData *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void OcDataPluginSupport_destroy_data_ex( OcData *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void OcDataPluginSupport_destroy_data( OcData *sample); NDDSUSERDllExport extern void OcDataPluginSupport_print_data( const OcData *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern OcData* OcDataPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern OcData* OcDataPluginSupport_create_key(void); NDDSUSERDllExport extern void OcDataPluginSupport_destroy_key_ex( OcDataKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void OcDataPluginSupport_destroy_key( OcDataKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData OcDataPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void OcDataPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData OcDataPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void OcDataPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void OcDataPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, OcData *sample, void *handle); NDDSUSERDllExport extern RTIBool OcDataPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, OcData *out, const OcData *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool OcDataPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const OcData *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool OcDataPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, OcData **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool OcDataPlugin_deserialize_from_cdr_buffer( OcData *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int OcDataPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind OcDataPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int OcDataPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int OcDataPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool OcDataPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, OcData ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool OcDataPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, OcDataKeyHolder *key, const OcData *instance); NDDSUSERDllExport extern RTIBool OcDataPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, OcData *instance, const OcDataKeyHolder *key); NDDSUSERDllExport extern RTIBool OcDataPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* OcDataPlugin_new(void); NDDSUSERDllExport extern void OcDataPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct OperatorAction * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct OperatorAction) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * OperatorAction must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct OperatorAction. */ typedef struct OperatorAction OperatorActionKeyHolder; #define OperatorActionPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define OperatorActionPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define OperatorActionPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define OperatorActionPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define OperatorActionPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define OperatorActionPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define OperatorActionPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern OperatorAction* OperatorActionPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern OperatorAction* OperatorActionPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern OperatorAction* OperatorActionPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool OperatorActionPluginSupport_copy_data( OperatorAction *out, const OperatorAction *in); NDDSUSERDllExport extern void OperatorActionPluginSupport_destroy_data_w_params( OperatorAction *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void OperatorActionPluginSupport_destroy_data_ex( OperatorAction *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void OperatorActionPluginSupport_destroy_data( OperatorAction *sample); NDDSUSERDllExport extern void OperatorActionPluginSupport_print_data( const OperatorAction *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern OperatorAction* OperatorActionPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern OperatorAction* OperatorActionPluginSupport_create_key(void); NDDSUSERDllExport extern void OperatorActionPluginSupport_destroy_key_ex( OperatorActionKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void OperatorActionPluginSupport_destroy_key( OperatorActionKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData OperatorActionPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void OperatorActionPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData OperatorActionPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void OperatorActionPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void OperatorActionPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, OperatorAction *sample, void *handle); NDDSUSERDllExport extern RTIBool OperatorActionPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, OperatorAction *out, const OperatorAction *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool OperatorActionPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const OperatorAction *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool OperatorActionPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, OperatorAction **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool OperatorActionPlugin_deserialize_from_cdr_buffer( OperatorAction *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int OperatorActionPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind OperatorActionPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int OperatorActionPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int OperatorActionPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool OperatorActionPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, OperatorAction ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool OperatorActionPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, OperatorActionKeyHolder *key, const OperatorAction *instance); NDDSUSERDllExport extern RTIBool OperatorActionPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, OperatorAction *instance, const OperatorActionKeyHolder *key); NDDSUSERDllExport extern RTIBool OperatorActionPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* OperatorActionPlugin_new(void); NDDSUSERDllExport extern void OperatorActionPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct ParticipantConfigurationReport * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct ParticipantConfigurationReport) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * ParticipantConfigurationReport must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct ParticipantConfigurationReport. */ typedef struct ParticipantConfigurationReport ParticipantConfigurationReportKeyHolder; #define ParticipantConfigurationReportPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define ParticipantConfigurationReportPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define ParticipantConfigurationReportPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define ParticipantConfigurationReportPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define ParticipantConfigurationReportPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define ParticipantConfigurationReportPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define ParticipantConfigurationReportPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern ParticipantConfigurationReport* ParticipantConfigurationReportPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern ParticipantConfigurationReport* ParticipantConfigurationReportPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ParticipantConfigurationReport* ParticipantConfigurationReportPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool ParticipantConfigurationReportPluginSupport_copy_data( ParticipantConfigurationReport *out, const ParticipantConfigurationReport *in); NDDSUSERDllExport extern void ParticipantConfigurationReportPluginSupport_destroy_data_w_params( ParticipantConfigurationReport *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void ParticipantConfigurationReportPluginSupport_destroy_data_ex( ParticipantConfigurationReport *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ParticipantConfigurationReportPluginSupport_destroy_data( ParticipantConfigurationReport *sample); NDDSUSERDllExport extern void ParticipantConfigurationReportPluginSupport_print_data( const ParticipantConfigurationReport *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern ParticipantConfigurationReport* ParticipantConfigurationReportPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ParticipantConfigurationReport* ParticipantConfigurationReportPluginSupport_create_key(void); NDDSUSERDllExport extern void ParticipantConfigurationReportPluginSupport_destroy_key_ex( ParticipantConfigurationReportKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ParticipantConfigurationReportPluginSupport_destroy_key( ParticipantConfigurationReportKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData ParticipantConfigurationReportPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void ParticipantConfigurationReportPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData ParticipantConfigurationReportPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void ParticipantConfigurationReportPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void ParticipantConfigurationReportPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, ParticipantConfigurationReport *sample, void *handle); NDDSUSERDllExport extern RTIBool ParticipantConfigurationReportPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, ParticipantConfigurationReport *out, const ParticipantConfigurationReport *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool ParticipantConfigurationReportPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const ParticipantConfigurationReport *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool ParticipantConfigurationReportPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, ParticipantConfigurationReport **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ParticipantConfigurationReportPlugin_deserialize_from_cdr_buffer( ParticipantConfigurationReport *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int ParticipantConfigurationReportPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind ParticipantConfigurationReportPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int ParticipantConfigurationReportPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int ParticipantConfigurationReportPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool ParticipantConfigurationReportPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, ParticipantConfigurationReport ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ParticipantConfigurationReportPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, ParticipantConfigurationReportKeyHolder *key, const ParticipantConfigurationReport *instance); NDDSUSERDllExport extern RTIBool ParticipantConfigurationReportPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, ParticipantConfigurationReport *instance, const ParticipantConfigurationReportKeyHolder *key); NDDSUSERDllExport extern RTIBool ParticipantConfigurationReportPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* ParticipantConfigurationReportPlugin_new(void); NDDSUSERDllExport extern void ParticipantConfigurationReportPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct ParticipantModeReport * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct ParticipantModeReport) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * ParticipantModeReport must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct ParticipantModeReport. */ typedef struct ParticipantModeReport ParticipantModeReportKeyHolder; #define ParticipantModeReportPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define ParticipantModeReportPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define ParticipantModeReportPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define ParticipantModeReportPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define ParticipantModeReportPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define ParticipantModeReportPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define ParticipantModeReportPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern ParticipantModeReport* ParticipantModeReportPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern ParticipantModeReport* ParticipantModeReportPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ParticipantModeReport* ParticipantModeReportPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool ParticipantModeReportPluginSupport_copy_data( ParticipantModeReport *out, const ParticipantModeReport *in); NDDSUSERDllExport extern void ParticipantModeReportPluginSupport_destroy_data_w_params( ParticipantModeReport *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void ParticipantModeReportPluginSupport_destroy_data_ex( ParticipantModeReport *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ParticipantModeReportPluginSupport_destroy_data( ParticipantModeReport *sample); NDDSUSERDllExport extern void ParticipantModeReportPluginSupport_print_data( const ParticipantModeReport *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern ParticipantModeReport* ParticipantModeReportPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ParticipantModeReport* ParticipantModeReportPluginSupport_create_key(void); NDDSUSERDllExport extern void ParticipantModeReportPluginSupport_destroy_key_ex( ParticipantModeReportKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ParticipantModeReportPluginSupport_destroy_key( ParticipantModeReportKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData ParticipantModeReportPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void ParticipantModeReportPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData ParticipantModeReportPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void ParticipantModeReportPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void ParticipantModeReportPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, ParticipantModeReport *sample, void *handle); NDDSUSERDllExport extern RTIBool ParticipantModeReportPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, ParticipantModeReport *out, const ParticipantModeReport *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool ParticipantModeReportPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const ParticipantModeReport *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool ParticipantModeReportPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, ParticipantModeReport **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ParticipantModeReportPlugin_deserialize_from_cdr_buffer( ParticipantModeReport *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int ParticipantModeReportPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind ParticipantModeReportPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int ParticipantModeReportPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int ParticipantModeReportPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool ParticipantModeReportPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, ParticipantModeReport ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ParticipantModeReportPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, ParticipantModeReportKeyHolder *key, const ParticipantModeReport *instance); NDDSUSERDllExport extern RTIBool ParticipantModeReportPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, ParticipantModeReport *instance, const ParticipantModeReportKeyHolder *key); NDDSUSERDllExport extern RTIBool ParticipantModeReportPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* ParticipantModeReportPlugin_new(void); NDDSUSERDllExport extern void ParticipantModeReportPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct ParticipantSanitaryMaterialStockReport * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct ParticipantSanitaryMaterialStockReport) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * ParticipantSanitaryMaterialStockReport must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct ParticipantSanitaryMaterialStockReport. */ typedef struct ParticipantSanitaryMaterialStockReport ParticipantSanitaryMaterialStockReportKeyHolder; #define ParticipantSanitaryMaterialStockReportPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define ParticipantSanitaryMaterialStockReportPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define ParticipantSanitaryMaterialStockReportPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define ParticipantSanitaryMaterialStockReportPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define ParticipantSanitaryMaterialStockReportPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define ParticipantSanitaryMaterialStockReportPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define ParticipantSanitaryMaterialStockReportPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern ParticipantSanitaryMaterialStockReport* ParticipantSanitaryMaterialStockReportPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern ParticipantSanitaryMaterialStockReport* ParticipantSanitaryMaterialStockReportPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ParticipantSanitaryMaterialStockReport* ParticipantSanitaryMaterialStockReportPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool ParticipantSanitaryMaterialStockReportPluginSupport_copy_data( ParticipantSanitaryMaterialStockReport *out, const ParticipantSanitaryMaterialStockReport *in); NDDSUSERDllExport extern void ParticipantSanitaryMaterialStockReportPluginSupport_destroy_data_w_params( ParticipantSanitaryMaterialStockReport *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void ParticipantSanitaryMaterialStockReportPluginSupport_destroy_data_ex( ParticipantSanitaryMaterialStockReport *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ParticipantSanitaryMaterialStockReportPluginSupport_destroy_data( ParticipantSanitaryMaterialStockReport *sample); NDDSUSERDllExport extern void ParticipantSanitaryMaterialStockReportPluginSupport_print_data( const ParticipantSanitaryMaterialStockReport *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern ParticipantSanitaryMaterialStockReport* ParticipantSanitaryMaterialStockReportPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ParticipantSanitaryMaterialStockReport* ParticipantSanitaryMaterialStockReportPluginSupport_create_key(void); NDDSUSERDllExport extern void ParticipantSanitaryMaterialStockReportPluginSupport_destroy_key_ex( ParticipantSanitaryMaterialStockReportKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ParticipantSanitaryMaterialStockReportPluginSupport_destroy_key( ParticipantSanitaryMaterialStockReportKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData ParticipantSanitaryMaterialStockReportPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void ParticipantSanitaryMaterialStockReportPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData ParticipantSanitaryMaterialStockReportPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void ParticipantSanitaryMaterialStockReportPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void ParticipantSanitaryMaterialStockReportPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, ParticipantSanitaryMaterialStockReport *sample, void *handle); NDDSUSERDllExport extern RTIBool ParticipantSanitaryMaterialStockReportPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, ParticipantSanitaryMaterialStockReport *out, const ParticipantSanitaryMaterialStockReport *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool ParticipantSanitaryMaterialStockReportPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const ParticipantSanitaryMaterialStockReport *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool ParticipantSanitaryMaterialStockReportPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, ParticipantSanitaryMaterialStockReport **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ParticipantSanitaryMaterialStockReportPlugin_deserialize_from_cdr_buffer( ParticipantSanitaryMaterialStockReport *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int ParticipantSanitaryMaterialStockReportPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind ParticipantSanitaryMaterialStockReportPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int ParticipantSanitaryMaterialStockReportPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int ParticipantSanitaryMaterialStockReportPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool ParticipantSanitaryMaterialStockReportPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, ParticipantSanitaryMaterialStockReport ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ParticipantSanitaryMaterialStockReportPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, ParticipantSanitaryMaterialStockReportKeyHolder *key, const ParticipantSanitaryMaterialStockReport *instance); NDDSUSERDllExport extern RTIBool ParticipantSanitaryMaterialStockReportPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, ParticipantSanitaryMaterialStockReport *instance, const ParticipantSanitaryMaterialStockReportKeyHolder *key); NDDSUSERDllExport extern RTIBool ParticipantSanitaryMaterialStockReportPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* ParticipantSanitaryMaterialStockReportPlugin_new(void); NDDSUSERDllExport extern void ParticipantSanitaryMaterialStockReportPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct ParticipantSanitation * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct ParticipantSanitation) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * ParticipantSanitation must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct ParticipantSanitation. */ typedef struct ParticipantSanitation ParticipantSanitationKeyHolder; #define ParticipantSanitationPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define ParticipantSanitationPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define ParticipantSanitationPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define ParticipantSanitationPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define ParticipantSanitationPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define ParticipantSanitationPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define ParticipantSanitationPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern ParticipantSanitation* ParticipantSanitationPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern ParticipantSanitation* ParticipantSanitationPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ParticipantSanitation* ParticipantSanitationPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool ParticipantSanitationPluginSupport_copy_data( ParticipantSanitation *out, const ParticipantSanitation *in); NDDSUSERDllExport extern void ParticipantSanitationPluginSupport_destroy_data_w_params( ParticipantSanitation *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void ParticipantSanitationPluginSupport_destroy_data_ex( ParticipantSanitation *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ParticipantSanitationPluginSupport_destroy_data( ParticipantSanitation *sample); NDDSUSERDllExport extern void ParticipantSanitationPluginSupport_print_data( const ParticipantSanitation *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern ParticipantSanitation* ParticipantSanitationPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ParticipantSanitation* ParticipantSanitationPluginSupport_create_key(void); NDDSUSERDllExport extern void ParticipantSanitationPluginSupport_destroy_key_ex( ParticipantSanitationKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ParticipantSanitationPluginSupport_destroy_key( ParticipantSanitationKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData ParticipantSanitationPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void ParticipantSanitationPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData ParticipantSanitationPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void ParticipantSanitationPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void ParticipantSanitationPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, ParticipantSanitation *sample, void *handle); NDDSUSERDllExport extern RTIBool ParticipantSanitationPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, ParticipantSanitation *out, const ParticipantSanitation *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool ParticipantSanitationPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const ParticipantSanitation *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool ParticipantSanitationPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, ParticipantSanitation **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ParticipantSanitationPlugin_deserialize_from_cdr_buffer( ParticipantSanitation *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int ParticipantSanitationPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind ParticipantSanitationPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int ParticipantSanitationPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int ParticipantSanitationPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool ParticipantSanitationPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, ParticipantSanitation ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ParticipantSanitationPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, ParticipantSanitationKeyHolder *key, const ParticipantSanitation *instance); NDDSUSERDllExport extern RTIBool ParticipantSanitationPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, ParticipantSanitation *instance, const ParticipantSanitationKeyHolder *key); NDDSUSERDllExport extern RTIBool ParticipantSanitationPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* ParticipantSanitationPlugin_new(void); NDDSUSERDllExport extern void ParticipantSanitationPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct ParticipantSanitationRepair * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct ParticipantSanitationRepair) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * ParticipantSanitationRepair must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct ParticipantSanitationRepair. */ typedef struct ParticipantSanitationRepair ParticipantSanitationRepairKeyHolder; #define ParticipantSanitationRepairPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define ParticipantSanitationRepairPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define ParticipantSanitationRepairPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define ParticipantSanitationRepairPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define ParticipantSanitationRepairPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define ParticipantSanitationRepairPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define ParticipantSanitationRepairPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern ParticipantSanitationRepair* ParticipantSanitationRepairPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern ParticipantSanitationRepair* ParticipantSanitationRepairPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ParticipantSanitationRepair* ParticipantSanitationRepairPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool ParticipantSanitationRepairPluginSupport_copy_data( ParticipantSanitationRepair *out, const ParticipantSanitationRepair *in); NDDSUSERDllExport extern void ParticipantSanitationRepairPluginSupport_destroy_data_w_params( ParticipantSanitationRepair *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void ParticipantSanitationRepairPluginSupport_destroy_data_ex( ParticipantSanitationRepair *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ParticipantSanitationRepairPluginSupport_destroy_data( ParticipantSanitationRepair *sample); NDDSUSERDllExport extern void ParticipantSanitationRepairPluginSupport_print_data( const ParticipantSanitationRepair *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern ParticipantSanitationRepair* ParticipantSanitationRepairPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ParticipantSanitationRepair* ParticipantSanitationRepairPluginSupport_create_key(void); NDDSUSERDllExport extern void ParticipantSanitationRepairPluginSupport_destroy_key_ex( ParticipantSanitationRepairKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ParticipantSanitationRepairPluginSupport_destroy_key( ParticipantSanitationRepairKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData ParticipantSanitationRepairPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void ParticipantSanitationRepairPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData ParticipantSanitationRepairPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void ParticipantSanitationRepairPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void ParticipantSanitationRepairPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, ParticipantSanitationRepair *sample, void *handle); NDDSUSERDllExport extern RTIBool ParticipantSanitationRepairPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, ParticipantSanitationRepair *out, const ParticipantSanitationRepair *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool ParticipantSanitationRepairPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const ParticipantSanitationRepair *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool ParticipantSanitationRepairPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, ParticipantSanitationRepair **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ParticipantSanitationRepairPlugin_deserialize_from_cdr_buffer( ParticipantSanitationRepair *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int ParticipantSanitationRepairPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind ParticipantSanitationRepairPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int ParticipantSanitationRepairPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int ParticipantSanitationRepairPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool ParticipantSanitationRepairPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, ParticipantSanitationRepair ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ParticipantSanitationRepairPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, ParticipantSanitationRepairKeyHolder *key, const ParticipantSanitationRepair *instance); NDDSUSERDllExport extern RTIBool ParticipantSanitationRepairPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, ParticipantSanitationRepair *instance, const ParticipantSanitationRepairKeyHolder *key); NDDSUSERDllExport extern RTIBool ParticipantSanitationRepairPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* ParticipantSanitationRepairPlugin_new(void); NDDSUSERDllExport extern void ParticipantSanitationRepairPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct ParticipantSwVersions * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct ParticipantSwVersions) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * ParticipantSwVersions must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct ParticipantSwVersions. */ typedef struct ParticipantSwVersions ParticipantSwVersionsKeyHolder; #define ParticipantSwVersionsPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define ParticipantSwVersionsPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define ParticipantSwVersionsPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define ParticipantSwVersionsPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define ParticipantSwVersionsPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define ParticipantSwVersionsPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define ParticipantSwVersionsPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern ParticipantSwVersions* ParticipantSwVersionsPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern ParticipantSwVersions* ParticipantSwVersionsPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ParticipantSwVersions* ParticipantSwVersionsPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool ParticipantSwVersionsPluginSupport_copy_data( ParticipantSwVersions *out, const ParticipantSwVersions *in); NDDSUSERDllExport extern void ParticipantSwVersionsPluginSupport_destroy_data_w_params( ParticipantSwVersions *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void ParticipantSwVersionsPluginSupport_destroy_data_ex( ParticipantSwVersions *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ParticipantSwVersionsPluginSupport_destroy_data( ParticipantSwVersions *sample); NDDSUSERDllExport extern void ParticipantSwVersionsPluginSupport_print_data( const ParticipantSwVersions *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern ParticipantSwVersions* ParticipantSwVersionsPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ParticipantSwVersions* ParticipantSwVersionsPluginSupport_create_key(void); NDDSUSERDllExport extern void ParticipantSwVersionsPluginSupport_destroy_key_ex( ParticipantSwVersionsKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ParticipantSwVersionsPluginSupport_destroy_key( ParticipantSwVersionsKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData ParticipantSwVersionsPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void ParticipantSwVersionsPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData ParticipantSwVersionsPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void ParticipantSwVersionsPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void ParticipantSwVersionsPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, ParticipantSwVersions *sample, void *handle); NDDSUSERDllExport extern RTIBool ParticipantSwVersionsPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, ParticipantSwVersions *out, const ParticipantSwVersions *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool ParticipantSwVersionsPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const ParticipantSwVersions *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool ParticipantSwVersionsPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, ParticipantSwVersions **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ParticipantSwVersionsPlugin_deserialize_from_cdr_buffer( ParticipantSwVersions *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int ParticipantSwVersionsPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind ParticipantSwVersionsPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int ParticipantSwVersionsPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int ParticipantSwVersionsPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool ParticipantSwVersionsPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, ParticipantSwVersions ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ParticipantSwVersionsPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, ParticipantSwVersionsKeyHolder *key, const ParticipantSwVersions *instance); NDDSUSERDllExport extern RTIBool ParticipantSwVersionsPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, ParticipantSwVersions *instance, const ParticipantSwVersionsKeyHolder *key); NDDSUSERDllExport extern RTIBool ParticipantSwVersionsPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* ParticipantSwVersionsPlugin_new(void); NDDSUSERDllExport extern void ParticipantSwVersionsPlugin_delete(struct PRESTypePlugin *); #define ReammunitionPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define ReammunitionPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define ReammunitionPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define ReammunitionPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define ReammunitionPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern Reammunition* ReammunitionPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern Reammunition* ReammunitionPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern Reammunition* ReammunitionPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool ReammunitionPluginSupport_copy_data( Reammunition *out, const Reammunition *in); NDDSUSERDllExport extern void ReammunitionPluginSupport_destroy_data_w_params( Reammunition *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void ReammunitionPluginSupport_destroy_data_ex( Reammunition *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ReammunitionPluginSupport_destroy_data( Reammunition *sample); NDDSUSERDllExport extern void ReammunitionPluginSupport_print_data( const Reammunition *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData ReammunitionPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void ReammunitionPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData ReammunitionPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void ReammunitionPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void ReammunitionPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, Reammunition *sample, void *handle); NDDSUSERDllExport extern RTIBool ReammunitionPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, Reammunition *out, const Reammunition *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool ReammunitionPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const Reammunition *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool ReammunitionPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, Reammunition **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ReammunitionPlugin_deserialize_from_cdr_buffer( Reammunition *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int ReammunitionPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind ReammunitionPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int ReammunitionPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int ReammunitionPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool ReammunitionPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, Reammunition ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* ReammunitionPlugin_new(void); NDDSUSERDllExport extern void ReammunitionPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct RestoreRadioReadiness * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct RestoreRadioReadiness) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * RestoreRadioReadiness must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct RestoreRadioReadiness. */ typedef struct RestoreRadioReadiness RestoreRadioReadinessKeyHolder; #define RestoreRadioReadinessPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define RestoreRadioReadinessPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define RestoreRadioReadinessPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define RestoreRadioReadinessPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define RestoreRadioReadinessPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define RestoreRadioReadinessPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define RestoreRadioReadinessPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern RestoreRadioReadiness* RestoreRadioReadinessPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern RestoreRadioReadiness* RestoreRadioReadinessPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern RestoreRadioReadiness* RestoreRadioReadinessPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool RestoreRadioReadinessPluginSupport_copy_data( RestoreRadioReadiness *out, const RestoreRadioReadiness *in); NDDSUSERDllExport extern void RestoreRadioReadinessPluginSupport_destroy_data_w_params( RestoreRadioReadiness *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void RestoreRadioReadinessPluginSupport_destroy_data_ex( RestoreRadioReadiness *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void RestoreRadioReadinessPluginSupport_destroy_data( RestoreRadioReadiness *sample); NDDSUSERDllExport extern void RestoreRadioReadinessPluginSupport_print_data( const RestoreRadioReadiness *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern RestoreRadioReadiness* RestoreRadioReadinessPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern RestoreRadioReadiness* RestoreRadioReadinessPluginSupport_create_key(void); NDDSUSERDllExport extern void RestoreRadioReadinessPluginSupport_destroy_key_ex( RestoreRadioReadinessKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void RestoreRadioReadinessPluginSupport_destroy_key( RestoreRadioReadinessKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData RestoreRadioReadinessPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void RestoreRadioReadinessPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData RestoreRadioReadinessPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void RestoreRadioReadinessPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void RestoreRadioReadinessPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, RestoreRadioReadiness *sample, void *handle); NDDSUSERDllExport extern RTIBool RestoreRadioReadinessPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, RestoreRadioReadiness *out, const RestoreRadioReadiness *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool RestoreRadioReadinessPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const RestoreRadioReadiness *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool RestoreRadioReadinessPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, RestoreRadioReadiness **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool RestoreRadioReadinessPlugin_deserialize_from_cdr_buffer( RestoreRadioReadiness *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int RestoreRadioReadinessPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind RestoreRadioReadinessPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int RestoreRadioReadinessPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int RestoreRadioReadinessPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool RestoreRadioReadinessPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, RestoreRadioReadiness ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool RestoreRadioReadinessPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, RestoreRadioReadinessKeyHolder *key, const RestoreRadioReadiness *instance); NDDSUSERDllExport extern RTIBool RestoreRadioReadinessPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, RestoreRadioReadiness *instance, const RestoreRadioReadinessKeyHolder *key); NDDSUSERDllExport extern RTIBool RestoreRadioReadinessPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* RestoreRadioReadinessPlugin_new(void); NDDSUSERDllExport extern void RestoreRadioReadinessPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendCesHitInformation * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendCesHitInformation) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendCesHitInformation must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendCesHitInformation. */ typedef struct SendCesHitInformation SendCesHitInformationKeyHolder; #define SendCesHitInformationPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendCesHitInformationPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendCesHitInformationPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendCesHitInformationPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendCesHitInformationPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendCesHitInformationPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendCesHitInformationPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendCesHitInformation* SendCesHitInformationPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendCesHitInformation* SendCesHitInformationPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendCesHitInformation* SendCesHitInformationPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendCesHitInformationPluginSupport_copy_data( SendCesHitInformation *out, const SendCesHitInformation *in); NDDSUSERDllExport extern void SendCesHitInformationPluginSupport_destroy_data_w_params( SendCesHitInformation *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendCesHitInformationPluginSupport_destroy_data_ex( SendCesHitInformation *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendCesHitInformationPluginSupport_destroy_data( SendCesHitInformation *sample); NDDSUSERDllExport extern void SendCesHitInformationPluginSupport_print_data( const SendCesHitInformation *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendCesHitInformation* SendCesHitInformationPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendCesHitInformation* SendCesHitInformationPluginSupport_create_key(void); NDDSUSERDllExport extern void SendCesHitInformationPluginSupport_destroy_key_ex( SendCesHitInformationKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendCesHitInformationPluginSupport_destroy_key( SendCesHitInformationKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendCesHitInformationPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendCesHitInformationPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendCesHitInformationPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendCesHitInformationPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendCesHitInformationPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendCesHitInformation *sample, void *handle); NDDSUSERDllExport extern RTIBool SendCesHitInformationPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendCesHitInformation *out, const SendCesHitInformation *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendCesHitInformationPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendCesHitInformation *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendCesHitInformationPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendCesHitInformation **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendCesHitInformationPlugin_deserialize_from_cdr_buffer( SendCesHitInformation *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendCesHitInformationPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendCesHitInformationPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendCesHitInformationPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendCesHitInformationPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendCesHitInformationPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendCesHitInformation ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendCesHitInformationPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendCesHitInformationKeyHolder *key, const SendCesHitInformation *instance); NDDSUSERDllExport extern RTIBool SendCesHitInformationPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendCesHitInformation *instance, const SendCesHitInformationKeyHolder *key); NDDSUSERDllExport extern RTIBool SendCesHitInformationPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendCesHitInformationPlugin_new(void); NDDSUSERDllExport extern void SendCesHitInformationPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendCesHitRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendCesHitRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendCesHitRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendCesHitRequest. */ typedef struct SendCesHitRequest SendCesHitRequestKeyHolder; #define SendCesHitRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendCesHitRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendCesHitRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendCesHitRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendCesHitRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendCesHitRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendCesHitRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendCesHitRequest* SendCesHitRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendCesHitRequest* SendCesHitRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendCesHitRequest* SendCesHitRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendCesHitRequestPluginSupport_copy_data( SendCesHitRequest *out, const SendCesHitRequest *in); NDDSUSERDllExport extern void SendCesHitRequestPluginSupport_destroy_data_w_params( SendCesHitRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendCesHitRequestPluginSupport_destroy_data_ex( SendCesHitRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendCesHitRequestPluginSupport_destroy_data( SendCesHitRequest *sample); NDDSUSERDllExport extern void SendCesHitRequestPluginSupport_print_data( const SendCesHitRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendCesHitRequest* SendCesHitRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendCesHitRequest* SendCesHitRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendCesHitRequestPluginSupport_destroy_key_ex( SendCesHitRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendCesHitRequestPluginSupport_destroy_key( SendCesHitRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendCesHitRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendCesHitRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendCesHitRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendCesHitRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendCesHitRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendCesHitRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendCesHitRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendCesHitRequest *out, const SendCesHitRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendCesHitRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendCesHitRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendCesHitRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendCesHitRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendCesHitRequestPlugin_deserialize_from_cdr_buffer( SendCesHitRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendCesHitRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendCesHitRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendCesHitRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendCesHitRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendCesHitRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendCesHitRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendCesHitRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendCesHitRequestKeyHolder *key, const SendCesHitRequest *instance); NDDSUSERDllExport extern RTIBool SendCesHitRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendCesHitRequest *instance, const SendCesHitRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendCesHitRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendCesHitRequestPlugin_new(void); NDDSUSERDllExport extern void SendCesHitRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendControlDataRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendControlDataRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendControlDataRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendControlDataRequest. */ typedef struct SendControlDataRequest SendControlDataRequestKeyHolder; #define SendControlDataRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendControlDataRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendControlDataRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendControlDataRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendControlDataRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendControlDataRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendControlDataRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendControlDataRequest* SendControlDataRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendControlDataRequest* SendControlDataRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendControlDataRequest* SendControlDataRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendControlDataRequestPluginSupport_copy_data( SendControlDataRequest *out, const SendControlDataRequest *in); NDDSUSERDllExport extern void SendControlDataRequestPluginSupport_destroy_data_w_params( SendControlDataRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendControlDataRequestPluginSupport_destroy_data_ex( SendControlDataRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendControlDataRequestPluginSupport_destroy_data( SendControlDataRequest *sample); NDDSUSERDllExport extern void SendControlDataRequestPluginSupport_print_data( const SendControlDataRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendControlDataRequest* SendControlDataRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendControlDataRequest* SendControlDataRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendControlDataRequestPluginSupport_destroy_key_ex( SendControlDataRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendControlDataRequestPluginSupport_destroy_key( SendControlDataRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendControlDataRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendControlDataRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendControlDataRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendControlDataRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendControlDataRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendControlDataRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendControlDataRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendControlDataRequest *out, const SendControlDataRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendControlDataRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendControlDataRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendControlDataRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendControlDataRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendControlDataRequestPlugin_deserialize_from_cdr_buffer( SendControlDataRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendControlDataRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendControlDataRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendControlDataRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendControlDataRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendControlDataRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendControlDataRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendControlDataRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendControlDataRequestKeyHolder *key, const SendControlDataRequest *instance); NDDSUSERDllExport extern RTIBool SendControlDataRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendControlDataRequest *instance, const SendControlDataRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendControlDataRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendControlDataRequestPlugin_new(void); NDDSUSERDllExport extern void SendControlDataRequestPlugin_delete(struct PRESTypePlugin *); #define SendEquipmentMessageRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendEquipmentMessageRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendEquipmentMessageRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendEquipmentMessageRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendEquipmentMessageRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendEquipmentMessageRequest* SendEquipmentMessageRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendEquipmentMessageRequest* SendEquipmentMessageRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendEquipmentMessageRequest* SendEquipmentMessageRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendEquipmentMessageRequestPluginSupport_copy_data( SendEquipmentMessageRequest *out, const SendEquipmentMessageRequest *in); NDDSUSERDllExport extern void SendEquipmentMessageRequestPluginSupport_destroy_data_w_params( SendEquipmentMessageRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendEquipmentMessageRequestPluginSupport_destroy_data_ex( SendEquipmentMessageRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendEquipmentMessageRequestPluginSupport_destroy_data( SendEquipmentMessageRequest *sample); NDDSUSERDllExport extern void SendEquipmentMessageRequestPluginSupport_print_data( const SendEquipmentMessageRequest *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendEquipmentMessageRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendEquipmentMessageRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendEquipmentMessageRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendEquipmentMessageRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendEquipmentMessageRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendEquipmentMessageRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendEquipmentMessageRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendEquipmentMessageRequest *out, const SendEquipmentMessageRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendEquipmentMessageRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendEquipmentMessageRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendEquipmentMessageRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendEquipmentMessageRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendEquipmentMessageRequestPlugin_deserialize_from_cdr_buffer( SendEquipmentMessageRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendEquipmentMessageRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendEquipmentMessageRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendEquipmentMessageRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendEquipmentMessageRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendEquipmentMessageRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendEquipmentMessageRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendEquipmentMessageRequestPlugin_new(void); NDDSUSERDllExport extern void SendEquipmentMessageRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendExConfirmationReportRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendExConfirmationReportRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendExConfirmationReportRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendExConfirmationReportRequest. */ typedef struct SendExConfirmationReportRequest SendExConfirmationReportRequestKeyHolder; #define SendExConfirmationReportRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendExConfirmationReportRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendExConfirmationReportRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendExConfirmationReportRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendExConfirmationReportRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendExConfirmationReportRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendExConfirmationReportRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendExConfirmationReportRequest* SendExConfirmationReportRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendExConfirmationReportRequest* SendExConfirmationReportRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendExConfirmationReportRequest* SendExConfirmationReportRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendExConfirmationReportRequestPluginSupport_copy_data( SendExConfirmationReportRequest *out, const SendExConfirmationReportRequest *in); NDDSUSERDllExport extern void SendExConfirmationReportRequestPluginSupport_destroy_data_w_params( SendExConfirmationReportRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendExConfirmationReportRequestPluginSupport_destroy_data_ex( SendExConfirmationReportRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendExConfirmationReportRequestPluginSupport_destroy_data( SendExConfirmationReportRequest *sample); NDDSUSERDllExport extern void SendExConfirmationReportRequestPluginSupport_print_data( const SendExConfirmationReportRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendExConfirmationReportRequest* SendExConfirmationReportRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendExConfirmationReportRequest* SendExConfirmationReportRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendExConfirmationReportRequestPluginSupport_destroy_key_ex( SendExConfirmationReportRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendExConfirmationReportRequestPluginSupport_destroy_key( SendExConfirmationReportRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendExConfirmationReportRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendExConfirmationReportRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendExConfirmationReportRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendExConfirmationReportRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendExConfirmationReportRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendExConfirmationReportRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendExConfirmationReportRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendExConfirmationReportRequest *out, const SendExConfirmationReportRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendExConfirmationReportRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendExConfirmationReportRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendExConfirmationReportRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendExConfirmationReportRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendExConfirmationReportRequestPlugin_deserialize_from_cdr_buffer( SendExConfirmationReportRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendExConfirmationReportRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendExConfirmationReportRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendExConfirmationReportRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendExConfirmationReportRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendExConfirmationReportRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendExConfirmationReportRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendExConfirmationReportRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendExConfirmationReportRequestKeyHolder *key, const SendExConfirmationReportRequest *instance); NDDSUSERDllExport extern RTIBool SendExConfirmationReportRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendExConfirmationReportRequest *instance, const SendExConfirmationReportRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendExConfirmationReportRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendExConfirmationReportRequestPlugin_new(void); NDDSUSERDllExport extern void SendExConfirmationReportRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendExFireReadinessRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendExFireReadinessRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendExFireReadinessRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendExFireReadinessRequest. */ typedef struct SendExFireReadinessRequest SendExFireReadinessRequestKeyHolder; #define SendExFireReadinessRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendExFireReadinessRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendExFireReadinessRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendExFireReadinessRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendExFireReadinessRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendExFireReadinessRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendExFireReadinessRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendExFireReadinessRequest* SendExFireReadinessRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendExFireReadinessRequest* SendExFireReadinessRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendExFireReadinessRequest* SendExFireReadinessRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendExFireReadinessRequestPluginSupport_copy_data( SendExFireReadinessRequest *out, const SendExFireReadinessRequest *in); NDDSUSERDllExport extern void SendExFireReadinessRequestPluginSupport_destroy_data_w_params( SendExFireReadinessRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendExFireReadinessRequestPluginSupport_destroy_data_ex( SendExFireReadinessRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendExFireReadinessRequestPluginSupport_destroy_data( SendExFireReadinessRequest *sample); NDDSUSERDllExport extern void SendExFireReadinessRequestPluginSupport_print_data( const SendExFireReadinessRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendExFireReadinessRequest* SendExFireReadinessRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendExFireReadinessRequest* SendExFireReadinessRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendExFireReadinessRequestPluginSupport_destroy_key_ex( SendExFireReadinessRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendExFireReadinessRequestPluginSupport_destroy_key( SendExFireReadinessRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendExFireReadinessRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendExFireReadinessRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendExFireReadinessRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendExFireReadinessRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendExFireReadinessRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendExFireReadinessRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendExFireReadinessRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendExFireReadinessRequest *out, const SendExFireReadinessRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendExFireReadinessRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendExFireReadinessRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendExFireReadinessRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendExFireReadinessRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendExFireReadinessRequestPlugin_deserialize_from_cdr_buffer( SendExFireReadinessRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendExFireReadinessRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendExFireReadinessRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendExFireReadinessRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendExFireReadinessRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendExFireReadinessRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendExFireReadinessRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendExFireReadinessRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendExFireReadinessRequestKeyHolder *key, const SendExFireReadinessRequest *instance); NDDSUSERDllExport extern RTIBool SendExFireReadinessRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendExFireReadinessRequest *instance, const SendExFireReadinessRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendExFireReadinessRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendExFireReadinessRequestPlugin_new(void); NDDSUSERDllExport extern void SendExFireReadinessRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendExFiredReportRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendExFiredReportRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendExFiredReportRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendExFiredReportRequest. */ typedef struct SendExFiredReportRequest SendExFiredReportRequestKeyHolder; #define SendExFiredReportRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendExFiredReportRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendExFiredReportRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendExFiredReportRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendExFiredReportRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendExFiredReportRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendExFiredReportRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendExFiredReportRequest* SendExFiredReportRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendExFiredReportRequest* SendExFiredReportRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendExFiredReportRequest* SendExFiredReportRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendExFiredReportRequestPluginSupport_copy_data( SendExFiredReportRequest *out, const SendExFiredReportRequest *in); NDDSUSERDllExport extern void SendExFiredReportRequestPluginSupport_destroy_data_w_params( SendExFiredReportRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendExFiredReportRequestPluginSupport_destroy_data_ex( SendExFiredReportRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendExFiredReportRequestPluginSupport_destroy_data( SendExFiredReportRequest *sample); NDDSUSERDllExport extern void SendExFiredReportRequestPluginSupport_print_data( const SendExFiredReportRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendExFiredReportRequest* SendExFiredReportRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendExFiredReportRequest* SendExFiredReportRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendExFiredReportRequestPluginSupport_destroy_key_ex( SendExFiredReportRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendExFiredReportRequestPluginSupport_destroy_key( SendExFiredReportRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendExFiredReportRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendExFiredReportRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendExFiredReportRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendExFiredReportRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendExFiredReportRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendExFiredReportRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendExFiredReportRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendExFiredReportRequest *out, const SendExFiredReportRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendExFiredReportRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendExFiredReportRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendExFiredReportRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendExFiredReportRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendExFiredReportRequestPlugin_deserialize_from_cdr_buffer( SendExFiredReportRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendExFiredReportRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendExFiredReportRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendExFiredReportRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendExFiredReportRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendExFiredReportRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendExFiredReportRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendExFiredReportRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendExFiredReportRequestKeyHolder *key, const SendExFiredReportRequest *instance); NDDSUSERDllExport extern RTIBool SendExFiredReportRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendExFiredReportRequest *instance, const SendExFiredReportRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendExFiredReportRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendExFiredReportRequestPlugin_new(void); NDDSUSERDllExport extern void SendExFiredReportRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendFireSmokeMarkerDataRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendFireSmokeMarkerDataRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendFireSmokeMarkerDataRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendFireSmokeMarkerDataRequest. */ typedef struct SendFireSmokeMarkerDataRequest SendFireSmokeMarkerDataRequestKeyHolder; #define SendFireSmokeMarkerDataRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendFireSmokeMarkerDataRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendFireSmokeMarkerDataRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendFireSmokeMarkerDataRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendFireSmokeMarkerDataRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendFireSmokeMarkerDataRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendFireSmokeMarkerDataRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendFireSmokeMarkerDataRequest* SendFireSmokeMarkerDataRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendFireSmokeMarkerDataRequest* SendFireSmokeMarkerDataRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendFireSmokeMarkerDataRequest* SendFireSmokeMarkerDataRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendFireSmokeMarkerDataRequestPluginSupport_copy_data( SendFireSmokeMarkerDataRequest *out, const SendFireSmokeMarkerDataRequest *in); NDDSUSERDllExport extern void SendFireSmokeMarkerDataRequestPluginSupport_destroy_data_w_params( SendFireSmokeMarkerDataRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendFireSmokeMarkerDataRequestPluginSupport_destroy_data_ex( SendFireSmokeMarkerDataRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendFireSmokeMarkerDataRequestPluginSupport_destroy_data( SendFireSmokeMarkerDataRequest *sample); NDDSUSERDllExport extern void SendFireSmokeMarkerDataRequestPluginSupport_print_data( const SendFireSmokeMarkerDataRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendFireSmokeMarkerDataRequest* SendFireSmokeMarkerDataRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendFireSmokeMarkerDataRequest* SendFireSmokeMarkerDataRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendFireSmokeMarkerDataRequestPluginSupport_destroy_key_ex( SendFireSmokeMarkerDataRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendFireSmokeMarkerDataRequestPluginSupport_destroy_key( SendFireSmokeMarkerDataRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendFireSmokeMarkerDataRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendFireSmokeMarkerDataRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendFireSmokeMarkerDataRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendFireSmokeMarkerDataRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendFireSmokeMarkerDataRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendFireSmokeMarkerDataRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendFireSmokeMarkerDataRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendFireSmokeMarkerDataRequest *out, const SendFireSmokeMarkerDataRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendFireSmokeMarkerDataRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendFireSmokeMarkerDataRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendFireSmokeMarkerDataRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendFireSmokeMarkerDataRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendFireSmokeMarkerDataRequestPlugin_deserialize_from_cdr_buffer( SendFireSmokeMarkerDataRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendFireSmokeMarkerDataRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendFireSmokeMarkerDataRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendFireSmokeMarkerDataRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendFireSmokeMarkerDataRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendFireSmokeMarkerDataRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendFireSmokeMarkerDataRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendFireSmokeMarkerDataRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendFireSmokeMarkerDataRequestKeyHolder *key, const SendFireSmokeMarkerDataRequest *instance); NDDSUSERDllExport extern RTIBool SendFireSmokeMarkerDataRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendFireSmokeMarkerDataRequest *instance, const SendFireSmokeMarkerDataRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendFireSmokeMarkerDataRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendFireSmokeMarkerDataRequestPlugin_new(void); NDDSUSERDllExport extern void SendFireSmokeMarkerDataRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendGeopairingDataRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendGeopairingDataRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendGeopairingDataRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendGeopairingDataRequest. */ typedef struct SendGeopairingDataRequest SendGeopairingDataRequestKeyHolder; #define SendGeopairingDataRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendGeopairingDataRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendGeopairingDataRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendGeopairingDataRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendGeopairingDataRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendGeopairingDataRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendGeopairingDataRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendGeopairingDataRequest* SendGeopairingDataRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendGeopairingDataRequest* SendGeopairingDataRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendGeopairingDataRequest* SendGeopairingDataRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendGeopairingDataRequestPluginSupport_copy_data( SendGeopairingDataRequest *out, const SendGeopairingDataRequest *in); NDDSUSERDllExport extern void SendGeopairingDataRequestPluginSupport_destroy_data_w_params( SendGeopairingDataRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendGeopairingDataRequestPluginSupport_destroy_data_ex( SendGeopairingDataRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendGeopairingDataRequestPluginSupport_destroy_data( SendGeopairingDataRequest *sample); NDDSUSERDllExport extern void SendGeopairingDataRequestPluginSupport_print_data( const SendGeopairingDataRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendGeopairingDataRequest* SendGeopairingDataRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendGeopairingDataRequest* SendGeopairingDataRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendGeopairingDataRequestPluginSupport_destroy_key_ex( SendGeopairingDataRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendGeopairingDataRequestPluginSupport_destroy_key( SendGeopairingDataRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendGeopairingDataRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendGeopairingDataRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendGeopairingDataRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendGeopairingDataRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendGeopairingDataRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendGeopairingDataRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendGeopairingDataRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendGeopairingDataRequest *out, const SendGeopairingDataRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendGeopairingDataRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendGeopairingDataRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendGeopairingDataRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendGeopairingDataRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendGeopairingDataRequestPlugin_deserialize_from_cdr_buffer( SendGeopairingDataRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendGeopairingDataRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendGeopairingDataRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendGeopairingDataRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendGeopairingDataRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendGeopairingDataRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendGeopairingDataRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendGeopairingDataRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendGeopairingDataRequestKeyHolder *key, const SendGeopairingDataRequest *instance); NDDSUSERDllExport extern RTIBool SendGeopairingDataRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendGeopairingDataRequest *instance, const SendGeopairingDataRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendGeopairingDataRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendGeopairingDataRequestPlugin_new(void); NDDSUSERDllExport extern void SendGeopairingDataRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendLanguageSelectionRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendLanguageSelectionRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendLanguageSelectionRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendLanguageSelectionRequest. */ typedef struct SendLanguageSelectionRequest SendLanguageSelectionRequestKeyHolder; #define SendLanguageSelectionRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendLanguageSelectionRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendLanguageSelectionRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendLanguageSelectionRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendLanguageSelectionRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendLanguageSelectionRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendLanguageSelectionRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendLanguageSelectionRequest* SendLanguageSelectionRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendLanguageSelectionRequest* SendLanguageSelectionRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendLanguageSelectionRequest* SendLanguageSelectionRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendLanguageSelectionRequestPluginSupport_copy_data( SendLanguageSelectionRequest *out, const SendLanguageSelectionRequest *in); NDDSUSERDllExport extern void SendLanguageSelectionRequestPluginSupport_destroy_data_w_params( SendLanguageSelectionRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendLanguageSelectionRequestPluginSupport_destroy_data_ex( SendLanguageSelectionRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendLanguageSelectionRequestPluginSupport_destroy_data( SendLanguageSelectionRequest *sample); NDDSUSERDllExport extern void SendLanguageSelectionRequestPluginSupport_print_data( const SendLanguageSelectionRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendLanguageSelectionRequest* SendLanguageSelectionRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendLanguageSelectionRequest* SendLanguageSelectionRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendLanguageSelectionRequestPluginSupport_destroy_key_ex( SendLanguageSelectionRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendLanguageSelectionRequestPluginSupport_destroy_key( SendLanguageSelectionRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendLanguageSelectionRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendLanguageSelectionRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendLanguageSelectionRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendLanguageSelectionRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendLanguageSelectionRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendLanguageSelectionRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendLanguageSelectionRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendLanguageSelectionRequest *out, const SendLanguageSelectionRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendLanguageSelectionRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendLanguageSelectionRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendLanguageSelectionRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendLanguageSelectionRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendLanguageSelectionRequestPlugin_deserialize_from_cdr_buffer( SendLanguageSelectionRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendLanguageSelectionRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendLanguageSelectionRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendLanguageSelectionRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendLanguageSelectionRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendLanguageSelectionRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendLanguageSelectionRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendLanguageSelectionRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendLanguageSelectionRequestKeyHolder *key, const SendLanguageSelectionRequest *instance); NDDSUSERDllExport extern RTIBool SendLanguageSelectionRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendLanguageSelectionRequest *instance, const SendLanguageSelectionRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendLanguageSelectionRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendLanguageSelectionRequestPlugin_new(void); NDDSUSERDllExport extern void SendLanguageSelectionRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendModifyUasStateRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendModifyUasStateRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendModifyUasStateRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendModifyUasStateRequest. */ typedef struct SendModifyUasStateRequest SendModifyUasStateRequestKeyHolder; #define SendModifyUasStateRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendModifyUasStateRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendModifyUasStateRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendModifyUasStateRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendModifyUasStateRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendModifyUasStateRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendModifyUasStateRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendModifyUasStateRequest* SendModifyUasStateRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendModifyUasStateRequest* SendModifyUasStateRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendModifyUasStateRequest* SendModifyUasStateRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendModifyUasStateRequestPluginSupport_copy_data( SendModifyUasStateRequest *out, const SendModifyUasStateRequest *in); NDDSUSERDllExport extern void SendModifyUasStateRequestPluginSupport_destroy_data_w_params( SendModifyUasStateRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendModifyUasStateRequestPluginSupport_destroy_data_ex( SendModifyUasStateRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendModifyUasStateRequestPluginSupport_destroy_data( SendModifyUasStateRequest *sample); NDDSUSERDllExport extern void SendModifyUasStateRequestPluginSupport_print_data( const SendModifyUasStateRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendModifyUasStateRequest* SendModifyUasStateRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendModifyUasStateRequest* SendModifyUasStateRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendModifyUasStateRequestPluginSupport_destroy_key_ex( SendModifyUasStateRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendModifyUasStateRequestPluginSupport_destroy_key( SendModifyUasStateRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendModifyUasStateRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendModifyUasStateRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendModifyUasStateRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendModifyUasStateRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendModifyUasStateRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendModifyUasStateRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendModifyUasStateRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendModifyUasStateRequest *out, const SendModifyUasStateRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendModifyUasStateRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendModifyUasStateRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendModifyUasStateRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendModifyUasStateRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendModifyUasStateRequestPlugin_deserialize_from_cdr_buffer( SendModifyUasStateRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendModifyUasStateRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendModifyUasStateRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendModifyUasStateRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendModifyUasStateRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendModifyUasStateRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendModifyUasStateRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendModifyUasStateRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendModifyUasStateRequestKeyHolder *key, const SendModifyUasStateRequest *instance); NDDSUSERDllExport extern RTIBool SendModifyUasStateRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendModifyUasStateRequest *instance, const SendModifyUasStateRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendModifyUasStateRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendModifyUasStateRequestPlugin_new(void); NDDSUSERDllExport extern void SendModifyUasStateRequestPlugin_delete(struct PRESTypePlugin *); #define SendOcCommandRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendOcCommandRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendOcCommandRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendOcCommandRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendOcCommandRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendOcCommandRequest* SendOcCommandRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendOcCommandRequest* SendOcCommandRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendOcCommandRequest* SendOcCommandRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendOcCommandRequestPluginSupport_copy_data( SendOcCommandRequest *out, const SendOcCommandRequest *in); NDDSUSERDllExport extern void SendOcCommandRequestPluginSupport_destroy_data_w_params( SendOcCommandRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendOcCommandRequestPluginSupport_destroy_data_ex( SendOcCommandRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendOcCommandRequestPluginSupport_destroy_data( SendOcCommandRequest *sample); NDDSUSERDllExport extern void SendOcCommandRequestPluginSupport_print_data( const SendOcCommandRequest *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendOcCommandRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendOcCommandRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendOcCommandRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendOcCommandRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendOcCommandRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendOcCommandRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendOcCommandRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendOcCommandRequest *out, const SendOcCommandRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendOcCommandRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendOcCommandRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendOcCommandRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendOcCommandRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendOcCommandRequestPlugin_deserialize_from_cdr_buffer( SendOcCommandRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendOcCommandRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendOcCommandRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendOcCommandRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendOcCommandRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendOcCommandRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendOcCommandRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendOcCommandRequestPlugin_new(void); NDDSUSERDllExport extern void SendOcCommandRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendOcDataRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendOcDataRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendOcDataRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendOcDataRequest. */ typedef struct SendOcDataRequest SendOcDataRequestKeyHolder; #define SendOcDataRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendOcDataRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendOcDataRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendOcDataRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendOcDataRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendOcDataRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendOcDataRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendOcDataRequest* SendOcDataRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendOcDataRequest* SendOcDataRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendOcDataRequest* SendOcDataRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendOcDataRequestPluginSupport_copy_data( SendOcDataRequest *out, const SendOcDataRequest *in); NDDSUSERDllExport extern void SendOcDataRequestPluginSupport_destroy_data_w_params( SendOcDataRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendOcDataRequestPluginSupport_destroy_data_ex( SendOcDataRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendOcDataRequestPluginSupport_destroy_data( SendOcDataRequest *sample); NDDSUSERDllExport extern void SendOcDataRequestPluginSupport_print_data( const SendOcDataRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendOcDataRequest* SendOcDataRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendOcDataRequest* SendOcDataRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendOcDataRequestPluginSupport_destroy_key_ex( SendOcDataRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendOcDataRequestPluginSupport_destroy_key( SendOcDataRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendOcDataRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendOcDataRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendOcDataRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendOcDataRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendOcDataRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendOcDataRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendOcDataRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendOcDataRequest *out, const SendOcDataRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendOcDataRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendOcDataRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendOcDataRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendOcDataRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendOcDataRequestPlugin_deserialize_from_cdr_buffer( SendOcDataRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendOcDataRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendOcDataRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendOcDataRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendOcDataRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendOcDataRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendOcDataRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendOcDataRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendOcDataRequestKeyHolder *key, const SendOcDataRequest *instance); NDDSUSERDllExport extern RTIBool SendOcDataRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendOcDataRequest *instance, const SendOcDataRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendOcDataRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendOcDataRequestPlugin_new(void); NDDSUSERDllExport extern void SendOcDataRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendParticipantBeStillWarningRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendParticipantBeStillWarningRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendParticipantBeStillWarningRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendParticipantBeStillWarningRequest. */ typedef struct SendParticipantBeStillWarningRequest SendParticipantBeStillWarningRequestKeyHolder; #define SendParticipantBeStillWarningRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendParticipantBeStillWarningRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendParticipantBeStillWarningRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendParticipantBeStillWarningRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendParticipantBeStillWarningRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendParticipantBeStillWarningRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendParticipantBeStillWarningRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendParticipantBeStillWarningRequest* SendParticipantBeStillWarningRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendParticipantBeStillWarningRequest* SendParticipantBeStillWarningRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendParticipantBeStillWarningRequest* SendParticipantBeStillWarningRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendParticipantBeStillWarningRequestPluginSupport_copy_data( SendParticipantBeStillWarningRequest *out, const SendParticipantBeStillWarningRequest *in); NDDSUSERDllExport extern void SendParticipantBeStillWarningRequestPluginSupport_destroy_data_w_params( SendParticipantBeStillWarningRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendParticipantBeStillWarningRequestPluginSupport_destroy_data_ex( SendParticipantBeStillWarningRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendParticipantBeStillWarningRequestPluginSupport_destroy_data( SendParticipantBeStillWarningRequest *sample); NDDSUSERDllExport extern void SendParticipantBeStillWarningRequestPluginSupport_print_data( const SendParticipantBeStillWarningRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendParticipantBeStillWarningRequest* SendParticipantBeStillWarningRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendParticipantBeStillWarningRequest* SendParticipantBeStillWarningRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendParticipantBeStillWarningRequestPluginSupport_destroy_key_ex( SendParticipantBeStillWarningRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendParticipantBeStillWarningRequestPluginSupport_destroy_key( SendParticipantBeStillWarningRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendParticipantBeStillWarningRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendParticipantBeStillWarningRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendParticipantBeStillWarningRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendParticipantBeStillWarningRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendParticipantBeStillWarningRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendParticipantBeStillWarningRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendParticipantBeStillWarningRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendParticipantBeStillWarningRequest *out, const SendParticipantBeStillWarningRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendParticipantBeStillWarningRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendParticipantBeStillWarningRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendParticipantBeStillWarningRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendParticipantBeStillWarningRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendParticipantBeStillWarningRequestPlugin_deserialize_from_cdr_buffer( SendParticipantBeStillWarningRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendParticipantBeStillWarningRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendParticipantBeStillWarningRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendParticipantBeStillWarningRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendParticipantBeStillWarningRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendParticipantBeStillWarningRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendParticipantBeStillWarningRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendParticipantBeStillWarningRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendParticipantBeStillWarningRequestKeyHolder *key, const SendParticipantBeStillWarningRequest *instance); NDDSUSERDllExport extern RTIBool SendParticipantBeStillWarningRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendParticipantBeStillWarningRequest *instance, const SendParticipantBeStillWarningRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendParticipantBeStillWarningRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendParticipantBeStillWarningRequestPlugin_new(void); NDDSUSERDllExport extern void SendParticipantBeStillWarningRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendParticipantBlockedAreaRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendParticipantBlockedAreaRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendParticipantBlockedAreaRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendParticipantBlockedAreaRequest. */ typedef struct SendParticipantBlockedAreaRequest SendParticipantBlockedAreaRequestKeyHolder; #define SendParticipantBlockedAreaRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendParticipantBlockedAreaRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendParticipantBlockedAreaRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendParticipantBlockedAreaRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendParticipantBlockedAreaRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendParticipantBlockedAreaRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendParticipantBlockedAreaRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendParticipantBlockedAreaRequest* SendParticipantBlockedAreaRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendParticipantBlockedAreaRequest* SendParticipantBlockedAreaRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendParticipantBlockedAreaRequest* SendParticipantBlockedAreaRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendParticipantBlockedAreaRequestPluginSupport_copy_data( SendParticipantBlockedAreaRequest *out, const SendParticipantBlockedAreaRequest *in); NDDSUSERDllExport extern void SendParticipantBlockedAreaRequestPluginSupport_destroy_data_w_params( SendParticipantBlockedAreaRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendParticipantBlockedAreaRequestPluginSupport_destroy_data_ex( SendParticipantBlockedAreaRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendParticipantBlockedAreaRequestPluginSupport_destroy_data( SendParticipantBlockedAreaRequest *sample); NDDSUSERDllExport extern void SendParticipantBlockedAreaRequestPluginSupport_print_data( const SendParticipantBlockedAreaRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendParticipantBlockedAreaRequest* SendParticipantBlockedAreaRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendParticipantBlockedAreaRequest* SendParticipantBlockedAreaRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendParticipantBlockedAreaRequestPluginSupport_destroy_key_ex( SendParticipantBlockedAreaRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendParticipantBlockedAreaRequestPluginSupport_destroy_key( SendParticipantBlockedAreaRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendParticipantBlockedAreaRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendParticipantBlockedAreaRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendParticipantBlockedAreaRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendParticipantBlockedAreaRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendParticipantBlockedAreaRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendParticipantBlockedAreaRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendParticipantBlockedAreaRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendParticipantBlockedAreaRequest *out, const SendParticipantBlockedAreaRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendParticipantBlockedAreaRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendParticipantBlockedAreaRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendParticipantBlockedAreaRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendParticipantBlockedAreaRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendParticipantBlockedAreaRequestPlugin_deserialize_from_cdr_buffer( SendParticipantBlockedAreaRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendParticipantBlockedAreaRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendParticipantBlockedAreaRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendParticipantBlockedAreaRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendParticipantBlockedAreaRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendParticipantBlockedAreaRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendParticipantBlockedAreaRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendParticipantBlockedAreaRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendParticipantBlockedAreaRequestKeyHolder *key, const SendParticipantBlockedAreaRequest *instance); NDDSUSERDllExport extern RTIBool SendParticipantBlockedAreaRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendParticipantBlockedAreaRequest *instance, const SendParticipantBlockedAreaRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendParticipantBlockedAreaRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendParticipantBlockedAreaRequestPlugin_new(void); NDDSUSERDllExport extern void SendParticipantBlockedAreaRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendParticipantConfigurationRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendParticipantConfigurationRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendParticipantConfigurationRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendParticipantConfigurationRequest. */ typedef struct SendParticipantConfigurationRequest SendParticipantConfigurationRequestKeyHolder; #define SendParticipantConfigurationRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendParticipantConfigurationRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendParticipantConfigurationRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendParticipantConfigurationRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendParticipantConfigurationRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendParticipantConfigurationRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendParticipantConfigurationRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendParticipantConfigurationRequest* SendParticipantConfigurationRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendParticipantConfigurationRequest* SendParticipantConfigurationRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendParticipantConfigurationRequest* SendParticipantConfigurationRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendParticipantConfigurationRequestPluginSupport_copy_data( SendParticipantConfigurationRequest *out, const SendParticipantConfigurationRequest *in); NDDSUSERDllExport extern void SendParticipantConfigurationRequestPluginSupport_destroy_data_w_params( SendParticipantConfigurationRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendParticipantConfigurationRequestPluginSupport_destroy_data_ex( SendParticipantConfigurationRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendParticipantConfigurationRequestPluginSupport_destroy_data( SendParticipantConfigurationRequest *sample); NDDSUSERDllExport extern void SendParticipantConfigurationRequestPluginSupport_print_data( const SendParticipantConfigurationRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendParticipantConfigurationRequest* SendParticipantConfigurationRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendParticipantConfigurationRequest* SendParticipantConfigurationRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendParticipantConfigurationRequestPluginSupport_destroy_key_ex( SendParticipantConfigurationRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendParticipantConfigurationRequestPluginSupport_destroy_key( SendParticipantConfigurationRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendParticipantConfigurationRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendParticipantConfigurationRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendParticipantConfigurationRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendParticipantConfigurationRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendParticipantConfigurationRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendParticipantConfigurationRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendParticipantConfigurationRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendParticipantConfigurationRequest *out, const SendParticipantConfigurationRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendParticipantConfigurationRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendParticipantConfigurationRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendParticipantConfigurationRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendParticipantConfigurationRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendParticipantConfigurationRequestPlugin_deserialize_from_cdr_buffer( SendParticipantConfigurationRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendParticipantConfigurationRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendParticipantConfigurationRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendParticipantConfigurationRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendParticipantConfigurationRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendParticipantConfigurationRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendParticipantConfigurationRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendParticipantConfigurationRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendParticipantConfigurationRequestKeyHolder *key, const SendParticipantConfigurationRequest *instance); NDDSUSERDllExport extern RTIBool SendParticipantConfigurationRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendParticipantConfigurationRequest *instance, const SendParticipantConfigurationRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendParticipantConfigurationRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendParticipantConfigurationRequestPlugin_new(void); NDDSUSERDllExport extern void SendParticipantConfigurationRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendParticipantModeRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendParticipantModeRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendParticipantModeRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendParticipantModeRequest. */ typedef struct SendParticipantModeRequest SendParticipantModeRequestKeyHolder; #define SendParticipantModeRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendParticipantModeRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendParticipantModeRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendParticipantModeRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendParticipantModeRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendParticipantModeRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendParticipantModeRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendParticipantModeRequest* SendParticipantModeRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendParticipantModeRequest* SendParticipantModeRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendParticipantModeRequest* SendParticipantModeRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendParticipantModeRequestPluginSupport_copy_data( SendParticipantModeRequest *out, const SendParticipantModeRequest *in); NDDSUSERDllExport extern void SendParticipantModeRequestPluginSupport_destroy_data_w_params( SendParticipantModeRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendParticipantModeRequestPluginSupport_destroy_data_ex( SendParticipantModeRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendParticipantModeRequestPluginSupport_destroy_data( SendParticipantModeRequest *sample); NDDSUSERDllExport extern void SendParticipantModeRequestPluginSupport_print_data( const SendParticipantModeRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendParticipantModeRequest* SendParticipantModeRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendParticipantModeRequest* SendParticipantModeRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendParticipantModeRequestPluginSupport_destroy_key_ex( SendParticipantModeRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendParticipantModeRequestPluginSupport_destroy_key( SendParticipantModeRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendParticipantModeRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendParticipantModeRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendParticipantModeRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendParticipantModeRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendParticipantModeRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendParticipantModeRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendParticipantModeRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendParticipantModeRequest *out, const SendParticipantModeRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendParticipantModeRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendParticipantModeRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendParticipantModeRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendParticipantModeRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendParticipantModeRequestPlugin_deserialize_from_cdr_buffer( SendParticipantModeRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendParticipantModeRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendParticipantModeRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendParticipantModeRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendParticipantModeRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendParticipantModeRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendParticipantModeRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendParticipantModeRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendParticipantModeRequestKeyHolder *key, const SendParticipantModeRequest *instance); NDDSUSERDllExport extern RTIBool SendParticipantModeRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendParticipantModeRequest *instance, const SendParticipantModeRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendParticipantModeRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendParticipantModeRequestPlugin_new(void); NDDSUSERDllExport extern void SendParticipantModeRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendParticipantSwVerionsRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendParticipantSwVerionsRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendParticipantSwVerionsRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendParticipantSwVerionsRequest. */ typedef struct SendParticipantSwVerionsRequest SendParticipantSwVerionsRequestKeyHolder; #define SendParticipantSwVerionsRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendParticipantSwVerionsRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendParticipantSwVerionsRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendParticipantSwVerionsRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendParticipantSwVerionsRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendParticipantSwVerionsRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendParticipantSwVerionsRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendParticipantSwVerionsRequest* SendParticipantSwVerionsRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendParticipantSwVerionsRequest* SendParticipantSwVerionsRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendParticipantSwVerionsRequest* SendParticipantSwVerionsRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendParticipantSwVerionsRequestPluginSupport_copy_data( SendParticipantSwVerionsRequest *out, const SendParticipantSwVerionsRequest *in); NDDSUSERDllExport extern void SendParticipantSwVerionsRequestPluginSupport_destroy_data_w_params( SendParticipantSwVerionsRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendParticipantSwVerionsRequestPluginSupport_destroy_data_ex( SendParticipantSwVerionsRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendParticipantSwVerionsRequestPluginSupport_destroy_data( SendParticipantSwVerionsRequest *sample); NDDSUSERDllExport extern void SendParticipantSwVerionsRequestPluginSupport_print_data( const SendParticipantSwVerionsRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendParticipantSwVerionsRequest* SendParticipantSwVerionsRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendParticipantSwVerionsRequest* SendParticipantSwVerionsRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendParticipantSwVerionsRequestPluginSupport_destroy_key_ex( SendParticipantSwVerionsRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendParticipantSwVerionsRequestPluginSupport_destroy_key( SendParticipantSwVerionsRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendParticipantSwVerionsRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendParticipantSwVerionsRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendParticipantSwVerionsRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendParticipantSwVerionsRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendParticipantSwVerionsRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendParticipantSwVerionsRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendParticipantSwVerionsRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendParticipantSwVerionsRequest *out, const SendParticipantSwVerionsRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendParticipantSwVerionsRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendParticipantSwVerionsRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendParticipantSwVerionsRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendParticipantSwVerionsRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendParticipantSwVerionsRequestPlugin_deserialize_from_cdr_buffer( SendParticipantSwVerionsRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendParticipantSwVerionsRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendParticipantSwVerionsRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendParticipantSwVerionsRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendParticipantSwVerionsRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendParticipantSwVerionsRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendParticipantSwVerionsRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendParticipantSwVerionsRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendParticipantSwVerionsRequestKeyHolder *key, const SendParticipantSwVerionsRequest *instance); NDDSUSERDllExport extern RTIBool SendParticipantSwVerionsRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendParticipantSwVerionsRequest *instance, const SendParticipantSwVerionsRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendParticipantSwVerionsRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendParticipantSwVerionsRequestPlugin_new(void); NDDSUSERDllExport extern void SendParticipantSwVerionsRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendResetAllDusMinesRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendResetAllDusMinesRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendResetAllDusMinesRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendResetAllDusMinesRequest. */ typedef struct SendResetAllDusMinesRequest SendResetAllDusMinesRequestKeyHolder; #define SendResetAllDusMinesRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendResetAllDusMinesRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendResetAllDusMinesRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendResetAllDusMinesRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendResetAllDusMinesRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendResetAllDusMinesRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendResetAllDusMinesRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendResetAllDusMinesRequest* SendResetAllDusMinesRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendResetAllDusMinesRequest* SendResetAllDusMinesRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendResetAllDusMinesRequest* SendResetAllDusMinesRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendResetAllDusMinesRequestPluginSupport_copy_data( SendResetAllDusMinesRequest *out, const SendResetAllDusMinesRequest *in); NDDSUSERDllExport extern void SendResetAllDusMinesRequestPluginSupport_destroy_data_w_params( SendResetAllDusMinesRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendResetAllDusMinesRequestPluginSupport_destroy_data_ex( SendResetAllDusMinesRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendResetAllDusMinesRequestPluginSupport_destroy_data( SendResetAllDusMinesRequest *sample); NDDSUSERDllExport extern void SendResetAllDusMinesRequestPluginSupport_print_data( const SendResetAllDusMinesRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendResetAllDusMinesRequest* SendResetAllDusMinesRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendResetAllDusMinesRequest* SendResetAllDusMinesRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendResetAllDusMinesRequestPluginSupport_destroy_key_ex( SendResetAllDusMinesRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendResetAllDusMinesRequestPluginSupport_destroy_key( SendResetAllDusMinesRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendResetAllDusMinesRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendResetAllDusMinesRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendResetAllDusMinesRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendResetAllDusMinesRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendResetAllDusMinesRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendResetAllDusMinesRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendResetAllDusMinesRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendResetAllDusMinesRequest *out, const SendResetAllDusMinesRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendResetAllDusMinesRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendResetAllDusMinesRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendResetAllDusMinesRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendResetAllDusMinesRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendResetAllDusMinesRequestPlugin_deserialize_from_cdr_buffer( SendResetAllDusMinesRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendResetAllDusMinesRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendResetAllDusMinesRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendResetAllDusMinesRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendResetAllDusMinesRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendResetAllDusMinesRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendResetAllDusMinesRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendResetAllDusMinesRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendResetAllDusMinesRequestKeyHolder *key, const SendResetAllDusMinesRequest *instance); NDDSUSERDllExport extern RTIBool SendResetAllDusMinesRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendResetAllDusMinesRequest *instance, const SendResetAllDusMinesRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendResetAllDusMinesRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendResetAllDusMinesRequestPlugin_new(void); NDDSUSERDllExport extern void SendResetAllDusMinesRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendSelectiveReammunitionRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendSelectiveReammunitionRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendSelectiveReammunitionRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendSelectiveReammunitionRequest. */ typedef struct SendSelectiveReammunitionRequest SendSelectiveReammunitionRequestKeyHolder; #define SendSelectiveReammunitionRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendSelectiveReammunitionRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendSelectiveReammunitionRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendSelectiveReammunitionRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendSelectiveReammunitionRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendSelectiveReammunitionRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendSelectiveReammunitionRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendSelectiveReammunitionRequest* SendSelectiveReammunitionRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendSelectiveReammunitionRequest* SendSelectiveReammunitionRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendSelectiveReammunitionRequest* SendSelectiveReammunitionRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendSelectiveReammunitionRequestPluginSupport_copy_data( SendSelectiveReammunitionRequest *out, const SendSelectiveReammunitionRequest *in); NDDSUSERDllExport extern void SendSelectiveReammunitionRequestPluginSupport_destroy_data_w_params( SendSelectiveReammunitionRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendSelectiveReammunitionRequestPluginSupport_destroy_data_ex( SendSelectiveReammunitionRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendSelectiveReammunitionRequestPluginSupport_destroy_data( SendSelectiveReammunitionRequest *sample); NDDSUSERDllExport extern void SendSelectiveReammunitionRequestPluginSupport_print_data( const SendSelectiveReammunitionRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendSelectiveReammunitionRequest* SendSelectiveReammunitionRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendSelectiveReammunitionRequest* SendSelectiveReammunitionRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendSelectiveReammunitionRequestPluginSupport_destroy_key_ex( SendSelectiveReammunitionRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendSelectiveReammunitionRequestPluginSupport_destroy_key( SendSelectiveReammunitionRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendSelectiveReammunitionRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendSelectiveReammunitionRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendSelectiveReammunitionRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendSelectiveReammunitionRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendSelectiveReammunitionRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendSelectiveReammunitionRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendSelectiveReammunitionRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendSelectiveReammunitionRequest *out, const SendSelectiveReammunitionRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendSelectiveReammunitionRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendSelectiveReammunitionRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendSelectiveReammunitionRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendSelectiveReammunitionRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendSelectiveReammunitionRequestPlugin_deserialize_from_cdr_buffer( SendSelectiveReammunitionRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendSelectiveReammunitionRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendSelectiveReammunitionRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendSelectiveReammunitionRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendSelectiveReammunitionRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendSelectiveReammunitionRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendSelectiveReammunitionRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendSelectiveReammunitionRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendSelectiveReammunitionRequestKeyHolder *key, const SendSelectiveReammunitionRequest *instance); NDDSUSERDllExport extern RTIBool SendSelectiveReammunitionRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendSelectiveReammunitionRequest *instance, const SendSelectiveReammunitionRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendSelectiveReammunitionRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendSelectiveReammunitionRequestPlugin_new(void); NDDSUSERDllExport extern void SendSelectiveReammunitionRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendSetSanitationRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendSetSanitationRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendSetSanitationRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendSetSanitationRequest. */ typedef struct SendSetSanitationRequest SendSetSanitationRequestKeyHolder; #define SendSetSanitationRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendSetSanitationRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendSetSanitationRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendSetSanitationRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendSetSanitationRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendSetSanitationRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendSetSanitationRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendSetSanitationRequest* SendSetSanitationRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendSetSanitationRequest* SendSetSanitationRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendSetSanitationRequest* SendSetSanitationRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendSetSanitationRequestPluginSupport_copy_data( SendSetSanitationRequest *out, const SendSetSanitationRequest *in); NDDSUSERDllExport extern void SendSetSanitationRequestPluginSupport_destroy_data_w_params( SendSetSanitationRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendSetSanitationRequestPluginSupport_destroy_data_ex( SendSetSanitationRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendSetSanitationRequestPluginSupport_destroy_data( SendSetSanitationRequest *sample); NDDSUSERDllExport extern void SendSetSanitationRequestPluginSupport_print_data( const SendSetSanitationRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendSetSanitationRequest* SendSetSanitationRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendSetSanitationRequest* SendSetSanitationRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendSetSanitationRequestPluginSupport_destroy_key_ex( SendSetSanitationRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendSetSanitationRequestPluginSupport_destroy_key( SendSetSanitationRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendSetSanitationRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendSetSanitationRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendSetSanitationRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendSetSanitationRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendSetSanitationRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendSetSanitationRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendSetSanitationRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendSetSanitationRequest *out, const SendSetSanitationRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendSetSanitationRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendSetSanitationRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendSetSanitationRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendSetSanitationRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendSetSanitationRequestPlugin_deserialize_from_cdr_buffer( SendSetSanitationRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendSetSanitationRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendSetSanitationRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendSetSanitationRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendSetSanitationRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendSetSanitationRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendSetSanitationRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendSetSanitationRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendSetSanitationRequestKeyHolder *key, const SendSetSanitationRequest *instance); NDDSUSERDllExport extern RTIBool SendSetSanitationRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendSetSanitationRequest *instance, const SendSetSanitationRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendSetSanitationRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendSetSanitationRequestPlugin_new(void); NDDSUSERDllExport extern void SendSetSanitationRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendSetVulnerabilityModelRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendSetVulnerabilityModelRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendSetVulnerabilityModelRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendSetVulnerabilityModelRequest. */ typedef struct SendSetVulnerabilityModelRequest SendSetVulnerabilityModelRequestKeyHolder; #define SendSetVulnerabilityModelRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendSetVulnerabilityModelRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendSetVulnerabilityModelRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendSetVulnerabilityModelRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendSetVulnerabilityModelRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendSetVulnerabilityModelRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendSetVulnerabilityModelRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendSetVulnerabilityModelRequest* SendSetVulnerabilityModelRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendSetVulnerabilityModelRequest* SendSetVulnerabilityModelRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendSetVulnerabilityModelRequest* SendSetVulnerabilityModelRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendSetVulnerabilityModelRequestPluginSupport_copy_data( SendSetVulnerabilityModelRequest *out, const SendSetVulnerabilityModelRequest *in); NDDSUSERDllExport extern void SendSetVulnerabilityModelRequestPluginSupport_destroy_data_w_params( SendSetVulnerabilityModelRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendSetVulnerabilityModelRequestPluginSupport_destroy_data_ex( SendSetVulnerabilityModelRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendSetVulnerabilityModelRequestPluginSupport_destroy_data( SendSetVulnerabilityModelRequest *sample); NDDSUSERDllExport extern void SendSetVulnerabilityModelRequestPluginSupport_print_data( const SendSetVulnerabilityModelRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendSetVulnerabilityModelRequest* SendSetVulnerabilityModelRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendSetVulnerabilityModelRequest* SendSetVulnerabilityModelRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendSetVulnerabilityModelRequestPluginSupport_destroy_key_ex( SendSetVulnerabilityModelRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendSetVulnerabilityModelRequestPluginSupport_destroy_key( SendSetVulnerabilityModelRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendSetVulnerabilityModelRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendSetVulnerabilityModelRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendSetVulnerabilityModelRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendSetVulnerabilityModelRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendSetVulnerabilityModelRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendSetVulnerabilityModelRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendSetVulnerabilityModelRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendSetVulnerabilityModelRequest *out, const SendSetVulnerabilityModelRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendSetVulnerabilityModelRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendSetVulnerabilityModelRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendSetVulnerabilityModelRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendSetVulnerabilityModelRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendSetVulnerabilityModelRequestPlugin_deserialize_from_cdr_buffer( SendSetVulnerabilityModelRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendSetVulnerabilityModelRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendSetVulnerabilityModelRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendSetVulnerabilityModelRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendSetVulnerabilityModelRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendSetVulnerabilityModelRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendSetVulnerabilityModelRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendSetVulnerabilityModelRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendSetVulnerabilityModelRequestKeyHolder *key, const SendSetVulnerabilityModelRequest *instance); NDDSUSERDllExport extern RTIBool SendSetVulnerabilityModelRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendSetVulnerabilityModelRequest *instance, const SendSetVulnerabilityModelRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendSetVulnerabilityModelRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendSetVulnerabilityModelRequestPlugin_new(void); NDDSUSERDllExport extern void SendSetVulnerabilityModelRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendTargetDataRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendTargetDataRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendTargetDataRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendTargetDataRequest. */ typedef struct SendTargetDataRequest SendTargetDataRequestKeyHolder; #define SendTargetDataRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendTargetDataRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendTargetDataRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendTargetDataRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendTargetDataRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendTargetDataRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendTargetDataRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendTargetDataRequest* SendTargetDataRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendTargetDataRequest* SendTargetDataRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendTargetDataRequest* SendTargetDataRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendTargetDataRequestPluginSupport_copy_data( SendTargetDataRequest *out, const SendTargetDataRequest *in); NDDSUSERDllExport extern void SendTargetDataRequestPluginSupport_destroy_data_w_params( SendTargetDataRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendTargetDataRequestPluginSupport_destroy_data_ex( SendTargetDataRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendTargetDataRequestPluginSupport_destroy_data( SendTargetDataRequest *sample); NDDSUSERDllExport extern void SendTargetDataRequestPluginSupport_print_data( const SendTargetDataRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendTargetDataRequest* SendTargetDataRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendTargetDataRequest* SendTargetDataRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendTargetDataRequestPluginSupport_destroy_key_ex( SendTargetDataRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendTargetDataRequestPluginSupport_destroy_key( SendTargetDataRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendTargetDataRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendTargetDataRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendTargetDataRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendTargetDataRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendTargetDataRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendTargetDataRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendTargetDataRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendTargetDataRequest *out, const SendTargetDataRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendTargetDataRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendTargetDataRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendTargetDataRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendTargetDataRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendTargetDataRequestPlugin_deserialize_from_cdr_buffer( SendTargetDataRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendTargetDataRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendTargetDataRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendTargetDataRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendTargetDataRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendTargetDataRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendTargetDataRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendTargetDataRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendTargetDataRequestKeyHolder *key, const SendTargetDataRequest *instance); NDDSUSERDllExport extern RTIBool SendTargetDataRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendTargetDataRequest *instance, const SendTargetDataRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendTargetDataRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendTargetDataRequestPlugin_new(void); NDDSUSERDllExport extern void SendTargetDataRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SendUasWaypointRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SendUasWaypointRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SendUasWaypointRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SendUasWaypointRequest. */ typedef struct SendUasWaypointRequest SendUasWaypointRequestKeyHolder; #define SendUasWaypointRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SendUasWaypointRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SendUasWaypointRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SendUasWaypointRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SendUasWaypointRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SendUasWaypointRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SendUasWaypointRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SendUasWaypointRequest* SendUasWaypointRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SendUasWaypointRequest* SendUasWaypointRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendUasWaypointRequest* SendUasWaypointRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SendUasWaypointRequestPluginSupport_copy_data( SendUasWaypointRequest *out, const SendUasWaypointRequest *in); NDDSUSERDllExport extern void SendUasWaypointRequestPluginSupport_destroy_data_w_params( SendUasWaypointRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SendUasWaypointRequestPluginSupport_destroy_data_ex( SendUasWaypointRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendUasWaypointRequestPluginSupport_destroy_data( SendUasWaypointRequest *sample); NDDSUSERDllExport extern void SendUasWaypointRequestPluginSupport_print_data( const SendUasWaypointRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SendUasWaypointRequest* SendUasWaypointRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SendUasWaypointRequest* SendUasWaypointRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SendUasWaypointRequestPluginSupport_destroy_key_ex( SendUasWaypointRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SendUasWaypointRequestPluginSupport_destroy_key( SendUasWaypointRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SendUasWaypointRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SendUasWaypointRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SendUasWaypointRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SendUasWaypointRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SendUasWaypointRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SendUasWaypointRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SendUasWaypointRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SendUasWaypointRequest *out, const SendUasWaypointRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SendUasWaypointRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SendUasWaypointRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SendUasWaypointRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SendUasWaypointRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendUasWaypointRequestPlugin_deserialize_from_cdr_buffer( SendUasWaypointRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SendUasWaypointRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SendUasWaypointRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SendUasWaypointRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SendUasWaypointRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SendUasWaypointRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SendUasWaypointRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SendUasWaypointRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SendUasWaypointRequestKeyHolder *key, const SendUasWaypointRequest *instance); NDDSUSERDllExport extern RTIBool SendUasWaypointRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SendUasWaypointRequest *instance, const SendUasWaypointRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SendUasWaypointRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SendUasWaypointRequestPlugin_new(void); NDDSUSERDllExport extern void SendUasWaypointRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct ServiceControl * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct ServiceControl) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * ServiceControl must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct ServiceControl. */ typedef struct ServiceControl ServiceControlKeyHolder; #define ServiceControlPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define ServiceControlPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define ServiceControlPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define ServiceControlPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define ServiceControlPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define ServiceControlPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define ServiceControlPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern ServiceControl* ServiceControlPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern ServiceControl* ServiceControlPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ServiceControl* ServiceControlPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool ServiceControlPluginSupport_copy_data( ServiceControl *out, const ServiceControl *in); NDDSUSERDllExport extern void ServiceControlPluginSupport_destroy_data_w_params( ServiceControl *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void ServiceControlPluginSupport_destroy_data_ex( ServiceControl *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ServiceControlPluginSupport_destroy_data( ServiceControl *sample); NDDSUSERDllExport extern void ServiceControlPluginSupport_print_data( const ServiceControl *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern ServiceControl* ServiceControlPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern ServiceControl* ServiceControlPluginSupport_create_key(void); NDDSUSERDllExport extern void ServiceControlPluginSupport_destroy_key_ex( ServiceControlKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void ServiceControlPluginSupport_destroy_key( ServiceControlKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData ServiceControlPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void ServiceControlPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData ServiceControlPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void ServiceControlPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void ServiceControlPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, ServiceControl *sample, void *handle); NDDSUSERDllExport extern RTIBool ServiceControlPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, ServiceControl *out, const ServiceControl *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool ServiceControlPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const ServiceControl *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool ServiceControlPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, ServiceControl **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ServiceControlPlugin_deserialize_from_cdr_buffer( ServiceControl *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int ServiceControlPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind ServiceControlPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int ServiceControlPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int ServiceControlPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool ServiceControlPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, ServiceControl ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool ServiceControlPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, ServiceControlKeyHolder *key, const ServiceControl *instance); NDDSUSERDllExport extern RTIBool ServiceControlPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, ServiceControl *instance, const ServiceControlKeyHolder *key); NDDSUSERDllExport extern RTIBool ServiceControlPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* ServiceControlPlugin_new(void); NDDSUSERDllExport extern void ServiceControlPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SetDevicePowerRequest * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SetDevicePowerRequest) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SetDevicePowerRequest must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SetDevicePowerRequest. */ typedef struct SetDevicePowerRequest SetDevicePowerRequestKeyHolder; #define SetDevicePowerRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SetDevicePowerRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SetDevicePowerRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SetDevicePowerRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SetDevicePowerRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SetDevicePowerRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SetDevicePowerRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SetDevicePowerRequest* SetDevicePowerRequestPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SetDevicePowerRequest* SetDevicePowerRequestPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SetDevicePowerRequest* SetDevicePowerRequestPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SetDevicePowerRequestPluginSupport_copy_data( SetDevicePowerRequest *out, const SetDevicePowerRequest *in); NDDSUSERDllExport extern void SetDevicePowerRequestPluginSupport_destroy_data_w_params( SetDevicePowerRequest *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SetDevicePowerRequestPluginSupport_destroy_data_ex( SetDevicePowerRequest *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SetDevicePowerRequestPluginSupport_destroy_data( SetDevicePowerRequest *sample); NDDSUSERDllExport extern void SetDevicePowerRequestPluginSupport_print_data( const SetDevicePowerRequest *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SetDevicePowerRequest* SetDevicePowerRequestPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SetDevicePowerRequest* SetDevicePowerRequestPluginSupport_create_key(void); NDDSUSERDllExport extern void SetDevicePowerRequestPluginSupport_destroy_key_ex( SetDevicePowerRequestKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SetDevicePowerRequestPluginSupport_destroy_key( SetDevicePowerRequestKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SetDevicePowerRequestPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SetDevicePowerRequestPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SetDevicePowerRequestPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SetDevicePowerRequestPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SetDevicePowerRequestPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SetDevicePowerRequest *sample, void *handle); NDDSUSERDllExport extern RTIBool SetDevicePowerRequestPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SetDevicePowerRequest *out, const SetDevicePowerRequest *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SetDevicePowerRequestPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SetDevicePowerRequest *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SetDevicePowerRequestPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SetDevicePowerRequest **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SetDevicePowerRequestPlugin_deserialize_from_cdr_buffer( SetDevicePowerRequest *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SetDevicePowerRequestPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SetDevicePowerRequestPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SetDevicePowerRequestPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SetDevicePowerRequestPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SetDevicePowerRequestPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SetDevicePowerRequest ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SetDevicePowerRequestPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SetDevicePowerRequestKeyHolder *key, const SetDevicePowerRequest *instance); NDDSUSERDllExport extern RTIBool SetDevicePowerRequestPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SetDevicePowerRequest *instance, const SetDevicePowerRequestKeyHolder *key); NDDSUSERDllExport extern RTIBool SetDevicePowerRequestPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SetDevicePowerRequestPlugin_new(void); NDDSUSERDllExport extern void SetDevicePowerRequestPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct SpecialSensorData * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct SpecialSensorData) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * SpecialSensorData must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct SpecialSensorData. */ typedef struct SpecialSensorData SpecialSensorDataKeyHolder; #define SpecialSensorDataPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define SpecialSensorDataPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define SpecialSensorDataPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define SpecialSensorDataPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define SpecialSensorDataPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define SpecialSensorDataPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define SpecialSensorDataPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern SpecialSensorData* SpecialSensorDataPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern SpecialSensorData* SpecialSensorDataPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SpecialSensorData* SpecialSensorDataPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool SpecialSensorDataPluginSupport_copy_data( SpecialSensorData *out, const SpecialSensorData *in); NDDSUSERDllExport extern void SpecialSensorDataPluginSupport_destroy_data_w_params( SpecialSensorData *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void SpecialSensorDataPluginSupport_destroy_data_ex( SpecialSensorData *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SpecialSensorDataPluginSupport_destroy_data( SpecialSensorData *sample); NDDSUSERDllExport extern void SpecialSensorDataPluginSupport_print_data( const SpecialSensorData *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern SpecialSensorData* SpecialSensorDataPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern SpecialSensorData* SpecialSensorDataPluginSupport_create_key(void); NDDSUSERDllExport extern void SpecialSensorDataPluginSupport_destroy_key_ex( SpecialSensorDataKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void SpecialSensorDataPluginSupport_destroy_key( SpecialSensorDataKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData SpecialSensorDataPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void SpecialSensorDataPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData SpecialSensorDataPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void SpecialSensorDataPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void SpecialSensorDataPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, SpecialSensorData *sample, void *handle); NDDSUSERDllExport extern RTIBool SpecialSensorDataPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, SpecialSensorData *out, const SpecialSensorData *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool SpecialSensorDataPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const SpecialSensorData *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool SpecialSensorDataPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, SpecialSensorData **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SpecialSensorDataPlugin_deserialize_from_cdr_buffer( SpecialSensorData *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int SpecialSensorDataPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind SpecialSensorDataPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int SpecialSensorDataPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int SpecialSensorDataPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool SpecialSensorDataPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, SpecialSensorData ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool SpecialSensorDataPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, SpecialSensorDataKeyHolder *key, const SpecialSensorData *instance); NDDSUSERDllExport extern RTIBool SpecialSensorDataPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, SpecialSensorData *instance, const SpecialSensorDataKeyHolder *key); NDDSUSERDllExport extern RTIBool SpecialSensorDataPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* SpecialSensorDataPlugin_new(void); NDDSUSERDllExport extern void SpecialSensorDataPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct StateIed * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct StateIed) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * StateIed must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct StateIed. */ typedef struct StateIed StateIedKeyHolder; #define StateIedPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define StateIedPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define StateIedPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define StateIedPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define StateIedPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define StateIedPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define StateIedPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern StateIed* StateIedPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern StateIed* StateIedPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern StateIed* StateIedPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool StateIedPluginSupport_copy_data( StateIed *out, const StateIed *in); NDDSUSERDllExport extern void StateIedPluginSupport_destroy_data_w_params( StateIed *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void StateIedPluginSupport_destroy_data_ex( StateIed *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void StateIedPluginSupport_destroy_data( StateIed *sample); NDDSUSERDllExport extern void StateIedPluginSupport_print_data( const StateIed *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern StateIed* StateIedPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern StateIed* StateIedPluginSupport_create_key(void); NDDSUSERDllExport extern void StateIedPluginSupport_destroy_key_ex( StateIedKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void StateIedPluginSupport_destroy_key( StateIedKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData StateIedPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void StateIedPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData StateIedPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void StateIedPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void StateIedPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, StateIed *sample, void *handle); NDDSUSERDllExport extern RTIBool StateIedPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, StateIed *out, const StateIed *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool StateIedPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const StateIed *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool StateIedPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, StateIed **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool StateIedPlugin_deserialize_from_cdr_buffer( StateIed *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int StateIedPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind StateIedPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int StateIedPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int StateIedPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool StateIedPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, StateIed ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool StateIedPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, StateIedKeyHolder *key, const StateIed *instance); NDDSUSERDllExport extern RTIBool StateIedPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, StateIed *instance, const StateIedKeyHolder *key); NDDSUSERDllExport extern RTIBool StateIedPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* StateIedPlugin_new(void); NDDSUSERDllExport extern void StateIedPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct TargetData * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct TargetData) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * TargetData must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct TargetData. */ typedef struct TargetData TargetDataKeyHolder; #define TargetDataPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define TargetDataPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define TargetDataPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define TargetDataPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define TargetDataPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define TargetDataPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define TargetDataPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern TargetData* TargetDataPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern TargetData* TargetDataPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern TargetData* TargetDataPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool TargetDataPluginSupport_copy_data( TargetData *out, const TargetData *in); NDDSUSERDllExport extern void TargetDataPluginSupport_destroy_data_w_params( TargetData *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void TargetDataPluginSupport_destroy_data_ex( TargetData *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void TargetDataPluginSupport_destroy_data( TargetData *sample); NDDSUSERDllExport extern void TargetDataPluginSupport_print_data( const TargetData *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern TargetData* TargetDataPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern TargetData* TargetDataPluginSupport_create_key(void); NDDSUSERDllExport extern void TargetDataPluginSupport_destroy_key_ex( TargetDataKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void TargetDataPluginSupport_destroy_key( TargetDataKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData TargetDataPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void TargetDataPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData TargetDataPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void TargetDataPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void TargetDataPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, TargetData *sample, void *handle); NDDSUSERDllExport extern RTIBool TargetDataPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, TargetData *out, const TargetData *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool TargetDataPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const TargetData *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool TargetDataPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, TargetData **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool TargetDataPlugin_deserialize_from_cdr_buffer( TargetData *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int TargetDataPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind TargetDataPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int TargetDataPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int TargetDataPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool TargetDataPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, TargetData ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool TargetDataPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, TargetDataKeyHolder *key, const TargetData *instance); NDDSUSERDllExport extern RTIBool TargetDataPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, TargetData *instance, const TargetDataKeyHolder *key); NDDSUSERDllExport extern RTIBool TargetDataPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* TargetDataPlugin_new(void); NDDSUSERDllExport extern void TargetDataPlugin_delete(struct PRESTypePlugin *); #define TrajectoryAdlerPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define TrajectoryAdlerPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define TrajectoryAdlerPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define TrajectoryAdlerPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define TrajectoryAdlerPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern TrajectoryAdler* TrajectoryAdlerPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern TrajectoryAdler* TrajectoryAdlerPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern TrajectoryAdler* TrajectoryAdlerPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool TrajectoryAdlerPluginSupport_copy_data( TrajectoryAdler *out, const TrajectoryAdler *in); NDDSUSERDllExport extern void TrajectoryAdlerPluginSupport_destroy_data_w_params( TrajectoryAdler *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void TrajectoryAdlerPluginSupport_destroy_data_ex( TrajectoryAdler *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void TrajectoryAdlerPluginSupport_destroy_data( TrajectoryAdler *sample); NDDSUSERDllExport extern void TrajectoryAdlerPluginSupport_print_data( const TrajectoryAdler *sample, const char *desc, unsigned int indent); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData TrajectoryAdlerPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void TrajectoryAdlerPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData TrajectoryAdlerPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void TrajectoryAdlerPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void TrajectoryAdlerPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, TrajectoryAdler *sample, void *handle); NDDSUSERDllExport extern RTIBool TrajectoryAdlerPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, TrajectoryAdler *out, const TrajectoryAdler *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool TrajectoryAdlerPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const TrajectoryAdler *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool TrajectoryAdlerPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, TrajectoryAdler **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool TrajectoryAdlerPlugin_deserialize_from_cdr_buffer( TrajectoryAdler *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int TrajectoryAdlerPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind TrajectoryAdlerPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int TrajectoryAdlerPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int TrajectoryAdlerPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool TrajectoryAdlerPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, TrajectoryAdler ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* TrajectoryAdlerPlugin_new(void); NDDSUSERDllExport extern void TrajectoryAdlerPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct UASMissionStatus * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct UASMissionStatus) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * UASMissionStatus must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct UASMissionStatus. */ typedef struct UASMissionStatus UASMissionStatusKeyHolder; #define UASMissionStatusPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define UASMissionStatusPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define UASMissionStatusPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define UASMissionStatusPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define UASMissionStatusPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define UASMissionStatusPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define UASMissionStatusPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern UASMissionStatus* UASMissionStatusPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern UASMissionStatus* UASMissionStatusPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern UASMissionStatus* UASMissionStatusPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool UASMissionStatusPluginSupport_copy_data( UASMissionStatus *out, const UASMissionStatus *in); NDDSUSERDllExport extern void UASMissionStatusPluginSupport_destroy_data_w_params( UASMissionStatus *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void UASMissionStatusPluginSupport_destroy_data_ex( UASMissionStatus *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void UASMissionStatusPluginSupport_destroy_data( UASMissionStatus *sample); NDDSUSERDllExport extern void UASMissionStatusPluginSupport_print_data( const UASMissionStatus *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern UASMissionStatus* UASMissionStatusPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern UASMissionStatus* UASMissionStatusPluginSupport_create_key(void); NDDSUSERDllExport extern void UASMissionStatusPluginSupport_destroy_key_ex( UASMissionStatusKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void UASMissionStatusPluginSupport_destroy_key( UASMissionStatusKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData UASMissionStatusPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void UASMissionStatusPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData UASMissionStatusPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void UASMissionStatusPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void UASMissionStatusPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, UASMissionStatus *sample, void *handle); NDDSUSERDllExport extern RTIBool UASMissionStatusPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, UASMissionStatus *out, const UASMissionStatus *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool UASMissionStatusPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const UASMissionStatus *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool UASMissionStatusPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, UASMissionStatus **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool UASMissionStatusPlugin_deserialize_from_cdr_buffer( UASMissionStatus *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int UASMissionStatusPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind UASMissionStatusPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int UASMissionStatusPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int UASMissionStatusPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool UASMissionStatusPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, UASMissionStatus ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool UASMissionStatusPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, UASMissionStatusKeyHolder *key, const UASMissionStatus *instance); NDDSUSERDllExport extern RTIBool UASMissionStatusPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, UASMissionStatus *instance, const UASMissionStatusKeyHolder *key); NDDSUSERDllExport extern RTIBool UASMissionStatusPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* UASMissionStatusPlugin_new(void); NDDSUSERDllExport extern void UASMissionStatusPlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct UASRadioLinkConnectionState * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct UASRadioLinkConnectionState) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * UASRadioLinkConnectionState must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct UASRadioLinkConnectionState. */ typedef struct UASRadioLinkConnectionState UASRadioLinkConnectionStateKeyHolder; #define UASRadioLinkConnectionStatePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define UASRadioLinkConnectionStatePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define UASRadioLinkConnectionStatePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define UASRadioLinkConnectionStatePlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define UASRadioLinkConnectionStatePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define UASRadioLinkConnectionStatePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define UASRadioLinkConnectionStatePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern UASRadioLinkConnectionState* UASRadioLinkConnectionStatePluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern UASRadioLinkConnectionState* UASRadioLinkConnectionStatePluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern UASRadioLinkConnectionState* UASRadioLinkConnectionStatePluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool UASRadioLinkConnectionStatePluginSupport_copy_data( UASRadioLinkConnectionState *out, const UASRadioLinkConnectionState *in); NDDSUSERDllExport extern void UASRadioLinkConnectionStatePluginSupport_destroy_data_w_params( UASRadioLinkConnectionState *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void UASRadioLinkConnectionStatePluginSupport_destroy_data_ex( UASRadioLinkConnectionState *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void UASRadioLinkConnectionStatePluginSupport_destroy_data( UASRadioLinkConnectionState *sample); NDDSUSERDllExport extern void UASRadioLinkConnectionStatePluginSupport_print_data( const UASRadioLinkConnectionState *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern UASRadioLinkConnectionState* UASRadioLinkConnectionStatePluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern UASRadioLinkConnectionState* UASRadioLinkConnectionStatePluginSupport_create_key(void); NDDSUSERDllExport extern void UASRadioLinkConnectionStatePluginSupport_destroy_key_ex( UASRadioLinkConnectionStateKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void UASRadioLinkConnectionStatePluginSupport_destroy_key( UASRadioLinkConnectionStateKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData UASRadioLinkConnectionStatePlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void UASRadioLinkConnectionStatePlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData UASRadioLinkConnectionStatePlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void UASRadioLinkConnectionStatePlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void UASRadioLinkConnectionStatePlugin_return_sample( PRESTypePluginEndpointData endpoint_data, UASRadioLinkConnectionState *sample, void *handle); NDDSUSERDllExport extern RTIBool UASRadioLinkConnectionStatePlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, UASRadioLinkConnectionState *out, const UASRadioLinkConnectionState *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool UASRadioLinkConnectionStatePlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const UASRadioLinkConnectionState *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool UASRadioLinkConnectionStatePlugin_deserialize( PRESTypePluginEndpointData endpoint_data, UASRadioLinkConnectionState **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool UASRadioLinkConnectionStatePlugin_deserialize_from_cdr_buffer( UASRadioLinkConnectionState *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int UASRadioLinkConnectionStatePlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind UASRadioLinkConnectionStatePlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int UASRadioLinkConnectionStatePlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int UASRadioLinkConnectionStatePlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool UASRadioLinkConnectionStatePlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, UASRadioLinkConnectionState ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool UASRadioLinkConnectionStatePlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, UASRadioLinkConnectionStateKeyHolder *key, const UASRadioLinkConnectionState *instance); NDDSUSERDllExport extern RTIBool UASRadioLinkConnectionStatePlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, UASRadioLinkConnectionState *instance, const UASRadioLinkConnectionStateKeyHolder *key); NDDSUSERDllExport extern RTIBool UASRadioLinkConnectionStatePlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* UASRadioLinkConnectionStatePlugin_new(void); NDDSUSERDllExport extern void UASRadioLinkConnectionStatePlugin_delete(struct PRESTypePlugin *); /* The type used to store keys for instances of type struct * AnotherSimple. * * By default, this type is struct UASStatus * itself. However, if for some reason this choice is not practical for your * system (e.g. if sizeof(struct UASStatus) * is very large), you may redefine this typedef in terms of another type of * your choosing. HOWEVER, if you define the KeyHolder type to be something * other than struct AnotherSimple, the * following restriction applies: the key of struct * UASStatus must consist of a * single field of your redefined KeyHolder type and that field must be the * first field in struct UASStatus. */ typedef struct UASStatus UASStatusKeyHolder; #define UASStatusPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample #define UASStatusPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer #define UASStatusPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer #define UASStatusPlugin_get_key PRESTypePluginDefaultEndpointData_getKey #define UASStatusPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey #define UASStatusPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample #define UASStatusPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample /* -------------------------------------------------------------------------------------- Support functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern UASStatus* UASStatusPluginSupport_create_data_w_params( const struct DDS_TypeAllocationParams_t * alloc_params); NDDSUSERDllExport extern UASStatus* UASStatusPluginSupport_create_data_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern UASStatus* UASStatusPluginSupport_create_data(void); NDDSUSERDllExport extern RTIBool UASStatusPluginSupport_copy_data( UASStatus *out, const UASStatus *in); NDDSUSERDllExport extern void UASStatusPluginSupport_destroy_data_w_params( UASStatus *sample, const struct DDS_TypeDeallocationParams_t * dealloc_params); NDDSUSERDllExport extern void UASStatusPluginSupport_destroy_data_ex( UASStatus *sample,RTIBool deallocate_pointers); NDDSUSERDllExport extern void UASStatusPluginSupport_destroy_data( UASStatus *sample); NDDSUSERDllExport extern void UASStatusPluginSupport_print_data( const UASStatus *sample, const char *desc, unsigned int indent); NDDSUSERDllExport extern UASStatus* UASStatusPluginSupport_create_key_ex(RTIBool allocate_pointers); NDDSUSERDllExport extern UASStatus* UASStatusPluginSupport_create_key(void); NDDSUSERDllExport extern void UASStatusPluginSupport_destroy_key_ex( UASStatusKeyHolder *key,RTIBool deallocate_pointers); NDDSUSERDllExport extern void UASStatusPluginSupport_destroy_key( UASStatusKeyHolder *key); /* ---------------------------------------------------------------------------- Callback functions: * ---------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginParticipantData UASStatusPlugin_on_participant_attached( void *registration_data, const struct PRESTypePluginParticipantInfo *participant_info, RTIBool top_level_registration, void *container_plugin_context, RTICdrTypeCode *typeCode); NDDSUSERDllExport extern void UASStatusPlugin_on_participant_detached( PRESTypePluginParticipantData participant_data); NDDSUSERDllExport extern PRESTypePluginEndpointData UASStatusPlugin_on_endpoint_attached( PRESTypePluginParticipantData participant_data, const struct PRESTypePluginEndpointInfo *endpoint_info, RTIBool top_level_registration, void *container_plugin_context); NDDSUSERDllExport extern void UASStatusPlugin_on_endpoint_detached( PRESTypePluginEndpointData endpoint_data); NDDSUSERDllExport extern void UASStatusPlugin_return_sample( PRESTypePluginEndpointData endpoint_data, UASStatus *sample, void *handle); NDDSUSERDllExport extern RTIBool UASStatusPlugin_copy_sample( PRESTypePluginEndpointData endpoint_data, UASStatus *out, const UASStatus *in); /* ---------------------------------------------------------------------------- (De)Serialize functions: * ------------------------------------------------------------------------- */ NDDSUSERDllExport extern RTIBool UASStatusPlugin_serialize_to_cdr_buffer( char * buffer, unsigned int * length, const UASStatus *sample, ::dds::core::policy::DataRepresentationId representation = ::dds::core::policy::DataRepresentation::xcdr()); NDDSUSERDllExport extern RTIBool UASStatusPlugin_deserialize( PRESTypePluginEndpointData endpoint_data, UASStatus **sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_sample, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool UASStatusPlugin_deserialize_from_cdr_buffer( UASStatus *sample, const char * buffer, unsigned int length); NDDSUSERDllExport extern unsigned int UASStatusPlugin_get_serialized_sample_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); /* -------------------------------------------------------------------------------------- Key Management functions: * -------------------------------------------------------------------------------------- */ NDDSUSERDllExport extern PRESTypePluginKeyKind UASStatusPlugin_get_key_kind(void); NDDSUSERDllExport extern unsigned int UASStatusPlugin_get_serialized_key_max_size( PRESTypePluginEndpointData endpoint_data, RTIBool include_encapsulation, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern unsigned int UASStatusPlugin_get_serialized_key_max_size_for_keyhash( PRESTypePluginEndpointData endpoint_data, RTIEncapsulationId encapsulation_id, unsigned int current_alignment); NDDSUSERDllExport extern RTIBool UASStatusPlugin_deserialize_key( PRESTypePluginEndpointData endpoint_data, UASStatus ** sample, RTIBool * drop_sample, struct RTICdrStream *cdrStream, RTIBool deserialize_encapsulation, RTIBool deserialize_key, void *endpoint_plugin_qos); NDDSUSERDllExport extern RTIBool UASStatusPlugin_instance_to_key( PRESTypePluginEndpointData endpoint_data, UASStatusKeyHolder *key, const UASStatus *instance); NDDSUSERDllExport extern RTIBool UASStatusPlugin_key_to_instance( PRESTypePluginEndpointData endpoint_data, UASStatus *instance, const UASStatusKeyHolder *key); NDDSUSERDllExport extern RTIBool UASStatusPlugin_serialized_sample_to_keyhash( PRESTypePluginEndpointData endpoint_data, struct RTICdrStream *cdrStream, DDS_KeyHash_t *keyhash, RTIBool deserialize_encapsulation, void *endpoint_plugin_qos); /* Plugin Functions */ NDDSUSERDllExport extern struct PRESTypePlugin* UASStatusPlugin_new(void); NDDSUSERDllExport extern void UASStatusPlugin_delete(struct PRESTypePlugin *); } /* namespace TrainingAreaBase */ #if defined(NDDS_USER_DLL_EXPORT) || defined(NDDS_USER_SYMBOL_EXPORT) #undef NDDSUSERDllExport #define NDDSUSERDllExport #endif #endif /* tabPlugin_1554778242_h */