BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
Timer.h
Go to the documentation of this file.
1#ifndef BPMNOS_Model_Timer_H
2#define BPMNOS_Model_Timer_H
3
4#include <memory>
5#include <vector>
6#include <string>
7#include <bpmn++.h>
8#include "Parameter.h"
10
11namespace BPMNOS::Model {
12
13/**
14 * @brief Class holding extension elements representing the trigger of timer events
15 **/
17public:
21 std::unique_ptr<BPMNOS::Model::Parameter> trigger;
22
23 template <typename DataType>
24 BPMNOS::number earliest(const BPMNOS::Values& status, const DataType& data, const BPMNOS::Values& globals) const;
25};
26
27} // namespace BPMNOS::Model
28
29#endif // BPMNOS_Model_Timer_H
Class holding extension elements representing the trigger of timer events.
Definition Timer.h:16
BPMNOS::number earliest(const BPMNOS::Values &status, const DataType &data, const BPMNOS::Values &globals) const
Definition Timer.cpp:24
Timer(XML::bpmn::tBaseElement *baseElement, BPMN::Scope *parent)
Definition Timer.cpp:9
const BPMN::Scope * parent
Definition Timer.h:19
const AttributeRegistry & attributeRegistry
Definition Timer.h:20
std::unique_ptr< BPMNOS::Model::Parameter > trigger
Definition Timer.h:21
Base class for extension elements that may be provided for a BPMN element.
Definition bpmn++.h:16358
BaseElement * baseElement
Reference to the base element the extension elements are bound to.
Definition bpmn++.h:16391
Base class for BPMN elements that may contain a ChildNode elements.
Definition bpmn++.h:16510
BPMNOS_NUMBER_TYPE number
Definition Number.h:42