RTI Connext DDS Micro  Version 2.4.11
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
MyUdpTransform.c File Reference
#include <stdio.h>
#include "MyUdpTransform.h"

Data Structures

struct  MyUdpTransformFactory
 The UDP Transformation factory class. More...
struct  MyUdpTransform
 The custom UDP transformation class. More...

Functions

RTI_PRIVATE struct MyUdpTransformMyUdpTransform_create (struct MyUdpTransformFactory *factory, const struct UDP_TransformProperty *const property)
 Method to create an instance of MyUdpTransform.
RTI_PRIVATE void MyUdpTransform_delete (struct MyUdpTransform *t)
 Method to delete an instance of MyUdpTransform.
RTI_PRIVATE RTI_BOOL MyUdpTransform_create_destination_transform (UDP_Transform_T *const udptf, void **const context, const struct NETIO_Address *const destination, const struct NETIO_Netmask *const netmask, void *user_data, const struct UDP_TransformProperty *const property, RTI_INT32 *const ec)
 Method to create a transformation for an destination address.
RTI_PRIVATE RTI_BOOL MyUdpTransform_delete_destination_transform (UDP_Transform_T *const udptf, void *context, const struct NETIO_Address *const destination, const struct NETIO_Netmask *const netmask, RTI_INT32 *const ec)
 Method to delete a transformation for an destination address.
RTI_PRIVATE RTI_BOOL MyUdpTransform_create_source_transform (UDP_Transform_T *const udptf, void **const context, const struct NETIO_Address *const source, const struct NETIO_Netmask *const netmask, void *user_data, const struct UDP_TransformProperty *const property, RTI_INT32 *const ec)
 Method to create a transformation for an source address.
RTI_PRIVATE RTI_BOOL MyUdpTransform_delete_source_transform (UDP_Transform_T *const udptf, void *context, const struct NETIO_Address *const source, const struct NETIO_Netmask *const netmask, RTI_INT32 *const ec)
 Method to delete a transformation for an source address.
RTI_PRIVATE RTI_BOOL MyUdpTransform_transform_source (UDP_Transform_T *const udptf, void *context, const struct NETIO_Address *const source, const NETIO_Packet_T *const in_packet, NETIO_Packet_T **out_packet, RTI_INT32 *const ec)
 Method to transform data based on a source address.
RTI_PRIVATE RTI_BOOL MyUdpTransform_transform_destination (UDP_Transform_T *const udptf, void *context, const struct NETIO_Address *const destination, const NETIO_Packet_T *const in_packet, NETIO_Packet_T **packet_out, RTI_INT32 *const ec)
 Method to transform data based on a destination address.
RTI_PRIVATE RT_Component_T * MyUdpTransformFactory_create_component (struct RT_ComponentFactory *factory, struct RT_ComponentProperty *property, struct RT_ComponentListener *listener)
 Method called by RTI Connext DDS Micro to create an instance of transformation.
RTI_PRIVATE void MyUdpTransformFactory_delete_component (struct RT_ComponentFactory *factory, RT_Component_T *component)
 Method called by RTI Connext DDS Micro to delete an instance of transformation.
RTI_PRIVATE struct
RT_ComponentFactory * 
MyUdpTransformFactory_initialize (struct RT_ComponentFactoryProperty *property, struct RT_ComponentFactoryListener *listener)
 Method called by RTI Connext DDS Micro when a factory is registered.
RTI_PRIVATE void MyUdpTransformFactory_finalize (struct RT_ComponentFactory *factory, struct RT_ComponentFactoryProperty **property, struct RT_ComponentFactoryListener **listener)
 Method called by RTI Connext DDS Micro when a factory is unregistered.
RTI_BOOL MyUdpTransformFactory_register (RT_Registry_T *registry, const char *const name, struct MyUdpTransformFactoryProperty *property)
 Method to register this transformation in a registry.
RTI_BOOL MyUdpTransformFactory_unregister (RT_Registry_T *registry, const char *const name, struct MyUdpTransformFactoryProperty **property)
 Method to unregister this transformation from a registry.

Detailed Description


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