salsa
0.3.0
|
Base PublisherZmq class
More...
#include <PublisherZmq.hh>
Public Member Functions | |
PublisherZmq (std::string url=">tcp://localhost:1234") | |
virtual | ~PublisherZmq () |
virtual void | publish (std::string group, std::string id, std::string data) |
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... | |
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 21 of file PublisherZmq.cc.
References mpSocket.