Public Member Functions | Private Attributes | List of all members
IntrospectionParser Class Reference

#include <ros1_parser.h>

Inheritance diagram for IntrospectionParser:
Inheritance graph
[legend]

Public Member Functions

 IntrospectionParser (const std::string &topic_name, const std::string &topic_type, const std::string &definition, PJ::PlotDataMapRef &plot_data)
 
 IntrospectionParser (const std::string &topic_name, const std::string &topic_type, PlotDataMapRef &plot_data)
 
virtual bool parseMessage (MessageRef serialized_msg, double &timestamp) override
 
bool parseMessage (MessageRef serialized_msg, double &timestamp) override
 
- Public Member Functions inherited from Ros2MessageParser
 Ros2MessageParser (const std::string &topic_name, PJ::PlotDataMapRef &plot_data)
 
const rosidl_message_type_support_t * typeSupport () const
 
- Public Member Functions inherited from PJ::RosMessageParser
const RosParserConfiggetConfig () const
 
PJ::PlotDatagetSeries (const std::string &key)
 
PJ::StringSeriesgetStringSeries (const std::string &key)
 
 RosMessageParser (const std::string &topic_name, PJ::PlotDataMapRef &plot_data)
 
void setConfig (const RosParserConfig &config)
 
- Public Member Functions inherited from PJ::MessageParser
bool clampLargeArray () const
 
unsigned maxArraySize () const
 
 MessageParser (const std::string &topic_name, PlotDataMapRef &plot_data)
 
virtual void setLargeArraysPolicy (bool clamp, unsigned max_size)
 
virtual ~MessageParser ()=default
 

Private Attributes

RosIntrospection::FlatMessage _flat_msg
 
Ros2Introspection::FlatMessage _flat_msg
 
Ros2Introspection::Parser _intropection_parser
 
RosIntrospection::Parser _parser
 
RosIntrospection::RenamedValues _renamed
 

Additional Inherited Members

- Protected Member Functions inherited from PJ::MessageParser
PlotDatagetSeries (const std::string &key)
 
StringSeriesgetStringSeries (const std::string &key)
 
- Protected Attributes inherited from Ros2MessageParser
const rosidl_message_type_support_t * _type_support = nullptr
 
- Protected Attributes inherited from PJ::RosMessageParser
RosParserConfig _config
 
- Protected Attributes inherited from PJ::MessageParser
PlotDataMapRef_plot_data
 
std::string _topic_name
 

Detailed Description

Definition at line 35 of file ros1_parser.h.

Constructor & Destructor Documentation

◆ IntrospectionParser() [1/2]

IntrospectionParser::IntrospectionParser ( const std::string &  topic_name,
const std::string &  topic_type,
const std::string &  definition,
PJ::PlotDataMapRef plot_data 
)
inline

Definition at line 38 of file ros1_parser.h.

◆ IntrospectionParser() [2/2]

IntrospectionParser::IntrospectionParser ( const std::string &  topic_name,
const std::string &  topic_type,
PlotDataMapRef plot_data 
)
inline

Definition at line 74 of file ros2_parser.h.

Member Function Documentation

◆ parseMessage() [1/2]

bool IntrospectionParser::parseMessage ( MessageRef  serialized_msg,
double &  timestamp 
)
overridevirtual

Implements PJ::MessageParser.

Definition at line 12 of file ros1_parser.cpp.

◆ parseMessage() [2/2]

bool IntrospectionParser::parseMessage ( MessageRef  serialized_msg,
double &  timestamp 
)
overridevirtual

Implements PJ::MessageParser.

Member Data Documentation

◆ _flat_msg [1/2]

RosIntrospection::FlatMessage IntrospectionParser::_flat_msg
private

Definition at line 52 of file ros1_parser.h.

◆ _flat_msg [2/2]

Ros2Introspection::FlatMessage IntrospectionParser::_flat_msg
private

Definition at line 87 of file ros2_parser.h.

◆ _intropection_parser

Ros2Introspection::Parser IntrospectionParser::_intropection_parser
private

Definition at line 86 of file ros2_parser.h.

◆ _parser

RosIntrospection::Parser IntrospectionParser::_parser
private

Definition at line 51 of file ros1_parser.h.

◆ _renamed

RosIntrospection::RenamedValues IntrospectionParser::_renamed
private

Definition at line 53 of file ros1_parser.h.


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


plotjuggler_ros
Author(s): Davide Faconti
autogenerated on Fri Jun 23 2023 02:28:04