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

Base class for an execution controller which dispatches events to the engine and listens to notification from the engine. More...

Detailed Description

Definition at line 15 of file Controller.h.

#include <Controller.h>

Inheritance diagram for BPMNOS::Execution::Controller:

Public Member Functions

 Controller ()
 
virtual ~Controller ()=default
 
virtual void connect (Mediator *mediator)
 
void notice (const Observable *observable) override
 
- Public Member Functions inherited from BPMNOS::Execution::Observer
- Public Member Functions inherited from BPMNOS::Execution::EventDispatcher
virtual ~EventDispatcher ()=default
 
virtual std::shared_ptr< EventdispatchEvent (const SystemState *systemState)=0
 
virtual void notice (Event *event)
 
- Public Member Functions inherited from BPMNOS::Execution::EventListener
void subscribe (EventDispatcher *eventDispatcher)
 
- Public Member Functions inherited from BPMNOS::Execution::Notifier
 Notifier ()
 
virtual ~Notifier ()=default
 
template<typename... ObservableTypes>
void addSubscriber (Observer *subscriber, ObservableTypes... observableTypes)
 
void notify (const Observable *observable) const
 
void notify (const Observable &observable) const
 

Additional Inherited Members

- Protected Member Functions inherited from BPMNOS::Execution::EventListener
std::shared_ptr< EventfetchEvent (SystemState *systemState)
 
- Protected Attributes inherited from BPMNOS::Execution::EventListener
std::vector< EventDispatcher * > eventDispatchers
 

Constructor & Destructor Documentation

◆ Controller()

Controller::Controller ( )

Definition at line 5 of file Controller.cpp.

◆ ~Controller()

virtual BPMNOS::Execution::Controller::~Controller ( )
virtualdefault

Member Function Documentation

◆ connect()

void Controller::connect ( Mediator * mediator)
virtual

Reimplemented from BPMNOS::Execution::EventDispatcher.

Reimplemented in BPMNOS::Execution::CPController, and BPMNOS::Execution::GreedyController.

Definition at line 9 of file Controller.cpp.

◆ notice()

void Controller::notice ( const Observable * observable)
overridevirtual

Implements BPMNOS::Execution::Observer.

Definition at line 22 of file Controller.cpp.


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