 |
helics
3.3.0
|
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
@ indicator_flag
flag used for setting values
Definition: flagOperations.hpp:18
@ USER_RETURN
indicator that there was a return request but no other conditions or issues
bool returnableResult(MessageProcessingResult result)
Definition: CoreTypes.hpp:78
@ delay_processing
the message should be delayed and reprocessed later
@ TERMINATING
the federate is in the process of shutting down
constexpr GlobalBrokerId parent_broker_id
Definition: GlobalFederateId.hpp:64
@ FORCE_ITERATION
force an iteration whether it is needed or not
@ HALTED
indicator that the simulation has been halted
constexpr GlobalBrokerId gRootBrokerID
Definition: GlobalFederateId.hpp:66
IterationRequest
Definition: CoreTypes.hpp:92
@ ITERATING
indicator that the iterations need to continue
@ ITERATE_IF_NEEDED
indicator that the iterations need to continue
@ ERROR_RESULT
indicator that an error has occurred
@ CONTINUE_PROCESSING
the current loop should continue
@ observer_flag
flag indicating that a federate is an observer only
Definition: flagOperations.hpp:83
MessageProcessingResult
Definition: CoreTypes.hpp:64
@ 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
@ iteration_requested_flag
Definition: flagOperations.hpp:23
bool checkActionFlag(uint16_t flags, FlagIndex flag)
Definition: flagOperations.hpp:138
@ NEXT_STEP
indicator that the iterations have completed
@ EXECUTING
the federation has entered execution state and it now advancing in time
@ FINISHED
the federation has finished its execution
@ required_flag
flag indicating that an action or match is required
Definition: flagOperations.hpp:45
@ DELAY_MESSAGE
delay the current message and continue processing
@ NO_ITERATIONS
indicator that the iterations have completed
@ ERRORED
the federation has encountered an error
FederateStates
Definition: CoreTypes.hpp:21