RTI Routing Service
Version 6.0.1
|
Encapsulates a content query to select data from a rti::routing::adapter::StreamReader. More...
#include <Query.hpp>
Inherits Reference< rti::routing::processor::QueryHolder >.
Public Member Functions | |
Query (rti::routing::adapter::StreamReader *stream_reader, const dds::topic::Filter &filter) | |
Creates a Query described by a filter on a stream_reader. | |
void | filter (const dds::topic::Filter &filter) |
Updates the current Query content filter. | |
Encapsulates a content query to select data from a rti::routing::adapter::StreamReader.
Note that syntax for the query filter is StreamReader implementation dependent. For the DDS Adapter case, the syntax corresponds to that of the SQL filter.
A Query object holds a custom query obtained by calling rti::routing::adapter::StreamReader::create_content_query. Likewise, the deletion of a Query object will call rti::routing::adapter::StreamReader::delete_content_query.
|
inline |
Creates a Query described by a filter on a stream_reader.
[in] | stream_reader | The StreamReader to query the data from. |
[in] | filter | Description of the content query based on an expression and parameters. |
|
inline |
Updates the current Query content filter.
This operation will call rti::routing::adapter::StreamReader::create_content_query providing the current query content data this Query holds.