 |
helics
2.8.1
|
9 #include "TimeCoordinator.hpp"
14 std::tuple<federate_state, message_processing_result, bool>
15 processCoordinatorMessage(ActionMessage& cmd,
16 TimeCoordinator* timeCoord,
18 const bool timeGranted_mode,
19 const global_federate_id localID);
@ processed
the message was used to update the current state
@ HELICS_INITIALIZING
Definition: core-types.hpp:24
@ delay_processing
the message should be delayed and reprocessed later
iteration_request
Definition: core-types.hpp:90
constexpr global_broker_id parent_broker_id
Definition: global_federate_id.hpp:60
federate_state
Definition: core-types.hpp:22
@ error
indicator that an error has occurred
bool returnableResult(message_processing_result result)
Definition: core-types.hpp:75
@ force_iteration
force an iteration whether it is needed or not
@ iteration_requested_flag
indicator that an iteration has been requested
Definition: flagOperations.hpp:16
bool checkActionFlag(uint16_t flags, FlagIndex flag)
Definition: flagOperations.hpp:75
message_processing_result
Definition: core-types.hpp:65
@ halted
indicator that the simulation has been halted
@ continue_processing
the current loop should continue
@ iterate_if_needed
indicator that the iterations need to continue
@ no_iterations
indicator that the iterations have completed
@ indicator_flag
flag used for setting values
Definition: flagOperations.hpp:21
@ HELICS_ERROR
the federation has encountered an error
Definition: core-types.hpp:28
@ HELICS_TERMINATING
the federate is in the process of shutting down
Definition: core-types.hpp:27
@ HELICS_EXECUTING
the federation has entered execution state and it now advancing in time
Definition: core-types.hpp:26
@ no_effect
the message did not result in an update
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14
@ required_flag
flag indicating that an action or match is required
Definition: flagOperations.hpp:18
@ HELICS_FINISHED
the federation has finished its execution
Definition: core-types.hpp:29
constexpr global_broker_id root_broker_id
Definition: global_federate_id.hpp:62
@ next_step
indicator that the iterations have completed
@ iterating
indicator that the iterations need to continue
@ delay_message
delay the current message and continue processing