Class ObserverEvent#
Defined in Program listing for file control/src/utils/ObserverEvent.hpp
-
class ObserverEvent : public Event#
Events when the observer updates the state estimate.
Public Functions
-
inline ObserverEvent(double time, int name)#
constructor with time value as a parameter
- Parameters:
time – the starting time of the Event
name – the type of the Event
-
inline ~ObserverEvent()#
destructor
-
inline SP::Observer observer() const#
get the Observer linked to this Event
- Returns:
a SP::Observer to the Observer
-
inline void setObserverPtr(SP::Observer newObserver)#
set the Observer linked to this Event
- Parameters:
newObserver – the SP::Observer
-
void process(Simulation &sim)#
Call the capture method of the linked Observer.
- Parameters:
sim – a SP::Simulation (ignored).
-
inline ObserverEvent(double time, int name)#