Go to the documentation of this file. 1 #ifndef PROTOBUF_FACTORY_H
2 #define PROTOBUF_FACTORY_H
7 #include "ui_protobuf_parser.h"
12 Q_PLUGIN_METADATA(IID
"facontidavide.PlotJuggler3.ParserFactoryPlugin")
20 const char*
name()
const override
22 return "ParserFactoryProtobuf";
30 const std::string&
type_name,
const std::string& schema,
39 Ui::ProtobufLoader*
ui;
43 std::unique_ptr<google::protobuf::compiler::Importer>
_importer;
50 std::map<QString, const google::protobuf::Descriptor*>
descriptors;
73 #endif // PROTOBUF_FACTORY_H
std::shared_ptr< MessageParser > MessageParserPtr
std::unique_ptr< google::protobuf::compiler::Importer > _importer
const google::protobuf::FileDescriptor * file_descriptor
void importFile(QString filename)
const char * encoding() const override
std::string type_name(lua_State *L, type t)
const char * name() const override
Name of the plugin type, NOT the particular instance.
~ParserFactoryProtobuf() override
void onComboChanged(const QString &text)
void onIncludeDirectory()
google::protobuf::compiler::DiskSourceTree _source_tree
std::map< QString, const google::protobuf::Descriptor * > descriptors
MessageParserPtr createParser(const std::string &topic_name, const std::string &type_name, const std::string &schema, PlotDataMapRef &data) override
QWidget * optionsWidget() override
optionsWidget pointer to a persistent widget used to set the plugin options .
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45