|
salsa
0.4.15
|
#include <Publisher.hh>
Public Member Functions | |
| Publisher (std::string url="") | |
| virtual | ~Publisher () |
| virtual void | publish (std::string id, std::string name, 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. | |
Static Private Attributes | |
| static std::shared_ptr< spdlog::logger > | mspConsoleLogger = spdlog::stdout_color_mt("salsa") |
| Pointer to spd logger. | |
Base Publisher class.
Definition at line 14 of file Publisher.hh.
| Salsa::Publisher::Publisher | ( | std::string | url = "" | ) |
Constructor
Definition at line 4 of file Publisher.cc.
|
virtual |
Destructor
Definition at line 10 of file Publisher.cc.