#include <SHEndpoint.h>
Inheritance diagram for SH::SourceEndpoint:
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) |
|
|
|
Implements SH::Endpoint.
|
|
Reimplemented from SH::Endpoint.
|
|
Reimplemented from SH::Endpoint.
|
|
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.
|
|
Implements SH::Endpoint.
|
|
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. |
|
Implements SH::Endpoint.
|