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

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

Classes

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  topic_type_has_pointer_members
 <<extension>> Indicates if a topic type contains directly or indirectly IDL pointer members. More...
 
struct  dynamic_type
 Provides a DynamicType that represents an IDL-generated type. More...
 

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.
 

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.2.3 Copyright © Wed Apr 27 2016 Real-Time Innovations, Inc