BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
BestFirstExit.h
Go to the documentation of this file.
1#ifndef BPMNOS_Execution_BestFirstExit_H
2#define BPMNOS_Execution_BestFirstExit_H
3
4#include <bpmn++.h>
8
9namespace BPMNOS::Execution {
10
11/**
12 * @brief Class dispatching the best exit event for a token awaiting the exit at an activity.
13 */
14class BestFirstExit : public GreedyDispatcher< std::weak_ptr<const Token>, std::weak_ptr<const DecisionRequest> > {
15public:
17 void connect(Mediator* mediator) override;
18 void notice(const Observable* observable) override;
19};
20
21} // namespace BPMNOS::Execution
22
23#endif // BPMNOS_Execution_BestFirstExit_H
24
Class dispatching the best exit event for a token awaiting the exit at an activity.
void notice(const Observable *observable) override
BestFirstExit(Evaluator *evaluator)
void connect(Mediator *mediator) override
Represents an abstract base class for a pending Evaluator.
Definition Evaluator.h:15
Class for dispatching the event with the best evaluation.
Represents an abstract base class for a class that is an event listener and notifier.
Definition Mediator.h:13