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

SH::SubGraphSH Class Reference
[StreamHandlers]

#include <SubGraphSH.h>

Inheritance diagram for SH::SubGraphSH:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SubGraphSH (SHGraphManager *mgr, u_int32_t runtimeId, MNSelector &sel)
virtual ~SubGraphSH ()
virtual SH_RC initSH ()=0
 SH.
virtual SH_RC uninitSH ()=0
 SH.
virtual SH_RC startStreaming ()=0
 SH.
virtual SH_RC stopStreaming ()=0
 SH.
virtual bool graphManNotify (int idx, SH::Base *caller, SH::Notification attribute, void *msg)=0
 SHGraphManager.
virtual u_int32_t getDelay () const =0
virtual void pushReport (Report *report, Direction d)

Protected Member Functions

bool setInAnchorSH (Base *sh)
bool setOutAnchorSH (Base *sh)
virtual SinkEndpoint ** getSinkSpecs ()
virtual SourceEndpoint ** getSourceSpecs ()
virtual bool isConnected () const

Protected Attributes

SHGraphManagermyGraphManager
SinkEndpointin_ep_a [10]
SourceEndpointout_ep_a [10]

Constructor & Destructor Documentation

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

virtual SH::SubGraphSH::~SubGraphSH  )  [virtual]
 


Member Function Documentation

virtual u_int32_t SH::SubGraphSH::getDelay  )  const [pure virtual]
 

Implemented in SH::NopSubGraphSH.

virtual SinkEndpoint** SH::SubGraphSH::getSinkSpecs  )  [protected, 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::SubGraphSH::getSourceSpecs  )  [protected, 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 bool SH::SubGraphSH::graphManNotify int  idx,
SH::Base caller,
SH::Notification  attribute,
void *  msg
[pure virtual]
 

SHGraphManager.

Implements SHGraphManager.

Implemented in SH::NopSubGraphSH.

virtual SH_RC SH::SubGraphSH::initSH  )  [pure virtual]
 

SH.

Reimplemented from SH::Base.

Implemented in SH::NopSubGraphSH.

virtual bool SH::SubGraphSH::isConnected  )  const [protected, 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.

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

bool SH::SubGraphSH::setInAnchorSH Base sh  )  [protected]
 

Sets the sink-endpoint of the given SH as the sink-endpoint of this SubGraphSH.

bool SH::SubGraphSH::setOutAnchorSH Base sh  )  [protected]
 

Sets the source-endpoint of the given SH as the source-endpoint of this SubGraphSH.

virtual SH_RC SH::SubGraphSH::startStreaming  )  [pure virtual]
 

SH.

Reimplemented from SH::Base.

Implemented in SH::NopSubGraphSH.

virtual SH_RC SH::SubGraphSH::stopStreaming  )  [pure virtual]
 

SH.

Reimplemented from SH::Base.

Implemented in SH::NopSubGraphSH.

virtual SH_RC SH::SubGraphSH::uninitSH  )  [pure virtual]
 

SH.

Reimplemented from SH::Base.

Implemented in SH::NopSubGraphSH.


Member Data Documentation

SinkEndpoint* SH::SubGraphSH::in_ep_a[10] [protected]
 

SHGraphManager* SH::SubGraphSH::myGraphManager [protected]
 

SourceEndpoint* SH::SubGraphSH::out_ep_a[10] [protected]
 


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