RTI Connext Modern C++ API  Version 6.1.1
Supporting Types and Constants

Miscellaneous, general-purpose types and constants. More...

Classes

class  dds::core::external< T >
 A managed reference to an object. More...
 
class  dds::core::basic_string< CharType, Allocator >
 <<value-type>> A string convertible to std::string and with similar functionality More...
 
class  rti::core::bounded_sequence< T, MaxLength >
 <<value-type>> A bounded sequence of elements More...
 
class  rti::core::ListenerBinder< Entity, Listener >
 <<reference-type>> Automatically manages the association of an Entity and a Listener More...
 
class  rti::core::LongDouble
 <<extension>> <<value-type>> Encapsulates an IDL long double More...
 
class  dds::core::optional< T >
 <<value-type>> Represents an object that may not contain a valid value More...
 
class  rti::core::optional_value< T >
 <<extension>> Represents a value that can be initialized or not More...
 
class  rti::core::UnregisterThreadOnExit
 <<extension>> Utility that calls rti::core::unregister_thread when leaving scope More...
 
struct  rti::core::qos_print_all_t
 A tag type that selects the to_string overload that prints all the values of a Qos object. More...
 
class  dds::core::vector< T >
 <<value-type>> A vector convertible to std::vector and with similar functionality More...
 

Typedefs

typedef boost_or_std_array dds::core::array
 Represents an IDL array. More...
 
typedef std::shared_ptr< T > dds::core::external< T >::shared_ptr
 The smart pointer that external<T> uses. More...
 
typedef basic_string< char, rti::core::memory::OsapiAllocator< char > > dds::core::string
 A string convertible to std::string and with similar functionality. More...
 
typedef basic_string< DDS_Wchar, rti::core::memory::OsapiAllocator< DDS_Wchar > > dds::core::wstring
 An IDL-derived wide string. More...
 
typedef std::vector< uint8_t > dds::core::ByteSeq
 A vector of bytes. More...
 
typedef std::vector< std::string > dds::core::StringSeq
 A vector of strings. More...
 
typedef std::nullptr_t dds::core::null_type
 <<C++11>> The type of dds::core::null More...
 
typedef ::std::true_type dds::core::true_type
 True type used by trait types. More...
 
typedef ::std::false_type dds::core::false_type
 False type used by trait types. More...
 

Functions

void rti::core::unregister_thread ()
 <<extension>> Releases resources that RTI Connext keeps for this thread More...
 

Variables

const int32_t dds::core::LENGTH_UNLIMITED = -1
 A special value indicating an unlimited quantity. More...
 
const null_type dds::core::null
 Indicates an empty reference. More...
 
const qos_print_all_t rti::core::qos_print_all
 Sentinel value that selects the to_string overload that prints all of the values of a Qos object. More...
 

Detailed Description

Miscellaneous, general-purpose types and constants.

Typedef Documentation

◆ array

typedef boost_or_std_array dds::core::array

Represents an IDL array.

An IDL array maps to this C++ type.

This type is std::array if supported or boost::array otherwise.

◆ shared_ptr

template<typename T>
typedef std::shared_ptr<T> dds::core::external< T >::shared_ptr

The smart pointer that external<T> uses.

Selects std::shared_ptr if available when compiling or a boost implementation otherwise.

◆ string

typedef basic_string<char, rti::core::memory::OsapiAllocator<char> > dds::core::string

A string convertible to std::string and with similar functionality.

See also
basic_string
Examples:
Foo.hpp.

◆ wstring

typedef basic_string<DDS_Wchar, rti::core::memory::OsapiAllocator<DDS_Wchar> > dds::core::wstring

An IDL-derived wide string.

IDL wstring maps to this type in the C++ API.

It's character type is DDS_Wchar, a portable 4-byte character type.

See also
basic_string

◆ ByteSeq

typedef std::vector<uint8_t> dds::core::ByteSeq

A vector of bytes.

◆ StringSeq

typedef std::vector<std::string> dds::core::StringSeq

A vector of strings.

◆ null_type

typedef std::nullptr_t dds::core::null_type

◆ true_type

typedef ::std::true_type dds::core::true_type

True type used by trait types.

◆ false_type

typedef ::std::false_type dds::core::false_type

False type used by trait types.

Function Documentation

◆ unregister_thread()

void rti::core::unregister_thread ( )

<<extension>> Releases resources that RTI Connext keeps for this thread

This function should be called by the user right before exiting a thread where DDS API were used. In this way the middleware will be able to free all the resources related to this specific thread. The best approach is to call the function during the thread deletion after all the DDS related API have have been called.

Exceptions
Oneof the Standard Exceptions
See also
UnregisterThreadOnExit

Referenced by rti::core::UnregisterThreadOnExit::~UnregisterThreadOnExit().

Variable Documentation

◆ LENGTH_UNLIMITED

const int32_t dds::core::LENGTH_UNLIMITED = -1

A special value indicating an unlimited quantity.

Referenced by dds::topic::discover_any_topic(), and dds::topic::discover_topic_data().

◆ null

◆ qos_print_all

const qos_print_all_t rti::core::qos_print_all

Sentinel value that selects the to_string overload that prints all of the values of a Qos object.

See also
rti::sub::qos::to_string