ADTF  3.18.2
cLegacyStateHandler

Common base class for all legacy filter classes that emulates the old state maschine of cFilter. More...

Inheritance diagram for cLegacyStateHandler:
[legend]

Public Types

enum  tInitStage { StageFirst = 0 , StageNormal = 1 , StageGraphReady = 2 }
 Old init stages.
 

Protected Member Functions

virtual tResult Init (tInitStage)
 Emulates the old Init method. More...
 
virtual tResult Start ()
 Emulates the old Start method. More...
 
virtual tResult Stop ()
 Emulates the old Stop method. More...
 
virtual tResult Shutdown (tInitStage)
 Emulates the old Shutdown method. More...
 

Detailed Description

Common base class for all legacy filter classes that emulates the old state maschine of cFilter.

Definition at line 282 of file legacy_filter.h.

Member Function Documentation

◆ Init()

virtual tResult Init ( tInitStage  )
inlineprotectedvirtual

Emulates the old Init method.

Parameters
[in]eStageThe initialization stage.
Returns
Standard result.

Reimplemented in cLegacyStreamingSource, and cLegacyStreamingSink.

Definition at line 301 of file legacy_filter.h.

References RETURN_NOERROR.

◆ Shutdown()

virtual tResult Shutdown ( tInitStage  )
inlineprotectedvirtual

Emulates the old Shutdown method.

Parameters
[in]eStageThe initialization stage.
Returns
Standard result.

Reimplemented in cLegacyStreamingSource, and cLegacyStreamingSink.

Definition at line 329 of file legacy_filter.h.

References RETURN_NOERROR.

◆ Start()

virtual tResult Start ( )
inlineprotectedvirtual

Emulates the old Start method.

Returns
Standard result.

Reimplemented in cLegacyStreamingSource, and cLegacyStreamingSink.

Definition at line 310 of file legacy_filter.h.

References RETURN_NOERROR.

◆ Stop()

virtual tResult Stop ( )
inlineprotectedvirtual

Emulates the old Stop method.

Returns
Standard result.

Reimplemented in cLegacyStreamingSource, and cLegacyStreamingSink.

Definition at line 319 of file legacy_filter.h.

References RETURN_NOERROR.