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";
31 const std::string& schema,
41 Ui::ProtobufLoader*
ui;
45 std::unique_ptr<google::protobuf::compiler::Importer>
_importer;
52 std::map<QString,const google::protobuf::Descriptor*>
descriptors;
76 #endif // PROTOBUF_FACTORY_H MessageParserPtr createParser(const std::string &topic_name, const std::string &type_name, const std::string &schema, PlotDataMapRef &data) override
~ParserFactoryProtobuf() override
google::protobuf::compiler::DiskSourceTree _source_tree
std::shared_ptr< MessageParser > MessageParserPtr
const char * name() const override
Name of the plugin type, NOT the particular instance.
void importFile(QString filename)
std::string type_name(lua_State *L, type t)
std::unique_ptr< google::protobuf::compiler::Importer > _importer
const char * encoding() const override
QWidget * optionsWidget() override
optionsWidget pointer to a persistent widget used to set the plugin options .
std::map< QString, const google::protobuf::Descriptor * > descriptors
void onIncludeDirectory()
const google::protobuf::FileDescriptor * file_descriptor
void onComboChanged(const QString &text)