libdballe
7.6
|
Public Member Functions | |
WRImporter (const Options &opts) | |
Messages | from_bulletin (const wreport::Bulletin &msg) const override |
Import a decoded BUFR/CREX message. | |
bool | foreach_decoded_bulletin (const wreport::Bulletin &msg, std::function< bool(std::unique_ptr< Message > &&)> dest) const |
Decode a message from its decoded bulletin, calling dest on each resulting Msg. More... | |
![]() | |
Importer (const Options &opts) | |
Messages | from_binary (const BinaryMessage &msg) const |
Decode a message from its raw encoded representation. More... | |
virtual bool | foreach_decoded (const BinaryMessage &msg, std::function< bool(std::unique_ptr< Message > &&)> dest) const =0 |
Decode a message from its raw encoded representation, calling dest on each resulting Message. More... | |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< Importer > | create (File::Encoding type, const Options &opts=Options()) |
Instantiate the right importer for the given type. | |
![]() | |
Options | opts |
bool dballe::msg::WRImporter::foreach_decoded_bulletin | ( | const wreport::Bulletin & | msg, |
std::function< bool(std::unique_ptr< Message > &&)> | dest | ||
) | const |
Decode a message from its decoded bulletin, calling dest on each resulting Msg.
Return false from dest to stop decoding.
rmsg | Encoded message. |
dest | The function that consumes the decoded messages. |