Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SH::GstMpegDemuxSinkSH Class Reference
[StreamHandlers]

#include <GstMpegDemuxSH.h>

Inheritance diagram for SH::GstMpegDemuxSinkSH:

Inheritance graph
[legend]
Collaboration diagram for SH::GstMpegDemuxSinkSH:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { SIGNAL_HANDOFF, LAST_SIGNAL }
enum  PipeCmd { Start, Stop, Terminate }

Public Member Functions

 GstMpegDemuxSinkSH (SHGraphManager *mgr, u_int32_t runtimeId, MNSelector &sel)
virtual ~GstMpegDemuxSinkSH ()
virtual SH_RC initSH ()
virtual SH_RC uninitSH ()
virtual SH_RC stopStreaming ()
SH_RC push_to_pipe (DataPtr item)
virtual void pushReport (Report *report, Direction d)
virtual SinkEndpoint ** getSinkSpecs ()
virtual SourceEndpoint ** getSourceSpecs ()
virtual bool isConnected () const

Public Attributes

MpegDemuxVideoPlayPipe _p
NeighThread< MpegDemuxVideoPlayPipe_pt

Static Public Attributes

GTypeInfo _info
GstElementDetails _details
guint _signals [LAST_SIGNAL]

Protected Attributes

SinkEndpoint_in_ep_a [1]
GstMpegDemuxSinkEndpoint _inEP

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
SIGNAL_HANDOFF 
LAST_SIGNAL 

enum SH::GstMpegDemuxSinkSH::PipeCmd
 

Enumeration values:
Start 
Stop 
Terminate 


Constructor & Destructor Documentation

SH::GstMpegDemuxSinkSH::GstMpegDemuxSinkSH SHGraphManager mgr,
u_int32_t  runtimeId,
MNSelector sel
 

virtual SH::GstMpegDemuxSinkSH::~GstMpegDemuxSinkSH  )  [virtual]
 


Member Function Documentation

virtual SinkEndpoint** SH::GstMpegDemuxSinkSH::getSinkSpecs  )  [virtual]
 

Provide a list of valid sink endpoint specifications to the graph manager.
getSinkPorts() is called by the graph manager and returns an array of pointers to EndpointSpec structures, or NULL if no endpoints in this direction are supported. It is typical that the length of such an array is 1, because several alternatives are specified by one EndpointSpec object, and the maximum number of identical Endpoints is a parameter of the EndpointSpec as well. The maximum number of endpoints may be dynamic, e.g. in an RTP source SH, new SSRCs or PTs will result in the provision of a new Endpoint. The array of endpoint specs is not NULL terminated, it is expected that the application knows the number of endpoints from numSinkSpecs().

Returns:
An array of endpoint specification.

Implements SH::Status.

virtual SourceEndpoint** SH::GstMpegDemuxSinkSH::getSourceSpecs  )  [virtual]
 

Provide a list of valid source endpoint specifications to the graph manager.
getSourceSpecs() works like getSinkSpecs() but on the source endpoint specifications.

Returns:
An array of endpoint specification.

Implements SH::Status.

virtual SH_RC SH::GstMpegDemuxSinkSH::initSH  )  [virtual]
 

See also:
SH

Reimplemented from SH::Base.

virtual bool SH::GstMpegDemuxSinkSH::isConnected  )  const [virtual]
 

Indicate whether a sufficient number of endpoints are connected for the stream handler to be active.
True if a sufficient number of endpoints is connected for the stream handler to operate in a graph. This should always be true when the stream handler is part of an active graph. This can be called on all stream handlers of a graph to determine whether it will activate successfully.

Implements SH::Status.

SH_RC SH::GstMpegDemuxSinkSH::push_to_pipe DataPtr  item  ) 
 

virtual void SH::GstMpegDemuxSinkSH::pushReport Report report,
Direction  d
[virtual]
 

virtual SH_RC SH::GstMpegDemuxSinkSH::stopStreaming  )  [virtual]
 

See also:
SH virtual SH_RC startStreaming(); /**

SH

Reimplemented from SH::Base.

virtual SH_RC SH::GstMpegDemuxSinkSH::uninitSH  )  [virtual]
 

See also:
SH

Reimplemented from SH::Base.


Member Data Documentation

GstElementDetails SH::GstMpegDemuxSinkSH::_details [static]
 

SinkEndpoint* SH::GstMpegDemuxSinkSH::_in_ep_a[1] [protected]
 

GstMpegDemuxSinkEndpoint SH::GstMpegDemuxSinkSH::_inEP [protected]
 

GTypeInfo SH::GstMpegDemuxSinkSH::_info [static]
 

Structure that allows the creation of a GStreamer factory that creates exactly one GstElement for the SourceEndpoint of this SH.

MpegDemuxVideoPlayPipe SH::GstMpegDemuxSinkSH::_p
 

NeighThread<MpegDemuxVideoPlayPipe> SH::GstMpegDemuxSinkSH::_pt
 

guint SH::GstMpegDemuxSinkSH::_signals[LAST_SIGNAL] [static]
 


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:36:27 2005 for Komssys by doxygen 1.3.8