<<interface>> <<generic>> User data type specific interface.
More...
#include <dds_cpp_data.hxx>
List of all members.
Detailed Description
<<interface>> <<generic>> User data type specific interface.
Member Function Documentation
static bool FooTypeSupport::initialize_data |
( |
Foo * |
sample | ) |
|
|
static |
static bool FooTypeSupport::finalize_data |
( |
Foo * |
sample | ) |
|
|
static |
static Foo* FooTypeSupport::create_data |
( |
| ) |
|
|
static |
<<eXtension>> Create a data type and initialize it.
The generated implementation of the operation knows how to instantiate a data type and initialize it properly.
All memory for the type is deeply allocated.
- Returns:
- newly created data type
- See also:
- FooTypeSupport::delete_data
static void FooTypeSupport::delete_data |
( |
Foo * |
sample | ) |
|
|
static |
static bool FooTypeSupport::copy_data |
( |
Foo * |
dst_data, |
|
|
Foo * |
src_data |
|
) |
| |
|
static |
<<eXtension>> Copy data type.
The generated implementation of the operation knows how to copy value of a data type.
- Parameters:
-
dst_data | <<inout>> Data type to copy value to. Cannot be NULL. |
src_data | <<in>> Data type to copy value from. Cannot be NULL. |
- Returns:
- One of the Standard Return Codes
Allows an application to unregister a data type from RTI Connext DDS Micro. After calling unregister_type, no further communication using that type is possible.
The generated implementation of the operation removes all the information about a type from RTI Connext DDS Micro. No further communication using that type is possible.
- Precondition:
- A type with
type_name
is registered with the participant and all DDSTopic objects referencing the type have been destroyed. If the type is not registered with the participant, or if any DDSTopic is associated with the type, the operation will fail with DDS_RETCODE_ERROR.
- Postcondition:
- All information about the type is removed from RTI Connext DDS Micro. No further communication using this type is possible.
- Parameters:
-
participant | <<in>> the DDSDomainParticipant to unregister the data type Foo from. Cannot be NULL. |
type_name | <<in>> the type name under with the data type Foo is registered with the participant. The name should match a name that has been previously used to register a type with the participant. Cannot be NULL. |
- Returns:
- One of the Standard Return Codes, DDS_RETCODE_BAD_PARAMETER or DDS_RETCODE_ERROR
- MT Safety:
- SAFE.
- See also:
- DDSDomainParticipant::register_type