ADTF
Loading...
Searching...
No Matches
filter_levelmachine.h
Go to the documentation of this file.
1
7#pragma once
8#include "filter_intf.h"
9
10namespace adtf
11{
12namespace streaming
13{
14namespace ant
15{
16
22class cFilterLevelmachine : public adtf::ucom::level_machine < cFilterLevelmachine,
23 IFilter::tFilterState,
24 IFilter::tFilterState::State_Shutdown >
25{
26 //friend class cFilterBase;
27
28protected:
40 virtual ~cFilterLevelmachine() = default;
41
42public:
67
68protected:
81
82protected:
83 tResult SetLevel(IFilter::tFilterState eLevel);
84
97
110 virtual tResult Start();
111
128 virtual tResult Stop();
129
143};
144
145} //namespace ant
146} //namespace streaming
147} //namespace adtf
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
tFilterState
Definition filter_intf.h:44
tResult InitStageNormal()
Internal StateMachine Event.
tResult ShutdownStageFirst()
Internal StateMachine Event.
cFilterLevelmachine()=default
CTOR Default.
cFilterLevelmachine(const cFilterLevelmachine &)=delete
deleted copy CTOR
tResult ShutdownStageNormal()
Internal StateMachine Event.
tInitStage
The Filters InitStages will be used for the cFilterLevelmachine::Init and cFilterLevelmachine::Shutdo...
Definition filter_levelmachine.h:45
@ StageGraphReady
Definition filter_levelmachine.h:63
@ StageNormal
Definition filter_levelmachine.h:55
@ StagePostConnect
Third Init Stage (Post Connect calls)
Definition filter_levelmachine.h:65
@ StagePreConnect
Second Init Stage (Pre Connect calls)
Definition filter_levelmachine.h:57
@ StageFirst
Definition filter_levelmachine.h:50
virtual tResult Init(cFilterLevelmachine::tInitStage eStage)
tResult InitStageFirst()
Internal StateMachine Event.
virtual tResult Shutdown(cFilterLevelmachine::tInitStage eStage)
virtual ~cFilterLevelmachine()=default
DTOR Default.
tResult InitStageReady()
Internal StateMachine Event.
tResult ShutdownStageReady()
Internal StateMachine Event.
cFilterLevelmachine & operator=(cFilterLevelmachine &&)=delete
deleted move operator
cFilterLevelmachine & operator=(const cFilterLevelmachine &)=delete
deleted copy operator
cFilterLevelmachine(cFilterLevelmachine &&)=delete
deleted move CTOR
Definition level_machine.h:26
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Definition bindingproxyoutport.h:16
Namespace for the ADTF Streaming SDK.
Definition bindingproxyinport.h:14
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14