10 #ifndef DtEventView_H_
11 #define DtEventView_H_
18 #include <boost/bind.hpp>
42 template <
class EventType>
83 template<
class EventType>
115 #define DtEventView_INL_
116 #include <vrvCore/DtEventView.inl>
117 #undef DtEventView_INL_
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
DtEventSignaler(DtSimData &)
CTOR.
virtual ~DtEventSignaler()
The DtSimData is the repository for simulation specific, read only data. The DtSimData has a map of D...
Definition: DtSimData.h:32
A DtSimEventEntry is an entry for a event like an interaction.
Definition: DtSimEventEntry.h:22
static DtEventSignaler & instance(DtSimData &)
Get the Event view for a particular class from the Sim data object. Internally the instance reference...
void connectToEventTriggeredSignal()
Connects to DtSimData::signal_simEventTriggered.
Contains makVrv::DtDe class.
virtual ~DtEventView()
DTOR.
void disconnectFromEventTriggeredSignal()
Disconnects from DtSimData::signal_simEventTriggered.
void disconnectFromEventTriggeredSignal()
Disconnects from DtSimData::signal_simEventTriggered.
Contains makVrv::DtSimEventEntry class.
unsigned int myReferenceCount
Definition: DtEventView.h:78
boost::signalslib::signal< void(const EventType &)> signal_eventTriggered
Emit the event's state.
Definition: DtEventView.h:61
void connectToEventTriggeredSignal()
Connects to DtSimData::signal_simEventTriggered.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Definition: DtEventView.h:43
A DtBaseEventView is a the base class for all DtEventView's.
Definition: DtEventView.h:26
DtDe & myDe
Definition: DtEventView.h:110
static void release(DtSimData &)
Called whenever the signaler is no longer needed, Internally the instance reference is decreased...
DtSimData & mySimData
Definition: DtEventView.h:77
DtEventView(DtDe &de)
CTOR.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
void onEventTriggered(const DtSimEventEntry &entry)
This will get called by the DtSimEntry when the state for this event received. This emits a signal co...
A DtEventView is a the interface to event state information. Users can create DtEventView's to receiv...
Definition: DtEventView.h:84
Contains makVrv::DtDataBank class.
boost::signalslib::signal< void(const EventType &)> signal_eventTriggered
Emit the event's state.
Definition: DtEventView.h:96
void onEventTriggered(const EventType &entry)
This will get called by the DtSimEntry when the state for this event received. This emits a signal co...
Contains DLL export macros.