RTI Connext Modern C++ API
Version 6.1.0
|
<<extension>> <<reference-type>> A wrapper class for the user-defined implementation of a ContentFilter. More...
#include <rti/topic/CustomFilter.hpp>
Public Member Functions | |
CustomFilter (typename dds::core::smart_ptr_traits< T >::ref_type content_filter_ref) | |
Create a CustomFilter which holds a shared pointer to a user-defined content filter. More... | |
const T * | get () const |
Get a const pointer to the underlying content filter. More... | |
T * | get () |
Get a pointer to the underlying content filter. More... | |
<<extension>> <<reference-type>> A wrapper class for the user-defined implementation of a ContentFilter.
In order to register a custom content filter a user must:
The CustomFilter class prevents your content filter from being deleted while RTI Connext is using your filter by retaining a reference to your filter until it is no longer being used by RTI Connext.
For an example of how to create anad register a custom content filter see Creating Custom Content Filters.
T | The type of the custom content filter that is being registered. It must be a type which inherits and implements the interface of one of ContentFilter, WriterContentFilter, or WriterContentFilterHelper |
|
inline |
Create a CustomFilter which holds a shared pointer to a user-defined content filter.
content_filter_ref | A shared pointer to a user-defined content filter object. |
|
inline |
Get a const pointer to the underlying content filter.
|
inline |
Get a pointer to the underlying content filter.