VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
DtObjectConsoleSender Class Reference

DtObjectConsoleSender - Filters and delivers ObjectConsoleMessage interactions for one WebSocket connection.

Owns a DtObjectConsoleEventSource that handles signal subscription and serialization. Filtering rule:

Include if the sender UUID is in session.knownObjects, or if the session is unfiltered (no session key, or a non-Player session type).

Inheritance diagram for DtObjectConsoleSender:
Inheritance graph
[legend]

Public Member Functions

 DtObjectConsoleSender ()
 
 ~DtObjectConsoleSender () override=default
 
std::shared_ptr
< DtIInteractionEventSource > 
eventSource () const override
 
std::vector< Json::Value > drainFiltered (DtWebLvcClientSession &session) override
 
- Public Member Functions inherited from DtIInteractionTypeSender
virtual ~DtIInteractionTypeSender ()=default
 

Private Attributes

std::shared_ptr
< DtObjectConsoleEventSource > 
myEventSource
 

Constructor & Destructor Documentation

DtObjectConsoleSender::DtObjectConsoleSender ( )
DtObjectConsoleSender::~DtObjectConsoleSender ( )
overridedefault

Member Function Documentation

std::shared_ptr<DtIInteractionEventSource> DtObjectConsoleSender::eventSource ( ) const
inlineoverridevirtual

Returns the event source for registration with DtInteractionProcessor.

Reimplemented from DtIInteractionTypeSender.

References myEventSource.

std::vector<Json::Value> DtObjectConsoleSender::drainFiltered ( DtWebLvcClientSession &  session)
overridevirtual

Drain events from the owned source, apply filtering against session, and return the JSON records that should be sent to this client.

Parameters
sessionPer-connection session. Implementors must acquire session.mutex before reading session.knownObjects.
Returns
Zero or more JSON interaction records.

Implements DtIInteractionTypeSender.

Member Data Documentation

std::shared_ptr<DtObjectConsoleEventSource> DtObjectConsoleSender::myEventSource
private

Referenced by eventSource().


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)