salsa
0.7.1
|
Base PublisherZmq class. More...
#include <PublisherZmq.hh>
Public Member Functions | |
PublisherZmq (std::string url=">tcp://localhost:1234") | |
virtual | ~PublisherZmq () |
virtual void | publish (std::string id, std::string name, std::string data, bool forcePublish=false) |
Publish TODO publish what? More... | |
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. | |
Private Attributes | |
zsock_t * | mpSocket = nullptr |
Socket that... does stuff... | |
Static Private Attributes | |
static std::shared_ptr< spdlog::logger > | mspConsoleLogger = spdlog::stdout_color_mt("salsa") |
Pointer to spd logger. | |
Base PublisherZmq class.
Definition at line 17 of file PublisherZmq.hh.
Salsa::PublisherZmq::PublisherZmq | ( | std::string | url = ">tcp://localhost:1234" | ) |
Constructor
Definition at line 4 of file PublisherZmq.cc.
References mpSocket, and Salsa::Publisher::url().
|
virtual |
|
virtual |
Publish TODO publish what?
Publish function
Implements Salsa::Publisher.
Definition at line 22 of file PublisherZmq.cc.
References mpSocket.