12 #include <json/json.h>
13 #include <tbb/spin_mutex.h>
14 #include <boost/signals2.hpp>
19 namespace makVrfEvents
tbb::spin_mutex myQueueMutex
Definition: objectConsoleSender.h:49
DtIInteractionTypeSender - Abstract interface for a single interaction type sub-sender.
Definition: iInteractionTypeSender.h:26
The DtEventManager handles the sending and receipt of system events (fire, detonate, command, etc). It provides a thread-safe way for the sim engine to send and receive such events, between both components within this sim engine and other remote applications.
Definition: eventManager.h:33
void onCommentEvent(const makVrfEvents::DtEvent &event)
~DtObjectConsoleEventSource() override=default
std::shared_ptr< DtIInteractionEventSource > eventSource() const override
Returns the event source for registration with DtInteractionProcessor.
Definition: objectConsoleSender.h:74
std::vector< Json::Value > drainFiltered(DtWebLvcClientSession &session) override
Drain events from the owned source, apply filtering against session, and return the JSON records that...
std::vector< Json::Value > myPendingEvents
Definition: objectConsoleSender.h:50
DtObjectConsoleEventSource()=default
void subscribe(makVrfEvents::DtEventManager *em) override
Subscribe to relevant signals on em. Called once by DtInteractionProcessor::initialize().
boost::signals2::connection myCommentConnection
Definition: objectConsoleSender.h:52
DtObjectConsoleEventSource - Subscribes to VRF comment (Object Console) signals, serializes events to...
Definition: objectConsoleSender.h:34
std::vector< Json::Value > drainEvents()
Atomically swap-and-return all pending Object Console event records.
~DtObjectConsoleSender() override=default
std::shared_ptr< DtObjectConsoleEventSource > myEventSource
Definition: objectConsoleSender.h:79
DtObjectConsoleSender - Filters and delivers ObjectConsoleMessage interactions for one WebSocket conn...
Definition: objectConsoleSender.h:67
void unsubscribe() override
Disconnect all signal subscriptions. Called once by DtInteractionProcessor::shutdown().
WebLVC Client Session - Tracks state for each connected client per SISO-STD-017-2022 Section 5...
Definition: webLVCClientSession.h:28
DtIInteractionEventSource - Abstract interface for a per-interaction-type event collector.
Definition: iInteractionEventSource.h:27