Goby3  3.1.4
2024.02.22
goby::middleware::log::ProtobufPluginBase< scheme > Class Template Reference

Implements hooks for Protobuf metadata. More...

#include <goby/middleware/log/protobuf_log_plugin.h>

Inheritance diagram for goby::middleware::log::ProtobufPluginBase< scheme >:
goby::middleware::log::LogPlugin

Public Member Functions

 ProtobufPluginBase (bool user_pool_first)
 
std::string debug_text_message (LogEntry &log_entry) override
 
std::vector< goby::middleware::HDF5ProtobufEntryhdf5_entry (LogEntry &log_entry) override
 
std::shared_ptr< nlohmann::jsonjson_message (LogEntry &log_entry) override
 
void register_read_hooks (const std::ifstream &in_log_file) override
 
void register_write_hooks (std::ofstream &out_log_file) override
 
std::vector< std::shared_ptr< google::protobuf::Message > > parse_message (LogEntry &log_entry)
 
- Public Member Functions inherited from goby::middleware::log::LogPlugin
 LogPlugin ()
 
virtual ~LogPlugin ()
 

Detailed Description

template<int scheme>
class goby::middleware::log::ProtobufPluginBase< scheme >

Implements hooks for Protobuf metadata.

Definition at line 49 of file protobuf_log_plugin.h.

Constructor & Destructor Documentation

◆ ProtobufPluginBase()

template<int scheme>
goby::middleware::log::ProtobufPluginBase< scheme >::ProtobufPluginBase ( bool  user_pool_first)
inline

Definition at line 56 of file protobuf_log_plugin.h.

Member Function Documentation

◆ debug_text_message()

template<int scheme>
std::string goby::middleware::log::ProtobufPluginBase< scheme >::debug_text_message ( LogEntry log_entry)
inlineoverridevirtual

Reimplemented from goby::middleware::log::LogPlugin.

Definition at line 58 of file protobuf_log_plugin.h.

◆ hdf5_entry()

template<int scheme>
std::vector<goby::middleware::HDF5ProtobufEntry> goby::middleware::log::ProtobufPluginBase< scheme >::hdf5_entry ( LogEntry log_entry)
inlineoverridevirtual

Reimplemented from goby::middleware::log::LogPlugin.

Definition at line 72 of file protobuf_log_plugin.h.

◆ json_message()

template<int scheme>
std::shared_ptr<nlohmann::json> goby::middleware::log::ProtobufPluginBase< scheme >::json_message ( LogEntry log_entry)
inlineoverridevirtual

Reimplemented from goby::middleware::log::LogPlugin.

Definition at line 89 of file protobuf_log_plugin.h.

◆ parse_message()

template<int scheme>
std::vector<std::shared_ptr<google::protobuf::Message> > goby::middleware::log::ProtobufPluginBase< scheme >::parse_message ( LogEntry log_entry)
inline

Definition at line 133 of file protobuf_log_plugin.h.

◆ register_read_hooks()

template<int scheme>
void goby::middleware::log::ProtobufPluginBase< scheme >::register_read_hooks ( const std::ifstream &  in_log_file)
inlineoverridevirtual

Implements goby::middleware::log::LogPlugin.

Definition at line 107 of file protobuf_log_plugin.h.

◆ register_write_hooks()

template<int scheme>
void goby::middleware::log::ProtobufPluginBase< scheme >::register_write_hooks ( std::ofstream &  out_log_file)
inlineoverridevirtual

Implements goby::middleware::log::LogPlugin.

Definition at line 127 of file protobuf_log_plugin.h.


The documentation for this class was generated from the following file: