Go to the documentation of this file.
10 #include <QApplication>
37 :
_ptr(reinterpret_cast<const uint8_t*>(first_ptr)),
_size(
size)
42 :
_ptr(reinterpret_cast<const uint8_t*>(first_ptr)),
_size(
size)
51 const uint8_t*
data()
const
58 return const_cast<uint8_t*
>(
_ptr);
67 const uint8_t*
_ptr =
nullptr;
142 using Ptr = std::shared_ptr<ParserFactoryPlugin>;
147 virtual const char*
encoding()
const = 0;
153 const std::string& schema,
162 #define ParserFactoryPlugin_iid "facontidavide.PlotJuggler3.ParserFactoryPlugin"
virtual MessageParserPtr createParser(const std::string &topic_name, const std::string &type_name, const std::string &schema, PlotDataMapRef &data)=0
std::shared_ptr< MessageParser > MessageParserPtr
const uint8_t * data() const
MessageParser(const std::string &topic_name, PlotDataMapRef &plot_data)
MessageRef(const std::byte *first_ptr, size_t size)
std::string type_name(lua_State *L, type t)
virtual bool useEmbeddedTimestamp() const
unsigned maxArraySize() const
MessageRef(const std::vector< T > &vect)
The PlotJugglerPlugin is the base class of all the plugins.
PlotDataMapRef & _plot_data
virtual const char * encoding() const =0
virtual void enableEmbeddedTimestamp(bool enable)
MessageRef(const int8_t *first_ptr, size_t size)
The MessageParser is the base class used to parse a message with a specific encoding+schema.
MessageRef(const uint8_t *first_ptr, size_t size)
PlotData & getSeries(const std::string &key)
StringSeries & getStringSeries(const std::string &key)
virtual bool parseMessage(const MessageRef serialized_msg, double ×tamp)=0
PlotData & getOrCreateNumeric(const std::string &name, PlotGroup::Ptr group={})
std::shared_ptr< ParserFactoryPlugin > Ptr
bool _use_embedded_timestamp
#define ParserFactoryPlugin_iid
std::map< QString, std::shared_ptr< ParserFactoryPlugin > > ParserFactories
virtual void setLargeArraysPolicy(bool clamp, unsigned max_size)
StringSeries & getOrCreateStringSeries(const std::string &name, PlotGroup::Ptr group={})
bool clampLargeArray() const
virtual ~MessageParser()=default
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45