 |
helics
3.0.1
|
9 #include "TimeCoordinator.hpp"
14 std::tuple<FederateStates, MessageProcessingResult, bool>
15 processCoordinatorMessage(ActionMessage& cmd,
16 TimeCoordinator* timeCoord,
18 const bool timeGranted_mode,
19 const GlobalFederateId localID);
@ processed
the message was used to update the current state
bool returnableResult(MessageProcessingResult result)
Definition: CoreTypes.hpp:75
@ delay_processing
the message should be delayed and reprocessed later
constexpr GlobalBrokerId parent_broker_id
Definition: GlobalFederateId.hpp:60
@ iteration_requested_flag
indicator that an iteration has been requested
Definition: flagOperations.hpp:16
@ FORCE_ITERATION
force an iteration whether it is needed or not
bool checkActionFlag(uint16_t flags, FlagIndex flag)
Definition: flagOperations.hpp:85
@ ITERATING
indicator that the iterations need to continue
constexpr GlobalBrokerId root_broker_id
Definition: GlobalFederateId.hpp:62
constexpr uint16_t observer_flag
overload of optional_flag indicating that a federate is an observer only
Definition: flagOperations.hpp:43
IterationRequest
Definition: CoreTypes.hpp:89
@ DELAY_MESSAGE
delay the current message and continue processing
@ indicator_flag
flag used for setting values
Definition: flagOperations.hpp:21
@ ITERATE_IF_NEEDED
indicator that the iterations need to continue
@ HELICS_EXECUTING
the federation has entered execution state and it now advancing in time
Definition: CoreTypes.hpp:25
@ ERROR_RESULT
indicator that an error has occurred
@ HELICS_TERMINATING
the federate is in the process of shutting down
Definition: CoreTypes.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
FederateStates
Definition: CoreTypes.hpp:21
@ CONTINUE_PROCESSING
the current loop should continue
@ HALTED
indicator that the simulation has been halted
@ HELICS_ERROR
the federation has encountered an error
Definition: CoreTypes.hpp:27
MessageProcessingResult
Definition: CoreTypes.hpp:64
@ HELICS_INITIALIZING
Definition: CoreTypes.hpp:23
@ NO_ITERATIONS
indicator that the iterations have completed
@ HELICS_FINISHED
the federation has finished its execution
Definition: CoreTypes.hpp:28
@ NEXT_STEP
indicator that the iterations have completed