Classes | Public Member Functions | Private Attributes | List of all members
MsgParserImpl Class Reference
Inheritance diagram for MsgParserImpl:
Inheritance graph
[legend]

Classes

struct  TimeSeries
 

Public Member Functions

 MsgParserImpl (const std::string &topic_name, const std::string &type_name, const std::string &, PJ::PlotDataMapRef &data)
 
 MsgParserImpl (const std::string &topic_name, const std::string &type_name, const std::string &schema, PJ::PlotDataMapRef &data)
 
bool parseMessage (const MessageRef msg, double &timestamp) override
 
bool parseMessage (const MessageRef serialized_msg, double &timestamp) override
 
- Public Member Functions inherited from PJ::MessageParser
bool clampLargeArray () const
 
virtual void enableEmbeddedTimestamp (bool enable)
 
unsigned maxArraySize () const
 
 MessageParser (const std::string &topic_name, PlotDataMapRef &plot_data)
 
virtual void setLargeArraysPolicy (bool clamp, unsigned max_size)
 
virtual bool useEmbeddedTimestamp () const
 
virtual ~MessageParser ()=default
 

Private Attributes

DataTamerParser::Schema schema_
 
std::vector< TimeSeriestimeseries_
 
std::string topic_name_
 

Additional Inherited Members

- Protected Member Functions inherited from PJ::MessageParser
PlotDatagetSeries (const std::string &key)
 
StringSeriesgetStringSeries (const std::string &key)
 
- Protected Attributes inherited from PJ::MessageParser
PlotDataMapRef_plot_data
 
std::string _topic_name
 

Detailed Description

Definition at line 8 of file datatamer_parser.cpp.

Constructor & Destructor Documentation

◆ MsgParserImpl() [1/2]

MsgParserImpl::MsgParserImpl ( const std::string &  topic_name,
const std::string &  type_name,
const std::string &  schema,
PJ::PlotDataMapRef data 
)
inline

Definition at line 11 of file datatamer_parser.cpp.

◆ MsgParserImpl() [2/2]

MsgParserImpl::MsgParserImpl ( const std::string &  topic_name,
const std::string &  type_name,
const std::string &  ,
PJ::PlotDataMapRef data 
)
inline

Definition at line 9 of file line_parser.cpp.

Member Function Documentation

◆ parseMessage() [1/2]

bool MsgParserImpl::parseMessage ( const MessageRef  msg,
double &  timestamp 
)
inlineoverridevirtual

Implements PJ::MessageParser.

Definition at line 15 of file line_parser.cpp.

◆ parseMessage() [2/2]

bool MsgParserImpl::parseMessage ( const MessageRef  serialized_msg,
double &  timestamp 
)
inlineoverridevirtual

Implements PJ::MessageParser.

Definition at line 18 of file datatamer_parser.cpp.

Member Data Documentation

◆ schema_

DataTamerParser::Schema MsgParserImpl::schema_
private

Definition at line 50 of file datatamer_parser.cpp.

◆ timeseries_

std::vector<TimeSeries> MsgParserImpl::timeseries_
private

Definition at line 60 of file datatamer_parser.cpp.

◆ topic_name_

std::string MsgParserImpl::topic_name_
private

Definition at line 59 of file datatamer_parser.cpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:29