SOLA
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
sola::LoggerInterface Class Referenceabstract

#include <logger_interface.h>

Inheritance diagram for sola::LoggerInterface:
daisi::sola_ns3::SolaLoggerNs3

Public Member Functions

 LoggerInterface (std::string uuid)
 
virtual void logSubscribeTopic (const std::string &topic) const =0
 
virtual void logUnsubscribeTopic (const std::string &topic) const =0
 
virtual void logPublishTopicMessage (const sola::TopicMessage &msg) const =0
 
virtual void logReceiveTopicMessage (const sola::TopicMessage &msg) const =0
 
virtual void logMessageIDMapping (const solanet::UUID &sola_msg_uuid, const solanet::UUID &ed_msg_uuid) const =0
 
virtual void setApplicationUUID (const std::string &app_uuid)=0
 

Protected Attributes

std::string uuid_
 

Detailed Description

Interface for loggers. Inherit from this to implement your own logger.

Member Function Documentation

◆ logMessageIDMapping()

virtual void sola::LoggerInterface::logMessageIDMapping ( const solanet::UUID &  sola_msg_uuid,
const solanet::UUID &  ed_msg_uuid 
) const
pure virtual

Log mapping between SOLA message ID and message ID of underlying event dissemination. Might not be required for all event dissemination implementations.

Implemented in daisi::sola_ns3::SolaLoggerNs3.

◆ setApplicationUUID()

virtual void sola::LoggerInterface::setApplicationUUID ( const std::string &  app_uuid)
pure virtual

Set the UUID used for identifying application nodes. Used for loggers which are initialized before node starts.

Parameters
app_uuidapplication uuid

Implemented in daisi::sola_ns3::SolaLoggerNs3.


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