RTI Connext Modern C++ API  Version 5.3.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
rti::topic Namespace Reference

<<extension>> Extensions to dds::topic More...

Classes

class  ServiceRequest
 <<extension>> <<value-type>> A request coming from one of the built-in services More...
 
struct  no_compile_data_t
 The type to specify as the CompileData template parameter to your ContentFilter if your compile function does not return any data. More...
 
class  ContentFilter
 <<extension>> A class to inherit from when implementing a custom content filter More...
 
class  WriterContentFilter
 <<extension>> A class to inherit from when implementing a writer-side custom content filter More...
 
class  WriterContentFilterHelper
 <<extension>> A class to inherit from when implementing a writer-side custom content filter. More...
 
class  CustomFilter
 <<extension>> <<reference-type>> A wrapper class for the user-defined implementation of a ContentFilter. More...
 
class  ExpressionProperty
 <<extension>> <<value-type>> Provides additional information about the filter expression passed to the writer_compile method of rti::topic::WriterContentFilter More...
 
class  FilterSampleInfo
 <<extension>> <<value-type>> Provides meta information associated with the sample. More...
 
struct  PrintFormatKind_def
 The definition of the dds::core::safe_enum PrintFormatKind. More...
 
class  PrintFormatProperty
 <<extension>> <<value-type>> A collection of attributes used to configure how data samples will be formatted when converted to a string. More...
 
struct  extensibility
 <<extension>> Indicates the extensibility kind of a topic-type More...
 
struct  topic_type_has_pointer_members
 <<extension>> Indicates if a topic type contains directly or indirectly IDL pointer members. More...
 
struct  topic_type_has_external_members
 <<extension>> Indicates if a topic type contains directly or indirectly IDL external members. More...
 
struct  dynamic_type
 Provides a DynamicType that represents an IDL-generated type. More...
 

Typedefs

typedef dds::core::safe_enum
< PrintFormatKind_def
PrintFormatKind
 Safe Enumeration of PrintFormatKind_def Format kinds available when converting data samples to string representations.
 

Functions

template<typename TopicType >
void from_cdr_buffer_no_alloc (TopicType &sample, const std::vector< char > &buffer)
 Deserializes a sample from a buffer of bytes in CDR format.
 
template<typename TopicType >
TopicType from_cdr_buffer (const std::vector< char > &buffer)
 Creates a sample by deserializing a buffer of bytes in CDR format.
 
template<typename TopicType >
std::vector< char > & to_cdr_buffer (std::vector< char > &buffer, const TopicType &sample)
 Serializes a sample into a buffer of octets in CDR format.
 
std::string sql_filter_name ()
 <<extension>> The name of the built-in SQL filter that can be used with dds::topic::ContentFilteredTopic and rti::core::policy::MultiChannel dds::pub::DataWriter.
 
std::string stringmatch_filter_name ()
 <<extension>> The name of the built-in StringMatch filter that can be used with dds::topic::ContentFilteredTopic and rti::core::policy::MultiChannel dds::pub::DataWriter.
 
template<typename AnyTopicBackInsertIterator >
uint32_t find_topics (dds::domain::DomainParticipant participant, AnyTopicBackInsertIterator begin)
 <<extension>> Retrieve all the dds::topic::Topic created from this dds::domain::DomainParticipant
 
template<typename AnyTopicForwardIterator >
uint32_t find_topics (dds::domain::DomainParticipant participant, AnyTopicForwardIterator begin, uint32_t max_size)
 <<extension>> Retrieve all the dds::topic::Topic created from this dds::domain::DomainParticipant
 
template<typename T >
CustomFilter< T > find_content_filter (const dds::domain::DomainParticipant &participant, const std::string &filter_name)
 Lookup a content filter previously registered with dds::domain::DomainParticipant::register_contentfilter.
 
template<typename FwdIterator >
uint32_t find_registered_content_filters (const dds::domain::DomainParticipant &participant, FwdIterator begin, uint32_t max_size)
 <<extension>> Lookup the names of up to max_size number of the custom content filters registered to a dds::domain::DomainParticipant
 
template<typename BinIterator >
uint32_t find_registered_content_filters (const dds::domain::DomainParticipant &participant, BinIterator begin)
 Lookup the names of all of the custom content filters registered to a dds::domain::DomainParticipant.
 
template<typename TopicType >
std::ostream & to_string (std::ostream &out, const TopicType &sample, const PrintFormatProperty &print_format=PrintFormatProperty::Default())
 Prints a data sample to an output stream.
 
template<typename TopicType >
std::string to_string (const TopicType &sample, const PrintFormatProperty &print_format=PrintFormatProperty::Default())
 Tranforms a data sample into a human-readable string format.
 
std::string service_request_topic_name ()
 ServiceRequest built-in topic name.
 

Detailed Description

<<extension>> Extensions to dds::topic

Function Documentation

template<typename AnyTopicBackInsertIterator >
uint32_t rti::topic::find_topics ( dds::domain::DomainParticipant  participant,
AnyTopicBackInsertIterator  begin 
)

<<extension>> Retrieve all the dds::topic::Topic created from this dds::domain::DomainParticipant

Template Parameters
AnyTopicBackInsertIteratorType of the back-inserting iterator passed into this function
Parameters
participantThe dds::domain::DomainParticipant the Topics belong to
beginA back-inserting iterator to the position in the destination container to insert the found Topics into
Returns
The number of found Topics
template<typename AnyTopicForwardIterator >
uint32_t rti::topic::find_topics ( dds::domain::DomainParticipant  participant,
AnyTopicForwardIterator  begin,
uint32_t  max_size 
)

<<extension>> Retrieve all the dds::topic::Topic created from this dds::domain::DomainParticipant

Template Parameters
AnyTopicForwardIteratorType of the forward iterator passed into this function
Parameters
participantThe dds::domain::DomainParticipant the Topics belong to
beginA forward iterator to the position in the destination container to insert the found Topics in
max_sizeThe maximum number of Topics to return
Returns
The number of found Topics
template<typename FwdIterator >
uint32_t rti::topic::find_registered_content_filters ( const dds::domain::DomainParticipant participant,
FwdIterator  begin,
uint32_t  max_size 
)

<<extension>> Lookup the names of up to max_size number of the custom content filters registered to a dds::domain::DomainParticipant

The names of the RTI Connext built-in content filters will not be returned as part of the list.

Template Parameters
FwdIteratorA forwward iterator whose value type is std::string (or convertible to)
Parameters
participantThe dds::domain::DomainParticipant that the content filters are registered with
beginA forward iterator to the position in the destination container to insert the names of the found content filters into
max_sizeThe maximum number of filters to lookup
Returns
The number of found content filters
template<typename BinIterator >
uint32_t rti::topic::find_registered_content_filters ( const dds::domain::DomainParticipant participant,
BinIterator  begin 
)

Lookup the names of all of the custom content filters registered to a dds::domain::DomainParticipant.

The names of the RTI Connext built-in content filters will not be returned as part of the list.

Template Parameters
BinIteratorA back-inserting iterator whose value type is std::string (or convertible to)
Parameters
participantThe dds::domain::DomainParticipant that the content filters are registered with
beginA back-inserting iterator to the position in the destination container to insert the the names of the found content filters into
Returns
The number of found content filters

RTI Connext Modern C++ API Version 5.3.1 Copyright © Mon Feb 19 2018 Real-Time Innovations, Inc