RTI Connext DDS Micro  Version 2.4.11
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dds_c_type.h File Reference

DDS type module. More...

#include "cdr/cdr_cdr_type.h"
#include "cdr/cdr_stream.h"
#include "cdr/cdr_encapsulation.h"
#include "reda/reda_buffer.h"
#include "rtps/rtps_rtps.h"
#include "dds_c/dds_c_dll.h"
#include "dds_c/dds_c_infrastructure.h"

Go to the source code of this file.

Data Structures

struct  NDDS_Type_PluginVersion
 Data type used to keep track of versioning information about a NDDS_Type_Plugin. More...
struct  NDDS_Type_Plugin
 <<interface>> Plugin for type routines. More...

Typedefs

typedef struct
NDDS_Type_PluginVersion 
NDDS_Type_PluginVersion
 Data type used to keep track of versioning information about a NDDS_Type_Plugin.
typedef RTI_UINT32(* NDDS_Type_GetSerializedSizeFunc )(struct NDDS_Type_Plugin *plugin, RTI_UINT32 current_alignment, void *param)
 Prototype of the function to determine the size of a data sample in serialized form.
typedef RTI_BOOL(* NDDS_Type_CreateSampleFunc )(struct NDDS_Type_Plugin *plugin, void **sample, void *param)
 Prototype of the data sample creation function.
typedef RTI_BOOL(* NDDS_Type_DeleteSampleFunc )(struct NDDS_Type_Plugin *plugin, void *sample, void *param)
 Prototype of the data sample delete function.
typedef RTI_BOOL(* NDDS_Type_CopySampleFunc )(struct NDDS_Type_Plugin *plugin, void *dst, const void *src, void *param)
 Prototype of the data sample copy function.
typedef NDDS_TypePluginKeyKind(* NDDS_PluginHelper_GetKeyKindFunc )(struct NDDS_Type_Plugin *plugin, void *param)
 Prototype of the keyed data check function.
typedef RTI_BOOL(* NDDS_PluginHelper_InstanceToKeyHashFunc )(struct NDDS_Type_Plugin *plugin, struct CDR_Stream_t *stream, DDS_KeyHash_t *keyHash, const void *instance, void *param)
 Prototype of the function for converting an instance of data into a 16-byte key hash.
typedef void *(* NDDS_PluginHelper_CreateTypedDataWriterFunc )(void *writer)
 Prototype of the function for creating a language-specific wrapper for a DDS_DataWriter created by the C core layer.
typedef void(* NDDS_PluginHelper_DeleteTypedDataWriterFunc )(void *wrapper)
 Prototype of the function for deleting a language-specific wrapper of a DDS_DataReader created by the C core layer.
typedef void *(* NDDS_PluginHelper_CreateTypedDataReaderFunc )(void *reader)
 Prototype of the function for creating a language-specific wrapper for a DDS_DataReader created by the C core layer.
typedef void(* NDDS_PluginHelper_DeleteTypedDataReaderFunc )(void *wrapper)
 Prototype of the function for deleting a language-specific wrapper of a DDS_DataReader created by the C core layer.

Enumerations

enum  NDDS_TypePluginKeyKind { NDDS_TYPEPLUGIN_NO_KEY , NDDS_TYPEPLUGIN_USER_KEY }
 Type key kind: either keyed or unkeyed. More...

Functions

RTI_BOOL PluginHelper_instance_to_keyhash (struct NDDS_Type_Plugin *plugin, struct CDR_Stream_t *stream, DDS_KeyHash_t *keyHash, const void *instance, void *param)
 Function to use a NDDS_Type_Plugin to create a 16-byte keyhash from an instance of data.
NDDS_TypePluginKeyKind PluginHelper_get_key_kind (struct NDDS_Type_Plugin *plugin, void *param)
 Function to determine the type of key used by a NDDS_Type_Plugin's data type.

Detailed Description

DDS type module.


RTI Connext DDS Micro Version 2.4.11 Copyright © Mon Jul 23 2018 Real-Time Innovations, Inc