#include <SHStatus.h>
Inheritance diagram for SH::Status:
Public Member Functions | |
virtual size_t | numSinkSpecs () const |
virtual size_t | numSourceSpecs () const |
virtual SinkEndpoint ** | getSinkSpecs ()=0 |
virtual SourceEndpoint ** | getSourceSpecs ()=0 |
Protected Member Functions | |
void | initSettings (const Status::Settings &orig) |
virtual bool | isActiveCapable () const |
virtual bool | isPassiveCapable () const |
virtual bool | isThroughCapable () const |
virtual bool | isConnected () const =0 |
virtual bool | isStreaming () const |
virtual bool | isInActiveMode () const |
virtual bool | isInPassiveMode () const |
virtual bool | isInThroughMode () const |
virtual void | setStreaming (bool yes) |
Change the settings of the _is_streaming flag. |
It reports the status of a stream handler to the graph manager. as well. The functions can be evaluated at any time while the stream handler object itself is valid. Usually this interface will be implemented by a subclass of stream handler.
|
Provide a list of valid sink endpoint specifications to the graph manager.
Implemented in SH::DataPopSinkSH, SH::DevNullSH, SH::DummyLayerSinkSH, SH::DummyLayerSourceSH, SH::DynMultiplierSH, SH::GstMpegDemuxSinkSH, SH::ConcatinizerSH, SH::FileSinkSH, SH::FileSourceSH, SH::PacketMultiplierSH, SH::RTPDecoderSH, SH::RTPEncoderSH, SH::RTPSinkSH, SH::RTPSourceSH, SH::NopIntegratedSH, SH::NopSinkSH, SH::NopSourceSH, SH::SendBlockSH, SH::ActiveSH, SH::PushPullSH, SH::PullResizeSH, and SH::SubGraphSH.
|
|
Provide a list of valid source endpoint specifications to the graph manager.
Implemented in SH::DataPopSinkSH, SH::DevNullSH, SH::DummyLayerSinkSH, SH::DummyLayerSourceSH, SH::DynMultiplierSH, SH::GstMpegDemuxSinkSH, SH::ConcatinizerSH, SH::FileSinkSH, SH::FileSourceSH, SH::PacketMultiplierSH, SH::RTPDecoderSH, SH::RTPEncoderSH, SH::RTPSinkSH, SH::RTPSourceSH, SH::NopIntegratedSH, SH::NopSinkSH, SH::NopSourceSH, SH::SendBlockSH, SH::ActiveSH, SH::PushPullSH, SH::PullResizeSH, and SH::SubGraphSH.
|
|
Initialize the _settings member to save the subclass implementors some effort if they care. The settings field allows the definition of some return values below without overloading the functions. |
|
Indicate whether the stream handler is capable of pull and push activity (do the pumping).
|
|
Indicate whether a sufficient number of endpoints are connected for the stream handler to be active. Implemented in SH::DataPopSinkSH, SH::DevNullSH, SH::DummyLayerSinkSH, SH::DummyLayerSourceSH, SH::DynMultiplierSH, SH::GstMpegDemuxSinkSH, SH::ConcatinizerSH, SH::FileSinkSH, SH::FileSourceSH, SH::PacketMultiplierSH, SH::RTPDecoderSH, SH::RTPEncoderSH, SH::RTPSinkSH, SH::RTPSourceSH, SH::NopIntegratedSH, SH::NopSinkSH, SH::NopSourceSH, SH::SendBlockSH, SH::ActiveSH, SH::PushPullSH, SH::PullResizeSH, and SH::SubGraphSH.
|
|
Returns true if the stream handler is in active mode. The stream handler is not necessarily streaming (yet/ any more). |
|
Returns true if the stream handler in passive mode. The stream handler is not necessarily streaming (yet/ any more). |
|
Returns true if the stream handler in through mode. The stream handler is not necessarily streaming (yet/ any more). |
|
Indicate whether the stream handler can operate in passive mode (ie queue data). |
|
Indicate whether the stream handler is currently part of an active graph.
|
|
Indicate whether the stream handler can forward its neighbours activity immediately if called. |
|
Indicate the number of available sink endpoint specifications. |
|
Indicate the number of available source endpoint specifications. |
|
Change the settings of the _is_streaming flag.
|