ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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:
57
58protected:
71
72protected:
73 tResult SetLevel(IFilter::tFilterState eLevel);
74
87
100 virtual tResult Start();
101
118 virtual tResult Stop();
119
133};
134
135} //namespace ant
136} //namespace streaming
137} //namespace adtf
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
tFilterState
specifies the several types of filter states
Definition filter_intf.h:44
virtual tResult Stop()
Implements the default cFilterLevelmachine state machine calls.
tResult ShutdownStageNormal()
Internal StateMachine Event.
tInitStage
The Filters InitStages will be used for the cFilterLevelmachine::Init and cFilterLevelmachine::Shutdo...
@ StagePreConnect
Second Init Stage (Pre Connect calls)
@ StagePostConnect
Third Init Stage (Post Connect calls)
@ StageNormal
Second Init Stage (Pre Connect calls), passed when reaching state State_Initialized.
@ StageFirst
Very First Init Stage, passed when reaching state State_Constructed.
@ StageGraphReady
Third Init Stage (Post Connect calls), passed when reaching state State_Ready.
cFilterLevelmachine(cFilterLevelmachine &&)=delete
deleted move CTOR
tResult InitStageReady()
Internal StateMachine Event.
tResult ShutdownStageFirst()
Internal StateMachine Event.
cFilterLevelmachine & operator=(const cFilterLevelmachine &)=delete
deleted copy operator
virtual tResult Init(cFilterLevelmachine::tInitStage eStage)
Implements the default cFilterLevelmachine state machine call.
cFilterLevelmachine(const cFilterLevelmachine &)=delete
deleted copy CTOR
cFilterLevelmachine & operator=(cFilterLevelmachine &&)=delete
deleted move operator
cFilterLevelmachine()=default
CTOR Default.
tResult ShutdownStageReady()
Internal StateMachine Event.
virtual tResult Start()
Implements the default cFilterLevelmachine state machine calls.
virtual ~cFilterLevelmachine()=default
DTOR Default.
tResult InitStageFirst()
Internal StateMachine Event.
virtual tResult Shutdown(cFilterLevelmachine::tInitStage eStage)
Implements the default cFilterLevelmachine state machine call.
tResult InitStageNormal()
Internal StateMachine Event.
Generator template to create a Basic Level Machine implmentation.
Copyright © Audi Electronics Venture GmbH.
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Namespace for the ADTF Streaming SDK.
Namespace for entire ADTF SDK.