ignition/msgs/Factory.hh
STL class.
STL class.
static void Register(const std::string &_msgType, FactoryFn _factoryfn)
Register a message.
static void Types(std::vector< std::string > &_types)
Get all the message types.
std::unique_ptr< google::protobuf::Message >(* FactoryFn)()
Prototype for message factory generation.
Definition: ignition/msgs/Factory.hh:46
A factory that generates protobuf message based on a string type. This class will also try to load al...
Definition: ignition/msgs/Factory.hh:52
static std::unique_ptr< T > New(const std::string &_msgType)
Create a new instance of a message.
Definition: ignition/msgs/Factory.hh:65
static void LoadDescriptors(const std::string &_paths)
Load a collection of descriptor .desc files.
#define IGNITION_MSGS_VERSION_NAMESPACE
Definition: build/ignition-msgs8/include/ignition/msgs/config.hh:11
STL class.
static std::unique_ptr< T > New(const std::string &_msgType, const std::string &_args)
Create a new instance of a message.
Definition: ignition/msgs/Factory.hh:77