salsa  0.4.0
Salsa::Publisher Class Referenceabstract

Base Publisher class. More...

#include <Publisher.hh>

Inheritance diagram for Salsa::Publisher:
Salsa::Object Salsa::PublisherZmq

Public Member Functions

 Publisher (std::string url="")
 
virtual ~Publisher ()
 
virtual void publish (std::string id, std::string data)=0
 Publish TODO publish what?
 
std::string url () const
 Returns url.
 

Static Public Member Functions

static std::shared_ptr< spdlog::logger > getConsoleOutput ()
 Get console output.
 
static void setConsoleLevel (spdlog::level::level_enum level)
 Sets console log level.
 

Protected Attributes

std::string mURL
 Url to publish.
 

Detailed Description

Constructor & Destructor Documentation

◆ Publisher()

Salsa::Publisher::Publisher ( std::string  url = "")

Constructor

Definition at line 4 of file Publisher.cc.

◆ ~Publisher()

Salsa::Publisher::~Publisher ( )
virtual

Destructor

Definition at line 10 of file Publisher.cc.


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