Major Changes:
- Merged latest Qt5 devel content from dlbo (292 files changed, 7 new dirs)
- Consolidated forward-declarations and include folders
- Removed unneeded modules per Niklas' repo check list
Build System Fixes:
- Fixed CMake VERSION_GREATER syntax in ParticipantManagement/CMakeLists.txt
- Added VLC packages (libvlc-dev, vlc-plugin-base) to docker_build.sh
- Added PostgreSQL dev packages (libpq-dev, postgresql-server-dev-all) to Dockerfile
- Fixed locale warnings (ANSI_X3.4-1968 → C.UTF-8)
- Fixed ArcGIS SDK path warnings when BUILD_ARCGIS=OFF
Code Generation Fixes:
- Fixed IDL enum collisions (PortType→CorePortType/DdsutPortType, PdmEventType)
- Fixed Grantlee template svc_translation.cpp.grantlee:
- Changed {{ idl_enum.name }}_def:: to {{ idl_enum.name }}::
- Fixed .underlying() calls for C++11 scoped enums (enum class)
- Removed generated files from repo (moc_*, *_dtc.h, *_ftc.h)
Validation:
- BUILD_RTI=ON: SUCCESS
- BUILD_RTI=OFF: SUCCESS
- C++17 standard maintained for RTI 7.7 compatibility
- Ubuntu 26.04 Docker environment verified
Remaining Warnings (expected):
- BgViewer, KDChart, KDReports, Poppler-Qt6 not found (optional features)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
7050 lines
272 KiB
C++
7050 lines
272 KiB
C++
|
|
|
|
/*
|
|
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
|
|
|
|
This file was generated from pdm.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 pdmPlugin_713756303_h
|
|
#define pdmPlugin_713756303_h
|
|
|
|
#include "pdm.hpp"
|
|
|
|
struct RTICdrStream;
|
|
|
|
#ifndef pres_typePlugin_h
|
|
#include "pres/pres_typePlugin.h"
|
|
#endif
|
|
|
|
#include "pdm_enumsPlugin.hpp"
|
|
#include "/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4/Lts/DDS/Core/corePlugin.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 <ProjectDataManagement/pdm_export.h> // #define NDDSUSERDllExport for linux
|
|
#include "pdm_enums.hpp"
|
|
#include </workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4/Lts/DDS/Core/core.hpp>
|
|
namespace ProjectDataManagement {
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct PdmBase
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct PdmBase)
|
|
* 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
|
|
* PdmBase must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct PdmBase.
|
|
*/
|
|
typedef struct PdmBase PdmBaseKeyHolder;
|
|
|
|
#define PdmBasePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define PdmBasePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define PdmBasePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define PdmBasePlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define PdmBasePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define PdmBasePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define PdmBasePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PdmBase*
|
|
PdmBasePluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern PdmBase*
|
|
PdmBasePluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern PdmBase*
|
|
PdmBasePluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBasePluginSupport_copy_data(
|
|
PdmBase *out,
|
|
const PdmBase *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBasePluginSupport_destroy_data_w_params(
|
|
PdmBase *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBasePluginSupport_destroy_data_ex(
|
|
PdmBase *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBasePluginSupport_destroy_data(
|
|
PdmBase *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBasePluginSupport_print_data(
|
|
const PdmBase *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern PdmBase*
|
|
PdmBasePluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern PdmBase*
|
|
PdmBasePluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBasePluginSupport_destroy_key_ex(
|
|
PdmBaseKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBasePluginSupport_destroy_key(
|
|
PdmBaseKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
PdmBasePlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBasePlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
PdmBasePlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBasePlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBasePlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
PdmBase *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBasePlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
PdmBase *out,
|
|
const PdmBase *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBasePlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const PdmBase *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBasePlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
PdmBase **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBasePlugin_deserialize_from_cdr_buffer(
|
|
PdmBase *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
PdmBasePlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
PdmBasePlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
PdmBasePlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
PdmBasePlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBasePlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
PdmBase ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBasePlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
PdmBaseKeyHolder *key,
|
|
const PdmBase *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBasePlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
PdmBase *instance,
|
|
const PdmBaseKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBasePlugin_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*
|
|
PdmBasePlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBasePlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct PdmBaseName
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct PdmBaseName)
|
|
* 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
|
|
* PdmBaseName must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct PdmBaseName.
|
|
*/
|
|
typedef struct PdmBaseName PdmBaseNameKeyHolder;
|
|
|
|
#define PdmBaseNamePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define PdmBaseNamePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define PdmBaseNamePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define PdmBaseNamePlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define PdmBaseNamePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define PdmBaseNamePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define PdmBaseNamePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PdmBaseName*
|
|
PdmBaseNamePluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern PdmBaseName*
|
|
PdmBaseNamePluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern PdmBaseName*
|
|
PdmBaseNamePluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBaseNamePluginSupport_copy_data(
|
|
PdmBaseName *out,
|
|
const PdmBaseName *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBaseNamePluginSupport_destroy_data_w_params(
|
|
PdmBaseName *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBaseNamePluginSupport_destroy_data_ex(
|
|
PdmBaseName *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBaseNamePluginSupport_destroy_data(
|
|
PdmBaseName *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBaseNamePluginSupport_print_data(
|
|
const PdmBaseName *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern PdmBaseName*
|
|
PdmBaseNamePluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern PdmBaseName*
|
|
PdmBaseNamePluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBaseNamePluginSupport_destroy_key_ex(
|
|
PdmBaseNameKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBaseNamePluginSupport_destroy_key(
|
|
PdmBaseNameKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
PdmBaseNamePlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBaseNamePlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
PdmBaseNamePlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBaseNamePlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBaseNamePlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
PdmBaseName *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBaseNamePlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
PdmBaseName *out,
|
|
const PdmBaseName *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBaseNamePlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const PdmBaseName *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBaseNamePlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
PdmBaseName **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBaseNamePlugin_deserialize_from_cdr_buffer(
|
|
PdmBaseName *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
PdmBaseNamePlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
PdmBaseNamePlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
PdmBaseNamePlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
PdmBaseNamePlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBaseNamePlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
PdmBaseName ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBaseNamePlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
PdmBaseNameKeyHolder *key,
|
|
const PdmBaseName *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBaseNamePlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
PdmBaseName *instance,
|
|
const PdmBaseNameKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
PdmBaseNamePlugin_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*
|
|
PdmBaseNamePlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
PdmBaseNamePlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct BiteComponentText
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct BiteComponentText)
|
|
* 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
|
|
* BiteComponentText must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct BiteComponentText.
|
|
*/
|
|
typedef struct BiteComponentText BiteComponentTextKeyHolder;
|
|
|
|
#define BiteComponentTextPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define BiteComponentTextPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define BiteComponentTextPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define BiteComponentTextPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define BiteComponentTextPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define BiteComponentTextPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define BiteComponentTextPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern BiteComponentText*
|
|
BiteComponentTextPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern BiteComponentText*
|
|
BiteComponentTextPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern BiteComponentText*
|
|
BiteComponentTextPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BiteComponentTextPluginSupport_copy_data(
|
|
BiteComponentText *out,
|
|
const BiteComponentText *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BiteComponentTextPluginSupport_destroy_data_w_params(
|
|
BiteComponentText *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BiteComponentTextPluginSupport_destroy_data_ex(
|
|
BiteComponentText *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BiteComponentTextPluginSupport_destroy_data(
|
|
BiteComponentText *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BiteComponentTextPluginSupport_print_data(
|
|
const BiteComponentText *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern BiteComponentText*
|
|
BiteComponentTextPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern BiteComponentText*
|
|
BiteComponentTextPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BiteComponentTextPluginSupport_destroy_key_ex(
|
|
BiteComponentTextKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BiteComponentTextPluginSupport_destroy_key(
|
|
BiteComponentTextKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
BiteComponentTextPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BiteComponentTextPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
BiteComponentTextPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BiteComponentTextPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BiteComponentTextPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
BiteComponentText *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BiteComponentTextPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
BiteComponentText *out,
|
|
const BiteComponentText *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BiteComponentTextPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const BiteComponentText *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BiteComponentTextPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
BiteComponentText **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BiteComponentTextPlugin_deserialize_from_cdr_buffer(
|
|
BiteComponentText *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
BiteComponentTextPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
BiteComponentTextPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
BiteComponentTextPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
BiteComponentTextPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BiteComponentTextPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
BiteComponentText ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BiteComponentTextPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
BiteComponentTextKeyHolder *key,
|
|
const BiteComponentText *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BiteComponentTextPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
BiteComponentText *instance,
|
|
const BiteComponentTextKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BiteComponentTextPlugin_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*
|
|
BiteComponentTextPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BiteComponentTextPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct BuildingChargeEffect
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct BuildingChargeEffect)
|
|
* 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
|
|
* BuildingChargeEffect must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct BuildingChargeEffect.
|
|
*/
|
|
typedef struct BuildingChargeEffect BuildingChargeEffectKeyHolder;
|
|
|
|
#define BuildingChargeEffectPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define BuildingChargeEffectPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define BuildingChargeEffectPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define BuildingChargeEffectPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define BuildingChargeEffectPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define BuildingChargeEffectPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define BuildingChargeEffectPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern BuildingChargeEffect*
|
|
BuildingChargeEffectPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern BuildingChargeEffect*
|
|
BuildingChargeEffectPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern BuildingChargeEffect*
|
|
BuildingChargeEffectPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BuildingChargeEffectPluginSupport_copy_data(
|
|
BuildingChargeEffect *out,
|
|
const BuildingChargeEffect *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BuildingChargeEffectPluginSupport_destroy_data_w_params(
|
|
BuildingChargeEffect *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BuildingChargeEffectPluginSupport_destroy_data_ex(
|
|
BuildingChargeEffect *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BuildingChargeEffectPluginSupport_destroy_data(
|
|
BuildingChargeEffect *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BuildingChargeEffectPluginSupport_print_data(
|
|
const BuildingChargeEffect *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern BuildingChargeEffect*
|
|
BuildingChargeEffectPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern BuildingChargeEffect*
|
|
BuildingChargeEffectPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BuildingChargeEffectPluginSupport_destroy_key_ex(
|
|
BuildingChargeEffectKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BuildingChargeEffectPluginSupport_destroy_key(
|
|
BuildingChargeEffectKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
BuildingChargeEffectPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BuildingChargeEffectPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
BuildingChargeEffectPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BuildingChargeEffectPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BuildingChargeEffectPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
BuildingChargeEffect *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BuildingChargeEffectPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
BuildingChargeEffect *out,
|
|
const BuildingChargeEffect *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BuildingChargeEffectPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const BuildingChargeEffect *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BuildingChargeEffectPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
BuildingChargeEffect **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BuildingChargeEffectPlugin_deserialize_from_cdr_buffer(
|
|
BuildingChargeEffect *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
BuildingChargeEffectPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
BuildingChargeEffectPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
BuildingChargeEffectPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
BuildingChargeEffectPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BuildingChargeEffectPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
BuildingChargeEffect ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BuildingChargeEffectPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
BuildingChargeEffectKeyHolder *key,
|
|
const BuildingChargeEffect *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BuildingChargeEffectPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
BuildingChargeEffect *instance,
|
|
const BuildingChargeEffectKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
BuildingChargeEffectPlugin_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*
|
|
BuildingChargeEffectPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
BuildingChargeEffectPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct CanComponentString
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct CanComponentString)
|
|
* 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
|
|
* CanComponentString must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct CanComponentString.
|
|
*/
|
|
typedef struct CanComponentString CanComponentStringKeyHolder;
|
|
|
|
#define CanComponentStringPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define CanComponentStringPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define CanComponentStringPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define CanComponentStringPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define CanComponentStringPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define CanComponentStringPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define CanComponentStringPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern CanComponentString*
|
|
CanComponentStringPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern CanComponentString*
|
|
CanComponentStringPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern CanComponentString*
|
|
CanComponentStringPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CanComponentStringPluginSupport_copy_data(
|
|
CanComponentString *out,
|
|
const CanComponentString *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CanComponentStringPluginSupport_destroy_data_w_params(
|
|
CanComponentString *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CanComponentStringPluginSupport_destroy_data_ex(
|
|
CanComponentString *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CanComponentStringPluginSupport_destroy_data(
|
|
CanComponentString *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CanComponentStringPluginSupport_print_data(
|
|
const CanComponentString *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern CanComponentString*
|
|
CanComponentStringPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern CanComponentString*
|
|
CanComponentStringPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CanComponentStringPluginSupport_destroy_key_ex(
|
|
CanComponentStringKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CanComponentStringPluginSupport_destroy_key(
|
|
CanComponentStringKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
CanComponentStringPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CanComponentStringPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
CanComponentStringPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CanComponentStringPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CanComponentStringPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
CanComponentString *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CanComponentStringPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
CanComponentString *out,
|
|
const CanComponentString *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CanComponentStringPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const CanComponentString *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CanComponentStringPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
CanComponentString **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CanComponentStringPlugin_deserialize_from_cdr_buffer(
|
|
CanComponentString *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
CanComponentStringPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
CanComponentStringPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
CanComponentStringPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
CanComponentStringPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CanComponentStringPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
CanComponentString ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CanComponentStringPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
CanComponentStringKeyHolder *key,
|
|
const CanComponentString *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CanComponentStringPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
CanComponentString *instance,
|
|
const CanComponentStringKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CanComponentStringPlugin_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*
|
|
CanComponentStringPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CanComponentStringPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
#define CasEffectPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define CasEffectPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define CasEffectPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define CasEffectPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define CasEffectPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern CasEffect*
|
|
CasEffectPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern CasEffect*
|
|
CasEffectPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern CasEffect*
|
|
CasEffectPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CasEffectPluginSupport_copy_data(
|
|
CasEffect *out,
|
|
const CasEffect *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CasEffectPluginSupport_destroy_data_w_params(
|
|
CasEffect *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CasEffectPluginSupport_destroy_data_ex(
|
|
CasEffect *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CasEffectPluginSupport_destroy_data(
|
|
CasEffect *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CasEffectPluginSupport_print_data(
|
|
const CasEffect *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
CasEffectPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CasEffectPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
CasEffectPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CasEffectPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CasEffectPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
CasEffect *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CasEffectPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
CasEffect *out,
|
|
const CasEffect *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CasEffectPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const CasEffect *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CasEffectPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
CasEffect **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CasEffectPlugin_deserialize_from_cdr_buffer(
|
|
CasEffect *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
CasEffectPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
CasEffectPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
CasEffectPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
CasEffectPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
CasEffectPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
CasEffect ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
/* Plugin Functions */
|
|
NDDSUSERDllExport extern struct PRESTypePlugin*
|
|
CasEffectPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
CasEffectPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct ChargeType
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct ChargeType)
|
|
* 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
|
|
* ChargeType must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct ChargeType.
|
|
*/
|
|
typedef struct ChargeType ChargeTypeKeyHolder;
|
|
|
|
#define ChargeTypePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define ChargeTypePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define ChargeTypePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define ChargeTypePlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define ChargeTypePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define ChargeTypePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define ChargeTypePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern ChargeType*
|
|
ChargeTypePluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern ChargeType*
|
|
ChargeTypePluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern ChargeType*
|
|
ChargeTypePluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypePluginSupport_copy_data(
|
|
ChargeType *out,
|
|
const ChargeType *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypePluginSupport_destroy_data_w_params(
|
|
ChargeType *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypePluginSupport_destroy_data_ex(
|
|
ChargeType *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypePluginSupport_destroy_data(
|
|
ChargeType *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypePluginSupport_print_data(
|
|
const ChargeType *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern ChargeType*
|
|
ChargeTypePluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern ChargeType*
|
|
ChargeTypePluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypePluginSupport_destroy_key_ex(
|
|
ChargeTypeKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypePluginSupport_destroy_key(
|
|
ChargeTypeKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
ChargeTypePlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypePlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
ChargeTypePlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypePlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypePlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeType *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypePlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeType *out,
|
|
const ChargeType *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypePlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const ChargeType *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypePlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeType **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypePlugin_deserialize_from_cdr_buffer(
|
|
ChargeType *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
ChargeTypePlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
ChargeTypePlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
ChargeTypePlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
ChargeTypePlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypePlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeType ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypePlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeTypeKeyHolder *key,
|
|
const ChargeType *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypePlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeType *instance,
|
|
const ChargeTypeKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypePlugin_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*
|
|
ChargeTypePlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypePlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct ChargeTypeIgniterTypeIgniterFunction
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct ChargeTypeIgniterTypeIgniterFunction)
|
|
* 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
|
|
* ChargeTypeIgniterTypeIgniterFunction must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct ChargeTypeIgniterTypeIgniterFunction.
|
|
*/
|
|
typedef struct ChargeTypeIgniterTypeIgniterFunction ChargeTypeIgniterTypeIgniterFunctionKeyHolder;
|
|
|
|
#define ChargeTypeIgniterTypeIgniterFunctionPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define ChargeTypeIgniterTypeIgniterFunctionPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define ChargeTypeIgniterTypeIgniterFunctionPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define ChargeTypeIgniterTypeIgniterFunctionPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define ChargeTypeIgniterTypeIgniterFunctionPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define ChargeTypeIgniterTypeIgniterFunctionPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define ChargeTypeIgniterTypeIgniterFunctionPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern ChargeTypeIgniterTypeIgniterFunction*
|
|
ChargeTypeIgniterTypeIgniterFunctionPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern ChargeTypeIgniterTypeIgniterFunction*
|
|
ChargeTypeIgniterTypeIgniterFunctionPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern ChargeTypeIgniterTypeIgniterFunction*
|
|
ChargeTypeIgniterTypeIgniterFunctionPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeIgniterTypeIgniterFunctionPluginSupport_copy_data(
|
|
ChargeTypeIgniterTypeIgniterFunction *out,
|
|
const ChargeTypeIgniterTypeIgniterFunction *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeIgniterTypeIgniterFunctionPluginSupport_destroy_data_w_params(
|
|
ChargeTypeIgniterTypeIgniterFunction *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeIgniterTypeIgniterFunctionPluginSupport_destroy_data_ex(
|
|
ChargeTypeIgniterTypeIgniterFunction *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeIgniterTypeIgniterFunctionPluginSupport_destroy_data(
|
|
ChargeTypeIgniterTypeIgniterFunction *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeIgniterTypeIgniterFunctionPluginSupport_print_data(
|
|
const ChargeTypeIgniterTypeIgniterFunction *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern ChargeTypeIgniterTypeIgniterFunction*
|
|
ChargeTypeIgniterTypeIgniterFunctionPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern ChargeTypeIgniterTypeIgniterFunction*
|
|
ChargeTypeIgniterTypeIgniterFunctionPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeIgniterTypeIgniterFunctionPluginSupport_destroy_key_ex(
|
|
ChargeTypeIgniterTypeIgniterFunctionKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeIgniterTypeIgniterFunctionPluginSupport_destroy_key(
|
|
ChargeTypeIgniterTypeIgniterFunctionKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeTypeIgniterTypeIgniterFunction *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeTypeIgniterTypeIgniterFunction *out,
|
|
const ChargeTypeIgniterTypeIgniterFunction *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const ChargeTypeIgniterTypeIgniterFunction *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeTypeIgniterTypeIgniterFunction **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_deserialize_from_cdr_buffer(
|
|
ChargeTypeIgniterTypeIgniterFunction *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeTypeIgniterTypeIgniterFunction ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeTypeIgniterTypeIgniterFunctionKeyHolder *key,
|
|
const ChargeTypeIgniterTypeIgniterFunction *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeTypeIgniterTypeIgniterFunction *instance,
|
|
const ChargeTypeIgniterTypeIgniterFunctionKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_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*
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeIgniterTypeIgniterFunctionPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct ChargeTypeLoadType
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct ChargeTypeLoadType)
|
|
* 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
|
|
* ChargeTypeLoadType must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct ChargeTypeLoadType.
|
|
*/
|
|
typedef struct ChargeTypeLoadType ChargeTypeLoadTypeKeyHolder;
|
|
|
|
#define ChargeTypeLoadTypePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define ChargeTypeLoadTypePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define ChargeTypeLoadTypePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define ChargeTypeLoadTypePlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define ChargeTypeLoadTypePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define ChargeTypeLoadTypePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define ChargeTypeLoadTypePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern ChargeTypeLoadType*
|
|
ChargeTypeLoadTypePluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern ChargeTypeLoadType*
|
|
ChargeTypeLoadTypePluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern ChargeTypeLoadType*
|
|
ChargeTypeLoadTypePluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeLoadTypePluginSupport_copy_data(
|
|
ChargeTypeLoadType *out,
|
|
const ChargeTypeLoadType *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeLoadTypePluginSupport_destroy_data_w_params(
|
|
ChargeTypeLoadType *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeLoadTypePluginSupport_destroy_data_ex(
|
|
ChargeTypeLoadType *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeLoadTypePluginSupport_destroy_data(
|
|
ChargeTypeLoadType *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeLoadTypePluginSupport_print_data(
|
|
const ChargeTypeLoadType *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern ChargeTypeLoadType*
|
|
ChargeTypeLoadTypePluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern ChargeTypeLoadType*
|
|
ChargeTypeLoadTypePluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeLoadTypePluginSupport_destroy_key_ex(
|
|
ChargeTypeLoadTypeKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeLoadTypePluginSupport_destroy_key(
|
|
ChargeTypeLoadTypeKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
ChargeTypeLoadTypePlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeLoadTypePlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
ChargeTypeLoadTypePlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeLoadTypePlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeLoadTypePlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeTypeLoadType *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeLoadTypePlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeTypeLoadType *out,
|
|
const ChargeTypeLoadType *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeLoadTypePlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const ChargeTypeLoadType *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeLoadTypePlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeTypeLoadType **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeLoadTypePlugin_deserialize_from_cdr_buffer(
|
|
ChargeTypeLoadType *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
ChargeTypeLoadTypePlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
ChargeTypeLoadTypePlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
ChargeTypeLoadTypePlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
ChargeTypeLoadTypePlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeLoadTypePlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeTypeLoadType ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeLoadTypePlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeTypeLoadTypeKeyHolder *key,
|
|
const ChargeTypeLoadType *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeLoadTypePlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
ChargeTypeLoadType *instance,
|
|
const ChargeTypeLoadTypeKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
ChargeTypeLoadTypePlugin_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*
|
|
ChargeTypeLoadTypePlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
ChargeTypeLoadTypePlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct EquipmentSystemEventFilter
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct EquipmentSystemEventFilter)
|
|
* 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
|
|
* EquipmentSystemEventFilter must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct EquipmentSystemEventFilter.
|
|
*/
|
|
typedef struct EquipmentSystemEventFilter EquipmentSystemEventFilterKeyHolder;
|
|
|
|
#define EquipmentSystemEventFilterPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define EquipmentSystemEventFilterPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define EquipmentSystemEventFilterPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define EquipmentSystemEventFilterPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define EquipmentSystemEventFilterPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define EquipmentSystemEventFilterPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define EquipmentSystemEventFilterPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern EquipmentSystemEventFilter*
|
|
EquipmentSystemEventFilterPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern EquipmentSystemEventFilter*
|
|
EquipmentSystemEventFilterPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern EquipmentSystemEventFilter*
|
|
EquipmentSystemEventFilterPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EquipmentSystemEventFilterPluginSupport_copy_data(
|
|
EquipmentSystemEventFilter *out,
|
|
const EquipmentSystemEventFilter *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EquipmentSystemEventFilterPluginSupport_destroy_data_w_params(
|
|
EquipmentSystemEventFilter *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EquipmentSystemEventFilterPluginSupport_destroy_data_ex(
|
|
EquipmentSystemEventFilter *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EquipmentSystemEventFilterPluginSupport_destroy_data(
|
|
EquipmentSystemEventFilter *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EquipmentSystemEventFilterPluginSupport_print_data(
|
|
const EquipmentSystemEventFilter *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern EquipmentSystemEventFilter*
|
|
EquipmentSystemEventFilterPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern EquipmentSystemEventFilter*
|
|
EquipmentSystemEventFilterPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EquipmentSystemEventFilterPluginSupport_destroy_key_ex(
|
|
EquipmentSystemEventFilterKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EquipmentSystemEventFilterPluginSupport_destroy_key(
|
|
EquipmentSystemEventFilterKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
EquipmentSystemEventFilterPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EquipmentSystemEventFilterPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
EquipmentSystemEventFilterPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EquipmentSystemEventFilterPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EquipmentSystemEventFilterPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
EquipmentSystemEventFilter *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EquipmentSystemEventFilterPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
EquipmentSystemEventFilter *out,
|
|
const EquipmentSystemEventFilter *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EquipmentSystemEventFilterPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const EquipmentSystemEventFilter *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EquipmentSystemEventFilterPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
EquipmentSystemEventFilter **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EquipmentSystemEventFilterPlugin_deserialize_from_cdr_buffer(
|
|
EquipmentSystemEventFilter *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
EquipmentSystemEventFilterPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
EquipmentSystemEventFilterPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
EquipmentSystemEventFilterPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
EquipmentSystemEventFilterPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EquipmentSystemEventFilterPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
EquipmentSystemEventFilter ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EquipmentSystemEventFilterPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
EquipmentSystemEventFilterKeyHolder *key,
|
|
const EquipmentSystemEventFilter *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EquipmentSystemEventFilterPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
EquipmentSystemEventFilter *instance,
|
|
const EquipmentSystemEventFilterKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EquipmentSystemEventFilterPlugin_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*
|
|
EquipmentSystemEventFilterPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EquipmentSystemEventFilterPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct EventFilterHgrMineSearch
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct EventFilterHgrMineSearch)
|
|
* 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
|
|
* EventFilterHgrMineSearch must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct EventFilterHgrMineSearch.
|
|
*/
|
|
typedef struct EventFilterHgrMineSearch EventFilterHgrMineSearchKeyHolder;
|
|
|
|
#define EventFilterHgrMineSearchPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define EventFilterHgrMineSearchPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define EventFilterHgrMineSearchPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define EventFilterHgrMineSearchPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define EventFilterHgrMineSearchPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define EventFilterHgrMineSearchPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define EventFilterHgrMineSearchPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern EventFilterHgrMineSearch*
|
|
EventFilterHgrMineSearchPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern EventFilterHgrMineSearch*
|
|
EventFilterHgrMineSearchPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern EventFilterHgrMineSearch*
|
|
EventFilterHgrMineSearchPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EventFilterHgrMineSearchPluginSupport_copy_data(
|
|
EventFilterHgrMineSearch *out,
|
|
const EventFilterHgrMineSearch *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EventFilterHgrMineSearchPluginSupport_destroy_data_w_params(
|
|
EventFilterHgrMineSearch *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EventFilterHgrMineSearchPluginSupport_destroy_data_ex(
|
|
EventFilterHgrMineSearch *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EventFilterHgrMineSearchPluginSupport_destroy_data(
|
|
EventFilterHgrMineSearch *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EventFilterHgrMineSearchPluginSupport_print_data(
|
|
const EventFilterHgrMineSearch *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern EventFilterHgrMineSearch*
|
|
EventFilterHgrMineSearchPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern EventFilterHgrMineSearch*
|
|
EventFilterHgrMineSearchPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EventFilterHgrMineSearchPluginSupport_destroy_key_ex(
|
|
EventFilterHgrMineSearchKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EventFilterHgrMineSearchPluginSupport_destroy_key(
|
|
EventFilterHgrMineSearchKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
EventFilterHgrMineSearchPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EventFilterHgrMineSearchPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
EventFilterHgrMineSearchPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EventFilterHgrMineSearchPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EventFilterHgrMineSearchPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
EventFilterHgrMineSearch *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EventFilterHgrMineSearchPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
EventFilterHgrMineSearch *out,
|
|
const EventFilterHgrMineSearch *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EventFilterHgrMineSearchPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const EventFilterHgrMineSearch *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EventFilterHgrMineSearchPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
EventFilterHgrMineSearch **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EventFilterHgrMineSearchPlugin_deserialize_from_cdr_buffer(
|
|
EventFilterHgrMineSearch *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
EventFilterHgrMineSearchPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
EventFilterHgrMineSearchPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
EventFilterHgrMineSearchPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
EventFilterHgrMineSearchPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EventFilterHgrMineSearchPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
EventFilterHgrMineSearch ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EventFilterHgrMineSearchPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
EventFilterHgrMineSearchKeyHolder *key,
|
|
const EventFilterHgrMineSearch *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EventFilterHgrMineSearchPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
EventFilterHgrMineSearch *instance,
|
|
const EventFilterHgrMineSearchKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
EventFilterHgrMineSearchPlugin_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*
|
|
EventFilterHgrMineSearchPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
EventFilterHgrMineSearchPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct FirePurpose
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct FirePurpose)
|
|
* 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
|
|
* FirePurpose must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct FirePurpose.
|
|
*/
|
|
typedef struct FirePurpose FirePurposeKeyHolder;
|
|
|
|
#define FirePurposePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define FirePurposePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define FirePurposePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define FirePurposePlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define FirePurposePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define FirePurposePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define FirePurposePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern FirePurpose*
|
|
FirePurposePluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern FirePurpose*
|
|
FirePurposePluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern FirePurpose*
|
|
FirePurposePluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
FirePurposePluginSupport_copy_data(
|
|
FirePurpose *out,
|
|
const FirePurpose *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
FirePurposePluginSupport_destroy_data_w_params(
|
|
FirePurpose *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
FirePurposePluginSupport_destroy_data_ex(
|
|
FirePurpose *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
FirePurposePluginSupport_destroy_data(
|
|
FirePurpose *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
FirePurposePluginSupport_print_data(
|
|
const FirePurpose *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern FirePurpose*
|
|
FirePurposePluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern FirePurpose*
|
|
FirePurposePluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
FirePurposePluginSupport_destroy_key_ex(
|
|
FirePurposeKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
FirePurposePluginSupport_destroy_key(
|
|
FirePurposeKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
FirePurposePlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
FirePurposePlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
FirePurposePlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
FirePurposePlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
FirePurposePlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
FirePurpose *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
FirePurposePlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
FirePurpose *out,
|
|
const FirePurpose *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
FirePurposePlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const FirePurpose *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
FirePurposePlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
FirePurpose **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
FirePurposePlugin_deserialize_from_cdr_buffer(
|
|
FirePurpose *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
FirePurposePlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
FirePurposePlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
FirePurposePlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
FirePurposePlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
FirePurposePlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
FirePurpose ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
FirePurposePlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
FirePurposeKeyHolder *key,
|
|
const FirePurpose *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
FirePurposePlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
FirePurpose *instance,
|
|
const FirePurposeKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
FirePurposePlugin_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*
|
|
FirePurposePlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
FirePurposePlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct GearType
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct GearType)
|
|
* 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
|
|
* GearType must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct GearType.
|
|
*/
|
|
typedef struct GearType GearTypeKeyHolder;
|
|
|
|
#define GearTypePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define GearTypePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define GearTypePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define GearTypePlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define GearTypePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define GearTypePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define GearTypePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern GearType*
|
|
GearTypePluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern GearType*
|
|
GearTypePluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern GearType*
|
|
GearTypePluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypePluginSupport_copy_data(
|
|
GearType *out,
|
|
const GearType *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypePluginSupport_destroy_data_w_params(
|
|
GearType *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypePluginSupport_destroy_data_ex(
|
|
GearType *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypePluginSupport_destroy_data(
|
|
GearType *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypePluginSupport_print_data(
|
|
const GearType *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern GearType*
|
|
GearTypePluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern GearType*
|
|
GearTypePluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypePluginSupport_destroy_key_ex(
|
|
GearTypeKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypePluginSupport_destroy_key(
|
|
GearTypeKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
GearTypePlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypePlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
GearTypePlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypePlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypePlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
GearType *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypePlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
GearType *out,
|
|
const GearType *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypePlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const GearType *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypePlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
GearType **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypePlugin_deserialize_from_cdr_buffer(
|
|
GearType *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
GearTypePlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
GearTypePlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
GearTypePlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
GearTypePlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypePlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
GearType ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypePlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
GearTypeKeyHolder *key,
|
|
const GearType *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypePlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
GearType *instance,
|
|
const GearTypeKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypePlugin_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*
|
|
GearTypePlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypePlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct GearTypeChargeType
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct GearTypeChargeType)
|
|
* 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
|
|
* GearTypeChargeType must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct GearTypeChargeType.
|
|
*/
|
|
typedef struct GearTypeChargeType GearTypeChargeTypeKeyHolder;
|
|
|
|
#define GearTypeChargeTypePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define GearTypeChargeTypePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define GearTypeChargeTypePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define GearTypeChargeTypePlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define GearTypeChargeTypePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define GearTypeChargeTypePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define GearTypeChargeTypePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern GearTypeChargeType*
|
|
GearTypeChargeTypePluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern GearTypeChargeType*
|
|
GearTypeChargeTypePluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern GearTypeChargeType*
|
|
GearTypeChargeTypePluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypeChargeTypePluginSupport_copy_data(
|
|
GearTypeChargeType *out,
|
|
const GearTypeChargeType *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypeChargeTypePluginSupport_destroy_data_w_params(
|
|
GearTypeChargeType *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypeChargeTypePluginSupport_destroy_data_ex(
|
|
GearTypeChargeType *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypeChargeTypePluginSupport_destroy_data(
|
|
GearTypeChargeType *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypeChargeTypePluginSupport_print_data(
|
|
const GearTypeChargeType *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern GearTypeChargeType*
|
|
GearTypeChargeTypePluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern GearTypeChargeType*
|
|
GearTypeChargeTypePluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypeChargeTypePluginSupport_destroy_key_ex(
|
|
GearTypeChargeTypeKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypeChargeTypePluginSupport_destroy_key(
|
|
GearTypeChargeTypeKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
GearTypeChargeTypePlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypeChargeTypePlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
GearTypeChargeTypePlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypeChargeTypePlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypeChargeTypePlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
GearTypeChargeType *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypeChargeTypePlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
GearTypeChargeType *out,
|
|
const GearTypeChargeType *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypeChargeTypePlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const GearTypeChargeType *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypeChargeTypePlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
GearTypeChargeType **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypeChargeTypePlugin_deserialize_from_cdr_buffer(
|
|
GearTypeChargeType *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
GearTypeChargeTypePlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
GearTypeChargeTypePlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
GearTypeChargeTypePlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
GearTypeChargeTypePlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypeChargeTypePlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
GearTypeChargeType ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypeChargeTypePlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
GearTypeChargeTypeKeyHolder *key,
|
|
const GearTypeChargeType *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypeChargeTypePlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
GearTypeChargeType *instance,
|
|
const GearTypeChargeTypeKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
GearTypeChargeTypePlugin_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*
|
|
GearTypeChargeTypePlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
GearTypeChargeTypePlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct IgniterFunction
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct IgniterFunction)
|
|
* 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
|
|
* IgniterFunction must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct IgniterFunction.
|
|
*/
|
|
typedef struct IgniterFunction IgniterFunctionKeyHolder;
|
|
|
|
#define IgniterFunctionPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define IgniterFunctionPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define IgniterFunctionPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define IgniterFunctionPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define IgniterFunctionPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define IgniterFunctionPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define IgniterFunctionPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern IgniterFunction*
|
|
IgniterFunctionPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern IgniterFunction*
|
|
IgniterFunctionPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern IgniterFunction*
|
|
IgniterFunctionPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterFunctionPluginSupport_copy_data(
|
|
IgniterFunction *out,
|
|
const IgniterFunction *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterFunctionPluginSupport_destroy_data_w_params(
|
|
IgniterFunction *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterFunctionPluginSupport_destroy_data_ex(
|
|
IgniterFunction *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterFunctionPluginSupport_destroy_data(
|
|
IgniterFunction *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterFunctionPluginSupport_print_data(
|
|
const IgniterFunction *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern IgniterFunction*
|
|
IgniterFunctionPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern IgniterFunction*
|
|
IgniterFunctionPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterFunctionPluginSupport_destroy_key_ex(
|
|
IgniterFunctionKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterFunctionPluginSupport_destroy_key(
|
|
IgniterFunctionKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
IgniterFunctionPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterFunctionPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
IgniterFunctionPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterFunctionPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterFunctionPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
IgniterFunction *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterFunctionPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
IgniterFunction *out,
|
|
const IgniterFunction *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterFunctionPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const IgniterFunction *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterFunctionPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
IgniterFunction **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterFunctionPlugin_deserialize_from_cdr_buffer(
|
|
IgniterFunction *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
IgniterFunctionPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
IgniterFunctionPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
IgniterFunctionPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
IgniterFunctionPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterFunctionPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
IgniterFunction ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterFunctionPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
IgniterFunctionKeyHolder *key,
|
|
const IgniterFunction *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterFunctionPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
IgniterFunction *instance,
|
|
const IgniterFunctionKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterFunctionPlugin_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*
|
|
IgniterFunctionPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterFunctionPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct IgniterType
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct IgniterType)
|
|
* 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
|
|
* IgniterType must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct IgniterType.
|
|
*/
|
|
typedef struct IgniterType IgniterTypeKeyHolder;
|
|
|
|
#define IgniterTypePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define IgniterTypePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define IgniterTypePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define IgniterTypePlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define IgniterTypePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define IgniterTypePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define IgniterTypePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern IgniterType*
|
|
IgniterTypePluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern IgniterType*
|
|
IgniterTypePluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern IgniterType*
|
|
IgniterTypePluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterTypePluginSupport_copy_data(
|
|
IgniterType *out,
|
|
const IgniterType *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterTypePluginSupport_destroy_data_w_params(
|
|
IgniterType *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterTypePluginSupport_destroy_data_ex(
|
|
IgniterType *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterTypePluginSupport_destroy_data(
|
|
IgniterType *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterTypePluginSupport_print_data(
|
|
const IgniterType *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern IgniterType*
|
|
IgniterTypePluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern IgniterType*
|
|
IgniterTypePluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterTypePluginSupport_destroy_key_ex(
|
|
IgniterTypeKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterTypePluginSupport_destroy_key(
|
|
IgniterTypeKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
IgniterTypePlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterTypePlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
IgniterTypePlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterTypePlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterTypePlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
IgniterType *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterTypePlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
IgniterType *out,
|
|
const IgniterType *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterTypePlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const IgniterType *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterTypePlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
IgniterType **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterTypePlugin_deserialize_from_cdr_buffer(
|
|
IgniterType *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
IgniterTypePlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
IgniterTypePlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
IgniterTypePlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
IgniterTypePlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterTypePlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
IgniterType ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterTypePlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
IgniterTypeKeyHolder *key,
|
|
const IgniterType *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterTypePlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
IgniterType *instance,
|
|
const IgniterTypeKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
IgniterTypePlugin_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*
|
|
IgniterTypePlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
IgniterTypePlugin_delete(struct PRESTypePlugin *);
|
|
|
|
#define InsertUpdateTranslationRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define InsertUpdateTranslationRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define InsertUpdateTranslationRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define InsertUpdateTranslationRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define InsertUpdateTranslationRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern InsertUpdateTranslationRequest*
|
|
InsertUpdateTranslationRequestPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern InsertUpdateTranslationRequest*
|
|
InsertUpdateTranslationRequestPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern InsertUpdateTranslationRequest*
|
|
InsertUpdateTranslationRequestPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
InsertUpdateTranslationRequestPluginSupport_copy_data(
|
|
InsertUpdateTranslationRequest *out,
|
|
const InsertUpdateTranslationRequest *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
InsertUpdateTranslationRequestPluginSupport_destroy_data_w_params(
|
|
InsertUpdateTranslationRequest *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
InsertUpdateTranslationRequestPluginSupport_destroy_data_ex(
|
|
InsertUpdateTranslationRequest *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
InsertUpdateTranslationRequestPluginSupport_destroy_data(
|
|
InsertUpdateTranslationRequest *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
InsertUpdateTranslationRequestPluginSupport_print_data(
|
|
const InsertUpdateTranslationRequest *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
InsertUpdateTranslationRequestPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
InsertUpdateTranslationRequestPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
InsertUpdateTranslationRequestPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
InsertUpdateTranslationRequestPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
InsertUpdateTranslationRequestPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
InsertUpdateTranslationRequest *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
InsertUpdateTranslationRequestPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
InsertUpdateTranslationRequest *out,
|
|
const InsertUpdateTranslationRequest *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
InsertUpdateTranslationRequestPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const InsertUpdateTranslationRequest *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
InsertUpdateTranslationRequestPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
InsertUpdateTranslationRequest **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
InsertUpdateTranslationRequestPlugin_deserialize_from_cdr_buffer(
|
|
InsertUpdateTranslationRequest *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
InsertUpdateTranslationRequestPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
InsertUpdateTranslationRequestPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
InsertUpdateTranslationRequestPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
InsertUpdateTranslationRequestPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
InsertUpdateTranslationRequestPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
InsertUpdateTranslationRequest ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
/* Plugin Functions */
|
|
NDDSUSERDllExport extern struct PRESTypePlugin*
|
|
InsertUpdateTranslationRequestPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
InsertUpdateTranslationRequestPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct LanguageHmi
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct LanguageHmi)
|
|
* 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
|
|
* LanguageHmi must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct LanguageHmi.
|
|
*/
|
|
typedef struct LanguageHmi LanguageHmiKeyHolder;
|
|
|
|
#define LanguageHmiPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define LanguageHmiPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define LanguageHmiPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define LanguageHmiPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define LanguageHmiPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define LanguageHmiPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define LanguageHmiPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern LanguageHmi*
|
|
LanguageHmiPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern LanguageHmi*
|
|
LanguageHmiPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern LanguageHmi*
|
|
LanguageHmiPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageHmiPluginSupport_copy_data(
|
|
LanguageHmi *out,
|
|
const LanguageHmi *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageHmiPluginSupport_destroy_data_w_params(
|
|
LanguageHmi *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageHmiPluginSupport_destroy_data_ex(
|
|
LanguageHmi *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageHmiPluginSupport_destroy_data(
|
|
LanguageHmi *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageHmiPluginSupport_print_data(
|
|
const LanguageHmi *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern LanguageHmi*
|
|
LanguageHmiPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern LanguageHmi*
|
|
LanguageHmiPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageHmiPluginSupport_destroy_key_ex(
|
|
LanguageHmiKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageHmiPluginSupport_destroy_key(
|
|
LanguageHmiKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
LanguageHmiPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageHmiPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
LanguageHmiPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageHmiPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageHmiPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LanguageHmi *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageHmiPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LanguageHmi *out,
|
|
const LanguageHmi *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageHmiPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const LanguageHmi *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageHmiPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LanguageHmi **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageHmiPlugin_deserialize_from_cdr_buffer(
|
|
LanguageHmi *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
LanguageHmiPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
LanguageHmiPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
LanguageHmiPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
LanguageHmiPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageHmiPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LanguageHmi ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageHmiPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LanguageHmiKeyHolder *key,
|
|
const LanguageHmi *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageHmiPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LanguageHmi *instance,
|
|
const LanguageHmiKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageHmiPlugin_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*
|
|
LanguageHmiPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageHmiPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct LanguageXdu
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct LanguageXdu)
|
|
* 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
|
|
* LanguageXdu must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct LanguageXdu.
|
|
*/
|
|
typedef struct LanguageXdu LanguageXduKeyHolder;
|
|
|
|
#define LanguageXduPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define LanguageXduPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define LanguageXduPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define LanguageXduPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define LanguageXduPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define LanguageXduPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define LanguageXduPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern LanguageXdu*
|
|
LanguageXduPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern LanguageXdu*
|
|
LanguageXduPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern LanguageXdu*
|
|
LanguageXduPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageXduPluginSupport_copy_data(
|
|
LanguageXdu *out,
|
|
const LanguageXdu *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageXduPluginSupport_destroy_data_w_params(
|
|
LanguageXdu *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageXduPluginSupport_destroy_data_ex(
|
|
LanguageXdu *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageXduPluginSupport_destroy_data(
|
|
LanguageXdu *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageXduPluginSupport_print_data(
|
|
const LanguageXdu *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern LanguageXdu*
|
|
LanguageXduPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern LanguageXdu*
|
|
LanguageXduPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageXduPluginSupport_destroy_key_ex(
|
|
LanguageXduKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageXduPluginSupport_destroy_key(
|
|
LanguageXduKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
LanguageXduPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageXduPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
LanguageXduPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageXduPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageXduPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LanguageXdu *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageXduPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LanguageXdu *out,
|
|
const LanguageXdu *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageXduPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const LanguageXdu *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageXduPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LanguageXdu **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageXduPlugin_deserialize_from_cdr_buffer(
|
|
LanguageXdu *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
LanguageXduPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
LanguageXduPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
LanguageXduPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
LanguageXduPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageXduPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LanguageXdu ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageXduPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LanguageXduKeyHolder *key,
|
|
const LanguageXdu *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageXduPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LanguageXdu *instance,
|
|
const LanguageXduKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LanguageXduPlugin_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*
|
|
LanguageXduPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LanguageXduPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct LoadType
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct LoadType)
|
|
* 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
|
|
* LoadType must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct LoadType.
|
|
*/
|
|
typedef struct LoadType LoadTypeKeyHolder;
|
|
|
|
#define LoadTypePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define LoadTypePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define LoadTypePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define LoadTypePlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define LoadTypePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define LoadTypePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define LoadTypePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern LoadType*
|
|
LoadTypePluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern LoadType*
|
|
LoadTypePluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern LoadType*
|
|
LoadTypePluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LoadTypePluginSupport_copy_data(
|
|
LoadType *out,
|
|
const LoadType *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LoadTypePluginSupport_destroy_data_w_params(
|
|
LoadType *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LoadTypePluginSupport_destroy_data_ex(
|
|
LoadType *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LoadTypePluginSupport_destroy_data(
|
|
LoadType *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LoadTypePluginSupport_print_data(
|
|
const LoadType *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern LoadType*
|
|
LoadTypePluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern LoadType*
|
|
LoadTypePluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LoadTypePluginSupport_destroy_key_ex(
|
|
LoadTypeKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LoadTypePluginSupport_destroy_key(
|
|
LoadTypeKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
LoadTypePlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LoadTypePlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
LoadTypePlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LoadTypePlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LoadTypePlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LoadType *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LoadTypePlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LoadType *out,
|
|
const LoadType *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LoadTypePlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const LoadType *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LoadTypePlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LoadType **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LoadTypePlugin_deserialize_from_cdr_buffer(
|
|
LoadType *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
LoadTypePlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
LoadTypePlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
LoadTypePlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
LoadTypePlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LoadTypePlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LoadType ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LoadTypePlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LoadTypeKeyHolder *key,
|
|
const LoadType *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LoadTypePlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
LoadType *instance,
|
|
const LoadTypeKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
LoadTypePlugin_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*
|
|
LoadTypePlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
LoadTypePlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct NuclearPreset
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct NuclearPreset)
|
|
* 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
|
|
* NuclearPreset must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct NuclearPreset.
|
|
*/
|
|
typedef struct NuclearPreset NuclearPresetKeyHolder;
|
|
|
|
#define NuclearPresetPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define NuclearPresetPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define NuclearPresetPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define NuclearPresetPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define NuclearPresetPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define NuclearPresetPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define NuclearPresetPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern NuclearPreset*
|
|
NuclearPresetPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern NuclearPreset*
|
|
NuclearPresetPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern NuclearPreset*
|
|
NuclearPresetPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
NuclearPresetPluginSupport_copy_data(
|
|
NuclearPreset *out,
|
|
const NuclearPreset *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
NuclearPresetPluginSupport_destroy_data_w_params(
|
|
NuclearPreset *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
NuclearPresetPluginSupport_destroy_data_ex(
|
|
NuclearPreset *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
NuclearPresetPluginSupport_destroy_data(
|
|
NuclearPreset *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
NuclearPresetPluginSupport_print_data(
|
|
const NuclearPreset *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern NuclearPreset*
|
|
NuclearPresetPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern NuclearPreset*
|
|
NuclearPresetPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
NuclearPresetPluginSupport_destroy_key_ex(
|
|
NuclearPresetKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
NuclearPresetPluginSupport_destroy_key(
|
|
NuclearPresetKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
NuclearPresetPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
NuclearPresetPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
NuclearPresetPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
NuclearPresetPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
NuclearPresetPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
NuclearPreset *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
NuclearPresetPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
NuclearPreset *out,
|
|
const NuclearPreset *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
NuclearPresetPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const NuclearPreset *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
NuclearPresetPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
NuclearPreset **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
NuclearPresetPlugin_deserialize_from_cdr_buffer(
|
|
NuclearPreset *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
NuclearPresetPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
NuclearPresetPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
NuclearPresetPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
NuclearPresetPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
NuclearPresetPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
NuclearPreset ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
NuclearPresetPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
NuclearPresetKeyHolder *key,
|
|
const NuclearPreset *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
NuclearPresetPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
NuclearPreset *instance,
|
|
const NuclearPresetKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
NuclearPresetPlugin_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*
|
|
NuclearPresetPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
NuclearPresetPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct RadioGroup
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct RadioGroup)
|
|
* 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
|
|
* RadioGroup must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct RadioGroup.
|
|
*/
|
|
typedef struct RadioGroup RadioGroupKeyHolder;
|
|
|
|
#define RadioGroupPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define RadioGroupPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define RadioGroupPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define RadioGroupPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define RadioGroupPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define RadioGroupPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define RadioGroupPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RadioGroup*
|
|
RadioGroupPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern RadioGroup*
|
|
RadioGroupPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern RadioGroup*
|
|
RadioGroupPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
RadioGroupPluginSupport_copy_data(
|
|
RadioGroup *out,
|
|
const RadioGroup *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
RadioGroupPluginSupport_destroy_data_w_params(
|
|
RadioGroup *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
RadioGroupPluginSupport_destroy_data_ex(
|
|
RadioGroup *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
RadioGroupPluginSupport_destroy_data(
|
|
RadioGroup *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
RadioGroupPluginSupport_print_data(
|
|
const RadioGroup *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern RadioGroup*
|
|
RadioGroupPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern RadioGroup*
|
|
RadioGroupPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
RadioGroupPluginSupport_destroy_key_ex(
|
|
RadioGroupKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
RadioGroupPluginSupport_destroy_key(
|
|
RadioGroupKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
RadioGroupPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
RadioGroupPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
RadioGroupPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
RadioGroupPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
RadioGroupPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RadioGroup *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
RadioGroupPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RadioGroup *out,
|
|
const RadioGroup *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
RadioGroupPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const RadioGroup *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
RadioGroupPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RadioGroup **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
RadioGroupPlugin_deserialize_from_cdr_buffer(
|
|
RadioGroup *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
RadioGroupPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
RadioGroupPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
RadioGroupPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
RadioGroupPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
RadioGroupPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RadioGroup ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
RadioGroupPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RadioGroupKeyHolder *key,
|
|
const RadioGroup *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
RadioGroupPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RadioGroup *instance,
|
|
const RadioGroupKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
RadioGroupPlugin_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*
|
|
RadioGroupPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
RadioGroupPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct SanitationInjury
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct SanitationInjury)
|
|
* 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
|
|
* SanitationInjury must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct SanitationInjury.
|
|
*/
|
|
typedef struct SanitationInjury SanitationInjuryKeyHolder;
|
|
|
|
#define SanitationInjuryPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define SanitationInjuryPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define SanitationInjuryPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define SanitationInjuryPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define SanitationInjuryPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define SanitationInjuryPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define SanitationInjuryPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern SanitationInjury*
|
|
SanitationInjuryPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern SanitationInjury*
|
|
SanitationInjuryPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern SanitationInjury*
|
|
SanitationInjuryPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPluginSupport_copy_data(
|
|
SanitationInjury *out,
|
|
const SanitationInjury *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPluginSupport_destroy_data_w_params(
|
|
SanitationInjury *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPluginSupport_destroy_data_ex(
|
|
SanitationInjury *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPluginSupport_destroy_data(
|
|
SanitationInjury *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPluginSupport_print_data(
|
|
const SanitationInjury *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern SanitationInjury*
|
|
SanitationInjuryPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern SanitationInjury*
|
|
SanitationInjuryPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPluginSupport_destroy_key_ex(
|
|
SanitationInjuryKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPluginSupport_destroy_key(
|
|
SanitationInjuryKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
SanitationInjuryPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
SanitationInjuryPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjury *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjury *out,
|
|
const SanitationInjury *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const SanitationInjury *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjury **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlugin_deserialize_from_cdr_buffer(
|
|
SanitationInjury *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationInjuryPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
SanitationInjuryPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationInjuryPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationInjuryPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjury ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryKeyHolder *key,
|
|
const SanitationInjury *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjury *instance,
|
|
const SanitationInjuryKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlugin_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*
|
|
SanitationInjuryPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct SanitationInjuryKind
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct SanitationInjuryKind)
|
|
* 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
|
|
* SanitationInjuryKind must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct SanitationInjuryKind.
|
|
*/
|
|
typedef struct SanitationInjuryKind SanitationInjuryKindKeyHolder;
|
|
|
|
#define SanitationInjuryKindPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define SanitationInjuryKindPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define SanitationInjuryKindPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define SanitationInjuryKindPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define SanitationInjuryKindPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define SanitationInjuryKindPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define SanitationInjuryKindPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryKind*
|
|
SanitationInjuryKindPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryKind*
|
|
SanitationInjuryKindPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryKind*
|
|
SanitationInjuryKindPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryKindPluginSupport_copy_data(
|
|
SanitationInjuryKind *out,
|
|
const SanitationInjuryKind *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryKindPluginSupport_destroy_data_w_params(
|
|
SanitationInjuryKind *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryKindPluginSupport_destroy_data_ex(
|
|
SanitationInjuryKind *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryKindPluginSupport_destroy_data(
|
|
SanitationInjuryKind *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryKindPluginSupport_print_data(
|
|
const SanitationInjuryKind *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryKind*
|
|
SanitationInjuryKindPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryKind*
|
|
SanitationInjuryKindPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryKindPluginSupport_destroy_key_ex(
|
|
SanitationInjuryKindKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryKindPluginSupport_destroy_key(
|
|
SanitationInjuryKindKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
SanitationInjuryKindPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryKindPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
SanitationInjuryKindPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryKindPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryKindPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryKind *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryKindPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryKind *out,
|
|
const SanitationInjuryKind *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryKindPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const SanitationInjuryKind *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryKindPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryKind **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryKindPlugin_deserialize_from_cdr_buffer(
|
|
SanitationInjuryKind *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationInjuryKindPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
SanitationInjuryKindPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationInjuryKindPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationInjuryKindPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryKindPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryKind ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryKindPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryKindKeyHolder *key,
|
|
const SanitationInjuryKind *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryKindPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryKind *instance,
|
|
const SanitationInjuryKindKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryKindPlugin_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*
|
|
SanitationInjuryKindPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryKindPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct SanitationInjuryPlace1
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct SanitationInjuryPlace1)
|
|
* 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
|
|
* SanitationInjuryPlace1 must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct SanitationInjuryPlace1.
|
|
*/
|
|
typedef struct SanitationInjuryPlace1 SanitationInjuryPlace1KeyHolder;
|
|
|
|
#define SanitationInjuryPlace1Plugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define SanitationInjuryPlace1Plugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define SanitationInjuryPlace1Plugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define SanitationInjuryPlace1Plugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define SanitationInjuryPlace1Plugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define SanitationInjuryPlace1Plugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define SanitationInjuryPlace1Plugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryPlace1*
|
|
SanitationInjuryPlace1PluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryPlace1*
|
|
SanitationInjuryPlace1PluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryPlace1*
|
|
SanitationInjuryPlace1PluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace1PluginSupport_copy_data(
|
|
SanitationInjuryPlace1 *out,
|
|
const SanitationInjuryPlace1 *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace1PluginSupport_destroy_data_w_params(
|
|
SanitationInjuryPlace1 *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace1PluginSupport_destroy_data_ex(
|
|
SanitationInjuryPlace1 *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace1PluginSupport_destroy_data(
|
|
SanitationInjuryPlace1 *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace1PluginSupport_print_data(
|
|
const SanitationInjuryPlace1 *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryPlace1*
|
|
SanitationInjuryPlace1PluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryPlace1*
|
|
SanitationInjuryPlace1PluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace1PluginSupport_destroy_key_ex(
|
|
SanitationInjuryPlace1KeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace1PluginSupport_destroy_key(
|
|
SanitationInjuryPlace1KeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
SanitationInjuryPlace1Plugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace1Plugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
SanitationInjuryPlace1Plugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace1Plugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace1Plugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryPlace1 *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace1Plugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryPlace1 *out,
|
|
const SanitationInjuryPlace1 *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace1Plugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const SanitationInjuryPlace1 *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace1Plugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryPlace1 **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace1Plugin_deserialize_from_cdr_buffer(
|
|
SanitationInjuryPlace1 *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationInjuryPlace1Plugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
SanitationInjuryPlace1Plugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationInjuryPlace1Plugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationInjuryPlace1Plugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace1Plugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryPlace1 ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace1Plugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryPlace1KeyHolder *key,
|
|
const SanitationInjuryPlace1 *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace1Plugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryPlace1 *instance,
|
|
const SanitationInjuryPlace1KeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace1Plugin_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*
|
|
SanitationInjuryPlace1Plugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace1Plugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct SanitationInjuryPlace2
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct SanitationInjuryPlace2)
|
|
* 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
|
|
* SanitationInjuryPlace2 must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct SanitationInjuryPlace2.
|
|
*/
|
|
typedef struct SanitationInjuryPlace2 SanitationInjuryPlace2KeyHolder;
|
|
|
|
#define SanitationInjuryPlace2Plugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define SanitationInjuryPlace2Plugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define SanitationInjuryPlace2Plugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define SanitationInjuryPlace2Plugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define SanitationInjuryPlace2Plugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define SanitationInjuryPlace2Plugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define SanitationInjuryPlace2Plugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryPlace2*
|
|
SanitationInjuryPlace2PluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryPlace2*
|
|
SanitationInjuryPlace2PluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryPlace2*
|
|
SanitationInjuryPlace2PluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace2PluginSupport_copy_data(
|
|
SanitationInjuryPlace2 *out,
|
|
const SanitationInjuryPlace2 *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace2PluginSupport_destroy_data_w_params(
|
|
SanitationInjuryPlace2 *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace2PluginSupport_destroy_data_ex(
|
|
SanitationInjuryPlace2 *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace2PluginSupport_destroy_data(
|
|
SanitationInjuryPlace2 *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace2PluginSupport_print_data(
|
|
const SanitationInjuryPlace2 *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryPlace2*
|
|
SanitationInjuryPlace2PluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern SanitationInjuryPlace2*
|
|
SanitationInjuryPlace2PluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace2PluginSupport_destroy_key_ex(
|
|
SanitationInjuryPlace2KeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace2PluginSupport_destroy_key(
|
|
SanitationInjuryPlace2KeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
SanitationInjuryPlace2Plugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace2Plugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
SanitationInjuryPlace2Plugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace2Plugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace2Plugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryPlace2 *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace2Plugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryPlace2 *out,
|
|
const SanitationInjuryPlace2 *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace2Plugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const SanitationInjuryPlace2 *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace2Plugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryPlace2 **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace2Plugin_deserialize_from_cdr_buffer(
|
|
SanitationInjuryPlace2 *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationInjuryPlace2Plugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
SanitationInjuryPlace2Plugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationInjuryPlace2Plugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationInjuryPlace2Plugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace2Plugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryPlace2 ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace2Plugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryPlace2KeyHolder *key,
|
|
const SanitationInjuryPlace2 *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace2Plugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationInjuryPlace2 *instance,
|
|
const SanitationInjuryPlace2KeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationInjuryPlace2Plugin_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*
|
|
SanitationInjuryPlace2Plugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationInjuryPlace2Plugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct SanitationMaterial
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct SanitationMaterial)
|
|
* 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
|
|
* SanitationMaterial must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct SanitationMaterial.
|
|
*/
|
|
typedef struct SanitationMaterial SanitationMaterialKeyHolder;
|
|
|
|
#define SanitationMaterialPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define SanitationMaterialPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define SanitationMaterialPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define SanitationMaterialPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define SanitationMaterialPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define SanitationMaterialPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define SanitationMaterialPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern SanitationMaterial*
|
|
SanitationMaterialPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern SanitationMaterial*
|
|
SanitationMaterialPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern SanitationMaterial*
|
|
SanitationMaterialPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationMaterialPluginSupport_copy_data(
|
|
SanitationMaterial *out,
|
|
const SanitationMaterial *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationMaterialPluginSupport_destroy_data_w_params(
|
|
SanitationMaterial *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationMaterialPluginSupport_destroy_data_ex(
|
|
SanitationMaterial *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationMaterialPluginSupport_destroy_data(
|
|
SanitationMaterial *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationMaterialPluginSupport_print_data(
|
|
const SanitationMaterial *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern SanitationMaterial*
|
|
SanitationMaterialPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern SanitationMaterial*
|
|
SanitationMaterialPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationMaterialPluginSupport_destroy_key_ex(
|
|
SanitationMaterialKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationMaterialPluginSupport_destroy_key(
|
|
SanitationMaterialKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
SanitationMaterialPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationMaterialPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
SanitationMaterialPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationMaterialPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationMaterialPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationMaterial *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationMaterialPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationMaterial *out,
|
|
const SanitationMaterial *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationMaterialPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const SanitationMaterial *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationMaterialPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationMaterial **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationMaterialPlugin_deserialize_from_cdr_buffer(
|
|
SanitationMaterial *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationMaterialPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
SanitationMaterialPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationMaterialPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationMaterialPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationMaterialPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationMaterial ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationMaterialPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationMaterialKeyHolder *key,
|
|
const SanitationMaterial *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationMaterialPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationMaterial *instance,
|
|
const SanitationMaterialKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationMaterialPlugin_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*
|
|
SanitationMaterialPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationMaterialPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct SanitationProcedure
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct SanitationProcedure)
|
|
* 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
|
|
* SanitationProcedure must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct SanitationProcedure.
|
|
*/
|
|
typedef struct SanitationProcedure SanitationProcedureKeyHolder;
|
|
|
|
#define SanitationProcedurePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define SanitationProcedurePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define SanitationProcedurePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define SanitationProcedurePlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define SanitationProcedurePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define SanitationProcedurePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define SanitationProcedurePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern SanitationProcedure*
|
|
SanitationProcedurePluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern SanitationProcedure*
|
|
SanitationProcedurePluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern SanitationProcedure*
|
|
SanitationProcedurePluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationProcedurePluginSupport_copy_data(
|
|
SanitationProcedure *out,
|
|
const SanitationProcedure *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationProcedurePluginSupport_destroy_data_w_params(
|
|
SanitationProcedure *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationProcedurePluginSupport_destroy_data_ex(
|
|
SanitationProcedure *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationProcedurePluginSupport_destroy_data(
|
|
SanitationProcedure *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationProcedurePluginSupport_print_data(
|
|
const SanitationProcedure *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern SanitationProcedure*
|
|
SanitationProcedurePluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern SanitationProcedure*
|
|
SanitationProcedurePluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationProcedurePluginSupport_destroy_key_ex(
|
|
SanitationProcedureKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationProcedurePluginSupport_destroy_key(
|
|
SanitationProcedureKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
SanitationProcedurePlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationProcedurePlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
SanitationProcedurePlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationProcedurePlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationProcedurePlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationProcedure *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationProcedurePlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationProcedure *out,
|
|
const SanitationProcedure *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationProcedurePlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const SanitationProcedure *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationProcedurePlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationProcedure **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationProcedurePlugin_deserialize_from_cdr_buffer(
|
|
SanitationProcedure *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationProcedurePlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
SanitationProcedurePlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationProcedurePlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
SanitationProcedurePlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationProcedurePlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationProcedure ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationProcedurePlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationProcedureKeyHolder *key,
|
|
const SanitationProcedure *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationProcedurePlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
SanitationProcedure *instance,
|
|
const SanitationProcedureKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
SanitationProcedurePlugin_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*
|
|
SanitationProcedurePlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
SanitationProcedurePlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct TargetSubType
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct TargetSubType)
|
|
* 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
|
|
* TargetSubType must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct TargetSubType.
|
|
*/
|
|
typedef struct TargetSubType TargetSubTypeKeyHolder;
|
|
|
|
#define TargetSubTypePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define TargetSubTypePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define TargetSubTypePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define TargetSubTypePlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define TargetSubTypePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define TargetSubTypePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define TargetSubTypePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern TargetSubType*
|
|
TargetSubTypePluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern TargetSubType*
|
|
TargetSubTypePluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern TargetSubType*
|
|
TargetSubTypePluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetSubTypePluginSupport_copy_data(
|
|
TargetSubType *out,
|
|
const TargetSubType *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetSubTypePluginSupport_destroy_data_w_params(
|
|
TargetSubType *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetSubTypePluginSupport_destroy_data_ex(
|
|
TargetSubType *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetSubTypePluginSupport_destroy_data(
|
|
TargetSubType *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetSubTypePluginSupport_print_data(
|
|
const TargetSubType *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern TargetSubType*
|
|
TargetSubTypePluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern TargetSubType*
|
|
TargetSubTypePluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetSubTypePluginSupport_destroy_key_ex(
|
|
TargetSubTypeKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetSubTypePluginSupport_destroy_key(
|
|
TargetSubTypeKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
TargetSubTypePlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetSubTypePlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
TargetSubTypePlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetSubTypePlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetSubTypePlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetSubType *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetSubTypePlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetSubType *out,
|
|
const TargetSubType *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetSubTypePlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const TargetSubType *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetSubTypePlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetSubType **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetSubTypePlugin_deserialize_from_cdr_buffer(
|
|
TargetSubType *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
TargetSubTypePlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
TargetSubTypePlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
TargetSubTypePlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
TargetSubTypePlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetSubTypePlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetSubType ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetSubTypePlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetSubTypeKeyHolder *key,
|
|
const TargetSubType *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetSubTypePlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetSubType *instance,
|
|
const TargetSubTypeKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetSubTypePlugin_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*
|
|
TargetSubTypePlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetSubTypePlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct TargetType
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct TargetType)
|
|
* 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
|
|
* TargetType must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct TargetType.
|
|
*/
|
|
typedef struct TargetType TargetTypeKeyHolder;
|
|
|
|
#define TargetTypePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define TargetTypePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define TargetTypePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define TargetTypePlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define TargetTypePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define TargetTypePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define TargetTypePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern TargetType*
|
|
TargetTypePluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern TargetType*
|
|
TargetTypePluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern TargetType*
|
|
TargetTypePluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypePluginSupport_copy_data(
|
|
TargetType *out,
|
|
const TargetType *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypePluginSupport_destroy_data_w_params(
|
|
TargetType *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypePluginSupport_destroy_data_ex(
|
|
TargetType *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypePluginSupport_destroy_data(
|
|
TargetType *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypePluginSupport_print_data(
|
|
const TargetType *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern TargetType*
|
|
TargetTypePluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern TargetType*
|
|
TargetTypePluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypePluginSupport_destroy_key_ex(
|
|
TargetTypeKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypePluginSupport_destroy_key(
|
|
TargetTypeKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
TargetTypePlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypePlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
TargetTypePlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypePlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypePlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetType *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypePlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetType *out,
|
|
const TargetType *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypePlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const TargetType *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypePlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetType **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypePlugin_deserialize_from_cdr_buffer(
|
|
TargetType *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
TargetTypePlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
TargetTypePlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
TargetTypePlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
TargetTypePlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypePlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetType ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypePlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetTypeKeyHolder *key,
|
|
const TargetType *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypePlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetType *instance,
|
|
const TargetTypeKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypePlugin_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*
|
|
TargetTypePlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypePlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct TargetTypeTargetSubType
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct TargetTypeTargetSubType)
|
|
* 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
|
|
* TargetTypeTargetSubType must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct TargetTypeTargetSubType.
|
|
*/
|
|
typedef struct TargetTypeTargetSubType TargetTypeTargetSubTypeKeyHolder;
|
|
|
|
#define TargetTypeTargetSubTypePlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define TargetTypeTargetSubTypePlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define TargetTypeTargetSubTypePlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define TargetTypeTargetSubTypePlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define TargetTypeTargetSubTypePlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define TargetTypeTargetSubTypePlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define TargetTypeTargetSubTypePlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern TargetTypeTargetSubType*
|
|
TargetTypeTargetSubTypePluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern TargetTypeTargetSubType*
|
|
TargetTypeTargetSubTypePluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern TargetTypeTargetSubType*
|
|
TargetTypeTargetSubTypePluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypeTargetSubTypePluginSupport_copy_data(
|
|
TargetTypeTargetSubType *out,
|
|
const TargetTypeTargetSubType *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypeTargetSubTypePluginSupport_destroy_data_w_params(
|
|
TargetTypeTargetSubType *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypeTargetSubTypePluginSupport_destroy_data_ex(
|
|
TargetTypeTargetSubType *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypeTargetSubTypePluginSupport_destroy_data(
|
|
TargetTypeTargetSubType *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypeTargetSubTypePluginSupport_print_data(
|
|
const TargetTypeTargetSubType *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern TargetTypeTargetSubType*
|
|
TargetTypeTargetSubTypePluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern TargetTypeTargetSubType*
|
|
TargetTypeTargetSubTypePluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypeTargetSubTypePluginSupport_destroy_key_ex(
|
|
TargetTypeTargetSubTypeKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypeTargetSubTypePluginSupport_destroy_key(
|
|
TargetTypeTargetSubTypeKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
TargetTypeTargetSubTypePlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypeTargetSubTypePlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
TargetTypeTargetSubTypePlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypeTargetSubTypePlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypeTargetSubTypePlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetTypeTargetSubType *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypeTargetSubTypePlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetTypeTargetSubType *out,
|
|
const TargetTypeTargetSubType *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypeTargetSubTypePlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const TargetTypeTargetSubType *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypeTargetSubTypePlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetTypeTargetSubType **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypeTargetSubTypePlugin_deserialize_from_cdr_buffer(
|
|
TargetTypeTargetSubType *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
TargetTypeTargetSubTypePlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
TargetTypeTargetSubTypePlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
TargetTypeTargetSubTypePlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
TargetTypeTargetSubTypePlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypeTargetSubTypePlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetTypeTargetSubType ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypeTargetSubTypePlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetTypeTargetSubTypeKeyHolder *key,
|
|
const TargetTypeTargetSubType *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypeTargetSubTypePlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TargetTypeTargetSubType *instance,
|
|
const TargetTypeTargetSubTypeKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TargetTypeTargetSubTypePlugin_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*
|
|
TargetTypeTargetSubTypePlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TargetTypeTargetSubTypePlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct TranslationBlob
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct TranslationBlob)
|
|
* 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
|
|
* TranslationBlob must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct TranslationBlob.
|
|
*/
|
|
typedef struct TranslationBlob TranslationBlobKeyHolder;
|
|
|
|
#define TranslationBlobPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define TranslationBlobPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define TranslationBlobPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define TranslationBlobPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define TranslationBlobPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define TranslationBlobPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define TranslationBlobPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern TranslationBlob*
|
|
TranslationBlobPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern TranslationBlob*
|
|
TranslationBlobPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern TranslationBlob*
|
|
TranslationBlobPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TranslationBlobPluginSupport_copy_data(
|
|
TranslationBlob *out,
|
|
const TranslationBlob *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TranslationBlobPluginSupport_destroy_data_w_params(
|
|
TranslationBlob *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TranslationBlobPluginSupport_destroy_data_ex(
|
|
TranslationBlob *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TranslationBlobPluginSupport_destroy_data(
|
|
TranslationBlob *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TranslationBlobPluginSupport_print_data(
|
|
const TranslationBlob *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern TranslationBlob*
|
|
TranslationBlobPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern TranslationBlob*
|
|
TranslationBlobPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TranslationBlobPluginSupport_destroy_key_ex(
|
|
TranslationBlobKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TranslationBlobPluginSupport_destroy_key(
|
|
TranslationBlobKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
TranslationBlobPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TranslationBlobPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
TranslationBlobPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TranslationBlobPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TranslationBlobPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TranslationBlob *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TranslationBlobPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TranslationBlob *out,
|
|
const TranslationBlob *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TranslationBlobPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const TranslationBlob *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TranslationBlobPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TranslationBlob **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TranslationBlobPlugin_deserialize_from_cdr_buffer(
|
|
TranslationBlob *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
TranslationBlobPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
TranslationBlobPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
TranslationBlobPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
TranslationBlobPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TranslationBlobPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TranslationBlob ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TranslationBlobPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TranslationBlobKeyHolder *key,
|
|
const TranslationBlob *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TranslationBlobPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
TranslationBlob *instance,
|
|
const TranslationBlobKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
TranslationBlobPlugin_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*
|
|
TranslationBlobPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
TranslationBlobPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct UpdateChargeNamesRequest
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct UpdateChargeNamesRequest)
|
|
* 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
|
|
* UpdateChargeNamesRequest must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct UpdateChargeNamesRequest.
|
|
*/
|
|
typedef struct UpdateChargeNamesRequest UpdateChargeNamesRequestKeyHolder;
|
|
|
|
#define UpdateChargeNamesRequestPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define UpdateChargeNamesRequestPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define UpdateChargeNamesRequestPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define UpdateChargeNamesRequestPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define UpdateChargeNamesRequestPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define UpdateChargeNamesRequestPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define UpdateChargeNamesRequestPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern UpdateChargeNamesRequest*
|
|
UpdateChargeNamesRequestPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern UpdateChargeNamesRequest*
|
|
UpdateChargeNamesRequestPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern UpdateChargeNamesRequest*
|
|
UpdateChargeNamesRequestPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
UpdateChargeNamesRequestPluginSupport_copy_data(
|
|
UpdateChargeNamesRequest *out,
|
|
const UpdateChargeNamesRequest *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
UpdateChargeNamesRequestPluginSupport_destroy_data_w_params(
|
|
UpdateChargeNamesRequest *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
UpdateChargeNamesRequestPluginSupport_destroy_data_ex(
|
|
UpdateChargeNamesRequest *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
UpdateChargeNamesRequestPluginSupport_destroy_data(
|
|
UpdateChargeNamesRequest *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
UpdateChargeNamesRequestPluginSupport_print_data(
|
|
const UpdateChargeNamesRequest *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern UpdateChargeNamesRequest*
|
|
UpdateChargeNamesRequestPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern UpdateChargeNamesRequest*
|
|
UpdateChargeNamesRequestPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
UpdateChargeNamesRequestPluginSupport_destroy_key_ex(
|
|
UpdateChargeNamesRequestKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
UpdateChargeNamesRequestPluginSupport_destroy_key(
|
|
UpdateChargeNamesRequestKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
UpdateChargeNamesRequestPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
UpdateChargeNamesRequestPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
UpdateChargeNamesRequestPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
UpdateChargeNamesRequestPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
UpdateChargeNamesRequestPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
UpdateChargeNamesRequest *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
UpdateChargeNamesRequestPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
UpdateChargeNamesRequest *out,
|
|
const UpdateChargeNamesRequest *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
UpdateChargeNamesRequestPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const UpdateChargeNamesRequest *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
UpdateChargeNamesRequestPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
UpdateChargeNamesRequest **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
UpdateChargeNamesRequestPlugin_deserialize_from_cdr_buffer(
|
|
UpdateChargeNamesRequest *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
UpdateChargeNamesRequestPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
UpdateChargeNamesRequestPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
UpdateChargeNamesRequestPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
UpdateChargeNamesRequestPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
UpdateChargeNamesRequestPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
UpdateChargeNamesRequest ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
UpdateChargeNamesRequestPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
UpdateChargeNamesRequestKeyHolder *key,
|
|
const UpdateChargeNamesRequest *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
UpdateChargeNamesRequestPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
UpdateChargeNamesRequest *instance,
|
|
const UpdateChargeNamesRequestKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
UpdateChargeNamesRequestPlugin_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*
|
|
UpdateChargeNamesRequestPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
UpdateChargeNamesRequestPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
/* The type used to store keys for instances of type struct
|
|
* AnotherSimple.
|
|
*
|
|
* By default, this type is struct VulnerabilityKind
|
|
* itself. However, if for some reason this choice is not practical for your
|
|
* system (e.g. if sizeof(struct VulnerabilityKind)
|
|
* 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
|
|
* VulnerabilityKind must consist of a
|
|
* single field of your redefined KeyHolder type and that field must be the
|
|
* first field in struct VulnerabilityKind.
|
|
*/
|
|
typedef struct VulnerabilityKind VulnerabilityKindKeyHolder;
|
|
|
|
#define VulnerabilityKindPlugin_get_sample PRESTypePluginDefaultEndpointData_getSample
|
|
|
|
#define VulnerabilityKindPlugin_get_buffer PRESTypePluginDefaultEndpointData_getBuffer
|
|
#define VulnerabilityKindPlugin_return_buffer PRESTypePluginDefaultEndpointData_returnBuffer
|
|
|
|
#define VulnerabilityKindPlugin_get_key PRESTypePluginDefaultEndpointData_getKey
|
|
#define VulnerabilityKindPlugin_return_key PRESTypePluginDefaultEndpointData_returnKey
|
|
|
|
#define VulnerabilityKindPlugin_create_sample PRESTypePluginDefaultEndpointData_createSample
|
|
#define VulnerabilityKindPlugin_destroy_sample PRESTypePluginDefaultEndpointData_deleteSample
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Support functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern VulnerabilityKind*
|
|
VulnerabilityKindPluginSupport_create_data_w_params(
|
|
const struct DDS_TypeAllocationParams_t * alloc_params);
|
|
|
|
NDDSUSERDllExport extern VulnerabilityKind*
|
|
VulnerabilityKindPluginSupport_create_data_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern VulnerabilityKind*
|
|
VulnerabilityKindPluginSupport_create_data(void);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
VulnerabilityKindPluginSupport_copy_data(
|
|
VulnerabilityKind *out,
|
|
const VulnerabilityKind *in);
|
|
|
|
NDDSUSERDllExport extern void
|
|
VulnerabilityKindPluginSupport_destroy_data_w_params(
|
|
VulnerabilityKind *sample,
|
|
const struct DDS_TypeDeallocationParams_t * dealloc_params);
|
|
|
|
NDDSUSERDllExport extern void
|
|
VulnerabilityKindPluginSupport_destroy_data_ex(
|
|
VulnerabilityKind *sample,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
VulnerabilityKindPluginSupport_destroy_data(
|
|
VulnerabilityKind *sample);
|
|
|
|
NDDSUSERDllExport extern void
|
|
VulnerabilityKindPluginSupport_print_data(
|
|
const VulnerabilityKind *sample,
|
|
const char *desc,
|
|
unsigned int indent);
|
|
|
|
NDDSUSERDllExport extern VulnerabilityKind*
|
|
VulnerabilityKindPluginSupport_create_key_ex(RTIBool allocate_pointers);
|
|
|
|
NDDSUSERDllExport extern VulnerabilityKind*
|
|
VulnerabilityKindPluginSupport_create_key(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
VulnerabilityKindPluginSupport_destroy_key_ex(
|
|
VulnerabilityKindKeyHolder *key,RTIBool deallocate_pointers);
|
|
|
|
NDDSUSERDllExport extern void
|
|
VulnerabilityKindPluginSupport_destroy_key(
|
|
VulnerabilityKindKeyHolder *key);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
Callback functions:
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginParticipantData
|
|
VulnerabilityKindPlugin_on_participant_attached(
|
|
void *registration_data,
|
|
const struct PRESTypePluginParticipantInfo *participant_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context,
|
|
RTICdrTypeCode *typeCode);
|
|
|
|
NDDSUSERDllExport extern void
|
|
VulnerabilityKindPlugin_on_participant_detached(
|
|
PRESTypePluginParticipantData participant_data);
|
|
|
|
NDDSUSERDllExport extern PRESTypePluginEndpointData
|
|
VulnerabilityKindPlugin_on_endpoint_attached(
|
|
PRESTypePluginParticipantData participant_data,
|
|
const struct PRESTypePluginEndpointInfo *endpoint_info,
|
|
RTIBool top_level_registration,
|
|
void *container_plugin_context);
|
|
|
|
NDDSUSERDllExport extern void
|
|
VulnerabilityKindPlugin_on_endpoint_detached(
|
|
PRESTypePluginEndpointData endpoint_data);
|
|
|
|
NDDSUSERDllExport extern void
|
|
VulnerabilityKindPlugin_return_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
VulnerabilityKind *sample,
|
|
void *handle);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
VulnerabilityKindPlugin_copy_sample(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
VulnerabilityKind *out,
|
|
const VulnerabilityKind *in);
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
VulnerabilityKindPlugin_serialize_to_cdr_buffer(
|
|
char * buffer,
|
|
unsigned int * length,
|
|
const VulnerabilityKind *sample,
|
|
::dds::core::policy::DataRepresentationId representation
|
|
= ::dds::core::policy::DataRepresentation::xcdr());
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
VulnerabilityKindPlugin_deserialize(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
VulnerabilityKind **sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_sample,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
VulnerabilityKindPlugin_deserialize_from_cdr_buffer(
|
|
VulnerabilityKind *sample,
|
|
const char * buffer,
|
|
unsigned int length);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
VulnerabilityKindPlugin_get_serialized_sample_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
/* --------------------------------------------------------------------------------------
|
|
Key Management functions:
|
|
* -------------------------------------------------------------------------------------- */
|
|
NDDSUSERDllExport extern PRESTypePluginKeyKind
|
|
VulnerabilityKindPlugin_get_key_kind(void);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
VulnerabilityKindPlugin_get_serialized_key_max_size(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIBool include_encapsulation,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern unsigned int
|
|
VulnerabilityKindPlugin_get_serialized_key_max_size_for_keyhash(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
RTIEncapsulationId encapsulation_id,
|
|
unsigned int current_alignment);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
VulnerabilityKindPlugin_deserialize_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
VulnerabilityKind ** sample,
|
|
RTIBool * drop_sample,
|
|
struct RTICdrStream *cdrStream,
|
|
RTIBool deserialize_encapsulation,
|
|
RTIBool deserialize_key,
|
|
void *endpoint_plugin_qos);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
VulnerabilityKindPlugin_instance_to_key(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
VulnerabilityKindKeyHolder *key,
|
|
const VulnerabilityKind *instance);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
VulnerabilityKindPlugin_key_to_instance(
|
|
PRESTypePluginEndpointData endpoint_data,
|
|
VulnerabilityKind *instance,
|
|
const VulnerabilityKindKeyHolder *key);
|
|
|
|
NDDSUSERDllExport extern RTIBool
|
|
VulnerabilityKindPlugin_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*
|
|
VulnerabilityKindPlugin_new(void);
|
|
|
|
NDDSUSERDllExport extern void
|
|
VulnerabilityKindPlugin_delete(struct PRESTypePlugin *);
|
|
|
|
} /* namespace ProjectDataManagement */
|
|
|
|
#if defined(NDDS_USER_DLL_EXPORT) || defined(NDDS_USER_SYMBOL_EXPORT)
|
|
#undef NDDSUSERDllExport
|
|
#define NDDSUSERDllExport
|
|
#endif
|
|
|
|
#endif /* pdmPlugin_713756303_h */
|