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

SH::SourceEndpoint Class Reference

#include <SHEndpoint.h>

Inheritance diagram for SH::SourceEndpoint:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SourceEndpoint (Base *mySH)
virtual SH_RC connect (Endpoint *ep)
 Endpoint.
virtual SH_RC disconnect ()
 Endpoint.
virtual SH_RC pull (DataPtr &item, SourceUnit su=UnitDefault, size_t amount=0)
SH_RC push_to_peer (DataPtr item)
virtual void push_report_to_peer (ReportPtr report)
 Endpoint.
virtual void pushReport (ReportPtr report)
 Endpoint.
virtual SH_RC changePos (u_int64 pos)

Constructor & Destructor Documentation

SH::SourceEndpoint::SourceEndpoint Base mySH  ) 
 


Member Function Documentation

virtual SH_RC SH::SourceEndpoint::changePos u_int64  pos  )  [virtual]
 

Implements SH::Endpoint.

virtual SH_RC SH::SourceEndpoint::connect Endpoint ep  )  [virtual]
 

Endpoint.

Reimplemented from SH::Endpoint.

virtual SH_RC SH::SourceEndpoint::disconnect  )  [virtual]
 

Endpoint.

Reimplemented from SH::Endpoint.

virtual SH_RC SH::SourceEndpoint::pull DataPtr item,
SourceUnit  su = UnitDefault,
size_t  amount = 0
[virtual]
 

Called when a downstream stream handler retrieves a data item from this endpoint's stream handler.

In case of success, should return SH_OK. Returns SH_NOT_CONNECTED if the endpoint is not connected. Returns SH_NOT_STREAMING if the stream handler is not streaming. Returns SH_ACTIVE if the stream handler is neither a passive nor a through stream handler, ie. if a call to push() is not supposed to happen. In all error cases the data item is released.

Reimplemented in SH::DummyLayerSourceEndpoint, SH::DynMultiplierSourceEndpoint, SH::FileSourceEndpoint, SH::PacketMultiplierSourceEndpoint, SH::RTPDecoderSourceEndpoint, SH::NopSourceEndpoint, SH::PushPullSourceEndpoint, and SH::PullResizeSourceEndpoint.

virtual void SH::SourceEndpoint::push_report_to_peer ReportPtr  report  )  [virtual]
 

Endpoint.

Implements SH::Endpoint.

SH_RC SH::SourceEndpoint::push_to_peer DataPtr  item  ) 
 

Instead of accessing the connected sink directly, the owning stream handler should use this function to push data to this source endpoint's connected sink endpoint.

virtual void SH::SourceEndpoint::pushReport ReportPtr  report  )  [virtual]
 

Endpoint.

Implements SH::Endpoint.


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