BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
FirstMatchingMessageDelivery.h
Go to the documentation of this file.
1#ifndef BPMNOS_Execution_FirstMatchingMessageDelivery_H
2#define BPMNOS_Execution_FirstMatchingMessageDelivery_H
3
4#include <bpmn++.h>
8
9namespace BPMNOS::Execution {
10
11/**
12 * @brief Class creating an entry event for a token awaiting the entry at a regular activity (i.e. not a job).
13 */
15public:
17 std::shared_ptr<Event> dispatchEvent( const SystemState* systemState ) override;
18 void connect(Mediator* mediator) override;
19 void notice(const Observable* observable) override;
20private:
21 auto_list< std::weak_ptr<const Token>, std::weak_ptr<const DecisionRequest>, auto_list< std::weak_ptr<const Message> >, const BPMNOS::Values > messageDeliveryRequests;
23};
24
25} // namespace BPMNOS::Execution
26
27#endif // BPMNOS_Execution_FirstMatchingMessageDelivery_H
28
Class creating an entry event for a token awaiting the entry at a regular activity (i....
std::shared_ptr< Event > dispatchEvent(const SystemState *systemState) override
void notice(const Observable *observable) override
A class representing the state that the execution or simulation of a given scenario is in.
Definition SystemState.h:21
List of tuples with automatic removal of tuples containing an expired weak_ptr.
Definition auto_list.h:15
Represents an abstract base class for a class that is an event listener and notifier.
Definition Mediator.h:13