sgns::watcher::MessagingWatcher¶
#include <messaging_watcher.hpp>
Inherited by sgns::evmwatcher::EvmMessagingWatcher
Public Types¶
| Name | |
|---|---|
| using std::function< void(const std::string &)> | MessageCallback |
Public Functions¶
| Name | |
|---|---|
| virtual | ~MessagingWatcher() =default |
| virtual void | startWatching() |
| virtual void | stopWatching() |
| bool | isRunning() const |
| void | addWatcher(const std::shared_ptr< MessagingWatcher > & newWatcher) |
| void | startAll() |
| void | stopAll() |
Protected Functions¶
| Name | |
|---|---|
| MessagingWatcher(MessageCallback callback) | |
| virtual void | watch() |
Protected Attributes¶
| Name | |
|---|---|
| MessageCallback | messageCallback |
| bool | running |
| std::mutex | running_mutex |
| boost::thread | watcherThread |
Public Types Documentation¶
using MessageCallback¶
Public Functions Documentation¶
function ~MessagingWatcher¶
function startWatching¶
Reimplemented by: sgns::evmwatcher::EvmMessagingWatcher::startWatching
function stopWatching¶
Reimplemented by: sgns::evmwatcher::EvmMessagingWatcher::stopWatching
function isRunning¶
function addWatcher¶
function startAll¶
function stopAll¶
Protected Functions Documentation¶
function MessagingWatcher¶
function watch¶
Protected Attributes Documentation¶
variable messageCallback¶
variable running¶
variable running_mutex¶
variable watcherThread¶
Updated on 2026-03-04 at 13:10:44 -0800