Public Types | Public Member Functions | Private Member Functions | Private Attributes
RosMessageParser Class Reference

#include <ros_parser.h>

Inheritance diagram for RosMessageParser:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::unordered_map
< std::string, std::unique_ptr
< RosParserBase > > 
ParsersMap

Public Member Functions

void addRules (const RosIntrospection::SubstitutionRuleMap &rules)
void clear ()
virtual void extractData (PlotDataMapRef &destination, const std::string &prefix) override
virtual const
std::unordered_set
< std::string > & 
getCompatibleKeys () const override
void pushMessageRef (const std::string &topic_name, const MessageRef &msg, double timestamp) override
bool registerSchema (const std::string &topic_name, const std::string &md5sum, RosIntrospection::ROSType type, const std::string &definition)
 RosMessageParser ()
void setMaxArrayPolicy (size_t max_array_size, bool discard_entire_array)
void showWarnings ()

Private Member Functions

double extractRealValue (const RosIntrospection::Variant &value, const std::string &item_name)

Private Attributes

ParsersMap _builtin_parsers
bool _discard_large_array
std::unique_ptr
< RosIntrospection::Parser
_introspection_parser
uint32_t _max_array_size
PlotDataMapRef _plot_map
std::unordered_set< std::string > _registered_md5sum
std::unordered_set< std::string > _warn_cancellation
std::unordered_set< std::string > _warn_max_arraysize
bool _warnings_enabled

Detailed Description

Definition at line 7 of file ros_parser.h.


Member Typedef Documentation

typedef std::unordered_map<std::string, std::unique_ptr<RosParserBase> > RosMessageParser::ParsersMap

Definition at line 47 of file ros_parser.h.


Constructor & Destructor Documentation

Definition at line 10 of file ros_parser.cpp.


Member Function Documentation

Definition at line 17 of file ros_parser.h.

Definition at line 14 of file ros_parser.cpp.

void RosMessageParser::extractData ( PlotDataMapRef destination,
const std::string &  prefix 
) [override, virtual]

Implements MessageParser.

Definition at line 240 of file ros_parser.cpp.

double RosMessageParser::extractRealValue ( const RosIntrospection::Variant value,
const std::string &  item_name 
) [private]

Definition at line 24 of file ros_parser.cpp.

virtual const std::unordered_set<std::string>& RosMessageParser::getCompatibleKeys ( ) const [inline, override, virtual]

Implements MessageParser.

Definition at line 32 of file ros_parser.h.

void RosMessageParser::pushMessageRef ( const std::string &  topic_name,
const MessageRef msg,
double  timestamp 
) [override, virtual]

Implements MessageParser.

Definition at line 104 of file ros_parser.cpp.

bool RosMessageParser::registerSchema ( const std::string &  topic_name,
const std::string &  md5sum,
RosIntrospection::ROSType  type,
const std::string &  definition 
)

Definition at line 83 of file ros_parser.cpp.

void RosMessageParser::setMaxArrayPolicy ( size_t  max_array_size,
bool  discard_entire_array 
)

Definition at line 58 of file ros_parser.cpp.

Definition at line 215 of file ros_parser.cpp.


Member Data Documentation

Definition at line 54 of file ros_parser.h.

Definition at line 58 of file ros_parser.h.

Definition at line 51 of file ros_parser.h.

Definition at line 56 of file ros_parser.h.

Definition at line 52 of file ros_parser.h.

std::unordered_set<std::string> RosMessageParser::_registered_md5sum [private]

Definition at line 50 of file ros_parser.h.

std::unordered_set<std::string> RosMessageParser::_warn_cancellation [private]

Definition at line 60 of file ros_parser.h.

std::unordered_set<std::string> RosMessageParser::_warn_max_arraysize [private]

Definition at line 61 of file ros_parser.h.

Definition at line 57 of file ros_parser.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Wed Jul 3 2019 19:28:06