BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
BPMN::Activity Class Reference

Detailed Description

Definition at line 17378 of file bpmn++.h.

#include <bpmn++.h>

Inheritance diagram for BPMN::Activity:

Public Types

enum class  LoopCharacteristics { Standard , MultiInstanceSequential , MultiInstanceParallel }
 

Public Member Functions

 Activity (XML::bpmn::tActivity *activity, Scope *parent)
 
- Public Member Functions inherited from BPMN::FlowNode
 FlowNode (XML::bpmn::tFlowNode *flowNode, Scope *parent)
 
- Public Member Functions inherited from BPMN::ChildNode
 ChildNode (XML::bpmn::tBaseElement *element, Scope *parent)
 
- Public Member Functions inherited from BPMN::Node
 Node (XML::bpmn::tBaseElement *element)
 Constructs a Node object representing a BPMN process or flow node.
 
Nodefind (std::function< bool(Node *)> condition)
 Returns the first node found matching a given condition.
 
const Nodefind (std::function< bool(const Node *)> condition) const
 Returns the first node found matching a given condition.
 
std::vector< Node * > find_all (std::function< bool(Node *)> condition)
 Returns all nodes matching a given condition.
 
std::vector< const Node * > find_all (std::function< bool(const Node *)> condition) const
 Returns all nodes matching a given condition.
 
- Public Member Functions inherited from BPMN::BaseElement
 BaseElement (XML::bpmn::tBaseElement *element)
 Constructs a BaseElement object representing a BPMN element.
 
template<typename T >
T * is ()
 Attempts to return the element in the specified type T.
 
template<typename T >
const T * is () const
 Attempts to return the element in the specified type T.
 
template<typename T = XML::bpmn::tBaseElement>
T * get ()
 Casts the element to the specified type T.
 
template<typename T = XML::bpmn::tBaseElement>
const T * get () const
 Casts the element to the specified 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

std::vector< BoundaryEvent * > boundaryEvents
 
NodecompensatedBy
 Pointer to compensation activity or compensation event sub-process.
 
bool isForCompensation
 
std::optional< LoopCharacteristicsloopCharacteristics
 
XML::bpmn::tActivityelement
 
- Public Attributes inherited from BPMN::FlowNode
XML::bpmn::tFlowNodeelement
 
std::optional< std::string > name
 
std::vector< SequenceFlow * > incoming
 Vector containing all incoming sequence flows of the node.
 
std::vector< SequenceFlow * > outgoing
 Vector containing all outgoing sequence flows of the node.
 
- Public Attributes inherited from BPMN::ChildNode
Scopeparent
 Reference to the parent node.
 
- Public Attributes inherited from BPMN::Node
std::vector< MessageFlow * > receiving
 Vector containing all message flows going in to the node.
 
std::vector< MessageFlow * > sending
 Vector containing all message flows going out of the node.
 
- Public Attributes inherited from BPMN::BaseElement
XML::bpmn::tBaseElementelement
 
std::string id
 Id of element.
 
std::unique_ptr< ExtensionElementsextensionElements
 

Friends

class Model
 

Member Enumeration Documentation

◆ LoopCharacteristics

Enumerator
Standard 
MultiInstanceSequential 
MultiInstanceParallel 

Definition at line 17386 of file bpmn++.h.

Constructor & Destructor Documentation

◆ Activity()

BPMN::Activity::Activity ( XML::bpmn::tActivity * activity,
Scope * parent )

Friends And Related Symbol Documentation

◆ Model

friend class Model
friend

Definition at line 17379 of file bpmn++.h.

Member Data Documentation

◆ boundaryEvents

std::vector< BoundaryEvent* > BPMN::Activity::boundaryEvents

Definition at line 17383 of file bpmn++.h.

◆ compensatedBy

Node* BPMN::Activity::compensatedBy

Definition at line 17384 of file bpmn++.h.

◆ element

XML::bpmn::tActivity* BPMN::Activity::element

Definition at line 17389 of file bpmn++.h.

◆ isForCompensation

bool BPMN::Activity::isForCompensation

Definition at line 17385 of file bpmn++.h.

◆ loopCharacteristics

std::optional<LoopCharacteristics> BPMN::Activity::loopCharacteristics

Definition at line 17387 of file bpmn++.h.


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