Message exporter interface.
More...
#include <exporter.h>
|
static std::unique_ptr< Exporter > | create (Encoding type, const ExporterOptions &opts=ExporterOptions::defaults) |
| Instantiate the right importer for the given type.
|
|
Message exporter interface.
◆ make_bulletin()
virtual std::unique_ptr< wreport::Bulletin > dballe::Exporter::make_bulletin |
( |
| ) |
const |
|
virtual |
◆ to_binary()
virtual std::string dballe::Exporter::to_binary |
( |
const std::vector< std::shared_ptr< Message > > & |
messages | ) |
const |
|
pure virtual |
Encode a message.
- Parameters
-
- Returns
- The resulting encoded data
◆ to_bulletin()
virtual std::unique_ptr< wreport::Bulletin > dballe::Exporter::to_bulletin |
( |
const std::vector< std::shared_ptr< Message > > & |
msgs | ) |
const |
|
virtual |
The documentation for this class was generated from the following file: