RTI Connext Traditional C++ API  Version 6.0.0
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
MyFlatFinalOffset Class Reference

Represents the Offset to an arbitrary user-defined FlatData final IDL struct. More...

#include <Offset.hpp>

Inheritance diagram for MyFlatFinalOffset:
rti::flat::FinalOffset< MyFlatFinalOffset > rti::flat::OffsetBase

Public Types

typedef MyFlatFinalConstOffset ConstOffset
 The equivalent read-only Offset type.
 

Public Member Functions

 MyFlatFinalOffset ()
 Creates a null Offset.
 
int32_t my_primitive () const
 Retrieves the value for a primitive member.
 
FlatFinalBar::ConstOffset my_complex () const
 Retrieves a const Offset to a complex member.
 
const
rti::flat::PrimitiveArrayOffset
< int32_t, 10 > 
my_primitive_array () const
 Retrieves a const Offset to a primitive array.
 
rti::flat::FinalArrayOffset
< FlatFinalBar::ConstOffset, 10 > 
my_complex_array () const
 Retrieves a const Offset to a complex array.
 
bool my_primitive (int32_t value)
 Sets the value for a primitive member.
 
FlatFinalBar::Offset my_complex ()
 Retrieves a non-const Offset to a complex member.
 
rti::flat::PrimitiveArrayOffset
< int32_t, 10 > 
my_primitive_array ()
 Retrieves a non-const Offset to a primitive array.
 
rti::flat::FinalArrayOffset
< FlatFinalBar::Offset, 10 > 
my_complex_array ()
 Retrieves a non-const Offset to a complex array.
 

Detailed Description

Represents the Offset to an arbitrary user-defined FlatData final IDL struct.

This example type represents the Offset type that rtiddsgen would generate for MyFlatFinal.

It provides accessors for each of its members. Accessors can return other Offsets or primitive values.

An Offset to a final type may meet the requirements to be cast to its equivalent plain C++ type (see rti::flat::plain_cast()).

Member Typedef Documentation

typedef MyFlatFinalConstOffset MyFlatFinalOffset::ConstOffset

The equivalent read-only Offset type.

Each Offset for a user type has an equivalent const Offset that doesn't provide the methods to modify the Sample.

Constructor & Destructor Documentation

MyFlatFinalOffset::MyFlatFinalOffset ( )
inline

Creates a null Offset.

Postcondition
is_null()

Member Function Documentation

int32_t MyFlatFinalOffset::my_primitive ( ) const

Retrieves the value for a primitive member.

FlatFinalBar::ConstOffset MyFlatFinalOffset::my_complex ( ) const

Retrieves a const Offset to a complex member.

FlatFinalBar is another arbitrary user-defined final FlatData type.

const rti::flat::PrimitiveArrayOffset<int32_t, 10> MyFlatFinalOffset::my_primitive_array ( ) const

Retrieves a const Offset to a primitive array.

rti::flat::FinalArrayOffset<FlatFinalBar::ConstOffset, 10> MyFlatFinalOffset::my_complex_array ( ) const

Retrieves a const Offset to a complex array.

bool MyFlatFinalOffset::my_primitive ( int32_t  value)

Sets the value for a primitive member.

FlatFinalBar::Offset MyFlatFinalOffset::my_complex ( )

Retrieves a non-const Offset to a complex member.

FlatFinalBar is another arbitrary user-defined final FlatData type.

rti::flat::PrimitiveArrayOffset<int32_t, 10> MyFlatFinalOffset::my_primitive_array ( )

Retrieves a non-const Offset to a primitive array.

rti::flat::FinalArrayOffset<FlatFinalBar::Offset, 10> MyFlatFinalOffset::my_complex_array ( )

Retrieves a non-const Offset to a complex array.


RTI Connext Traditional C++ API Version 6.0.0 Copyright © Sun Mar 3 2019 Real-Time Innovations, Inc