mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 23:36:43 +00:00
6c685d8400
* Fix formatting, grammar, and syntax Additionally, a sentence that referenced something that isn't used anywhere was removed. * Promote headers, Format stuff Many headers were far too deep. In some cases, the highest header was h4. To correct this, the offending headers were promoted once or twice as appropriate. Minor formatting changes were made, too. * Fixed an incorrect conversion constant. * Update library dependency explanation The old explanation was confusing and seemingly self contradicting in places. This new explanation aims to fix that. Co-authored-by: Matthew Elmer <m.elmer@mailbox.org>
1.2 KiB
1.2 KiB
Home → Documentation Home → Simulation Capabilities → Event Manager |
---|
This page describes the methods available in the Trick::EventManager and Trick::EventProcessor class. See Input_File for detailed information on the syntax of the input processor file.
User accessible routines
These commands are for adding and removing events from the Event Manager
Event * get_event() @endlink
int add_event( Trick::Event * in_event )
int add_event_after( Trick::Event * in_event, std::string target_name, unsigned int target_inst )
int add_event_before( Trick::Event * in_event, std::string target_name, unsigned int target_inst )
int remove_event( Trick::Event * in_event )
Event Processing Flow
The next set of flowcharts details how the %Trick Event Processor processes events.
Figure IP_1 Input Processor Event Processing
Each thread in the simulation has an event processing job.