BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
BPMNOS::Model::Timer Class Reference

Class holding extension elements representing the trigger of timer events. More...

Detailed Description

Definition at line 16 of file Timer.h.

#include <Timer.h>

Inheritance diagram for BPMNOS::Model::Timer:

Public Member Functions

 Timer (XML::bpmn::tBaseElement *baseElement, BPMN::Scope *parent)
 
template<typename DataType >
BPMNOS::number earliest (const BPMNOS::Values &status, const DataType &data, const BPMNOS::Values &globals) const
 
- Public Member Functions inherited from BPMN::ExtensionElements
 ExtensionElements (XML::bpmn::tBaseElement *element)
 
template<class C , class T >
std::vector< std::reference_wrapper< T > > get ()
 Returns a vector of elements of type T embedded within a container of type T.
 
template<class C , class T >
std::vector< std::reference_wrapper< const T > > get () const
 Returns a vector of elements of type T embedded within a container of type T.
 
- Public Member Functions inherited from BPMN::Element
virtual ~Element ()=default
 
template<typename T >
T * represents ()
 Attempts to cast the element to the specified type T.
 
template<typename T >
const T * represents () const
 Attempts to cast the element to the specified type T.
 
template<typename T >
T * as ()
 Casts the element to the specified type T.
 
template<typename T >
const T * as () const
 Casts the element to the specified type T.
 

Public Attributes

const BPMN::Scopeparent
 
const AttributeRegistryattributeRegistry
 
std::unique_ptr< BPMNOS::Model::Parametertrigger
 
- Public Attributes inherited from BPMN::ExtensionElements
XML::bpmn::tExtensionElementselement
 
BaseElementbaseElement
 Reference to the base element the extension elements are bound to.
 

Constructor & Destructor Documentation

◆ Timer()

Timer::Timer ( XML::bpmn::tBaseElement * baseElement,
BPMN::Scope * parent )

Definition at line 9 of file Timer.cpp.

Member Function Documentation

◆ earliest()

template<typename DataType >
BPMNOS::number Timer::earliest ( const BPMNOS::Values & status,
const DataType & data,
const BPMNOS::Values & globals ) const

Definition at line 24 of file Timer.cpp.

Member Data Documentation

◆ attributeRegistry

const AttributeRegistry& BPMNOS::Model::Timer::attributeRegistry

Definition at line 20 of file Timer.h.

◆ parent

const BPMN::Scope* BPMNOS::Model::Timer::parent

Definition at line 19 of file Timer.h.

◆ trigger

std::unique_ptr<BPMNOS::Model::Parameter> BPMNOS::Model::Timer::trigger

Definition at line 21 of file Timer.h.


The documentation for this class was generated from the following files: