Gazebo Transport

API Reference

12.2.1
AllTopics Class Referencefinal

Query for all the topics. More...

#include <QueryOptions.hh>

Public Member Functions

 AllTopics (AllTopics &&_other)
 Move constructor. More...
 
 AllTopics (const AllTopics &_other)
 Copy constructor. More...
 
 AllTopics (const QualifiedTimeRange &_timeRange=QualifiedTimeRange::AllTime())
 Query for all the topics over the specified time range (by default, all time). More...
 
 ~AllTopics ()
 Destructor. More...
 
std::vector< SqlStatementGenerateStatements (const Descriptor &_descriptor) const override
 Generate one or more SQL query statements to be used by the log file to produce a Batch of messages. More...
 
- Public Member Functions inherited from QueryOptions
virtual ~QueryOptions ()=default
 Virtual destructor. More...
 
- Public Member Functions inherited from TimeRangeOption
 TimeRangeOption (const QualifiedTimeRange &_timeRange)
 Constructor that sets the initial time range option. More...
 
 TimeRangeOption (const TimeRangeOption &_other)
 Copy constructor. More...
 
 TimeRangeOption (TimeRangeOption &&_other)
 Move constructor. More...
 
 ~TimeRangeOption ()
 Destructor. More...
 
SqlStatement GenerateTimeConditions () const
 Generate a SQL string to represent the time conditions. This should be appended to a SQL statement after a WHERE keyword. More...
 
QualifiedTimeRangeTimeRange ()
 Chosen time range. More...
 
const QualifiedTimeRangeTimeRange () const
 Chosen time range. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from QueryOptions
static SqlStatement StandardMessageQueryClose ()
 Get a standard ending to a SQL statement that will instruct the queries to be ordered by the time the messages were received by the logger. It will also end the statement with a semicolon. More...
 
static SqlStatement StandardMessageQueryPreamble ()
 Get a standard SQL statement preamble, from the SELECT keyword up to (but not including) the WHERE keyword. This preamble will make sure that the statement is formatted in a way that MsgIter will have the information it needs. More...
 

Detailed Description

Query for all the topics.

Constructor & Destructor Documentation

◆ AllTopics() [1/3]

AllTopics ( const QualifiedTimeRange _timeRange = QualifiedTimeRange::AllTime())
explicit

Query for all the topics over the specified time range (by default, all time).

Parameters
[in]_timeRangeThe initial range of time for this option.

◆ AllTopics() [2/3]

AllTopics ( const AllTopics _other)

Copy constructor.

Parameters
[in]_otherAnother AllTopics

◆ AllTopics() [3/3]

AllTopics ( AllTopics &&  _other)

Move constructor.

Parameters
[in]_otherAnother AllTopics

◆ ~AllTopics()

~AllTopics ( )

Destructor.

Member Function Documentation

◆ GenerateStatements()

std::vector<SqlStatement> GenerateStatements ( const Descriptor _descriptor) const
overridevirtual

Generate one or more SQL query statements to be used by the log file to produce a Batch of messages.

Parameters
[in]_descriptorA Descriptor to help form the SQL statements
Returns
One or more SQL statements.

Implements QueryOptions.


The documentation for this class was generated from the following file: