mirror of
https://github.com/nasa/trick.git
synced 2025-03-11 06:54:12 +00:00
15 lines
416 B
C++
15 lines
416 B
C++
|
|
||
|
#include "sim_services/EventManager/include/EventInstrument.hh"
|
||
|
#include "sim_services/Executive/include/exec_proto.hh"
|
||
|
|
||
|
Trick::EventInstrument::EventInstrument(Trick::Event * in_event, Trick::JobData * in_target_job) :
|
||
|
InstrumentBase(in_target_job),
|
||
|
event(in_event) {}
|
||
|
|
||
|
// The instrument call processes the event.
|
||
|
int Trick::EventInstrument::call() {
|
||
|
event->process(exec_get_time_tics()) ;
|
||
|
return 0 ;
|
||
|
}
|
||
|
|