line_parser.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #include <QCheckBox>
6 #include <QDebug>
7 #include <string>
8 
10 {
11  Q_OBJECT
12  Q_PLUGIN_METADATA(IID "facontidavide.PlotJuggler3.ParserFactoryPlugin")
13  Q_INTERFACES(PJ::ParserFactoryPlugin)
14 
15 public:
16  ParserLine() = default;
17 
18  const char* name() const override
19  {
20  return "ParserLine";
21  }
22  const char* encoding() const override
23  {
24  return "Influx (Line protocol)";
25  }
26 
27  PJ::MessageParserPtr createParser(const std::string& topic_name,
28  const std::string& type_name,
29  const std::string& schema,
30  PJ::PlotDataMapRef& data) override;
31 };
ParserLine
Definition: line_parser.h:9
PJ::MessageParserPtr
std::shared_ptr< MessageParser > MessageParserPtr
Definition: messageparser_base.h:136
ParserLine::encoding
const char * encoding() const override
Definition: line_parser.h:22
sol::type_name
std::string type_name(lua_State *L, type t)
Definition: sol.hpp:8079
PJ::ParserFactoryPlugin
Definition: messageparser_base.h:139
ParserLine::ParserLine
ParserLine()=default
ParserLine::createParser
PJ::MessageParserPtr createParser(const std::string &topic_name, const std::string &type_name, const std::string &schema, PJ::PlotDataMapRef &data) override
Definition: line_parser.cpp:109
mqtt_test.data
dictionary data
Definition: mqtt_test.py:22
PJ::PlotDataMapRef
Definition: plotdata.h:34
messageparser_base.h
ParserLine::name
const char * name() const override
Name of the plugin type, NOT the particular instance.
Definition: line_parser.h:18


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44