Lumiera
0.pre.03
»edit your freedom«
|
#include "steam/play/output-slot.hpp"
denotes an opened connection ready to receive media data for output.
Each DataSink (handle) corresponds to an OutputSlot::Connection entry. Data is handed over frame wise in a two-phase protocol: first, the client gets exclusive access to an output buffer, and then, when done, the buffer is handed over by an #emit call.
Definition at line 159 of file output-slot.hpp.
Public Member Functions | |
void | emit (FrameID, BuffHandle const &, TimeValue currentTime=Time::ANYTIME) |
BuffHandle | lockBufferFor (FrameID) |
Public Member Functions inherited from Handle< OutputSlot::Connection > | |
Handle ()=default | |
by default create an Null handle. More... | |
Handle (OutputSlot::Connection *imp) | |
directly establish handle from an implementation, which typically way just heap allocated beforehand. | |
Handle (Handle const &r)=default | |
Handle (Handle &&rr)=default | |
Handle (shared_ptr< Y > const &r) | |
Handle (shared_ptr< Y > &&srr) | |
Handle (weak_ptr< Y > const &wr) | |
Handle (unique_ptr< Y > &&urr) | |
Handle & | activate (OutputSlot::Connection *impl, DEL whenDead) |
Activation of the handle by the managing service. More... | |
Handle & | activate (shared_ptr< OutputSlot::Connection > const &impl) |
another way of activating a handle by sharing ownership with an existing smart-ptr | |
Handle & | activate (shared_ptr< OutputSlot::Connection > &&impl) |
void | close () |
deactivate this handle, so it isn't tied any longer to the associated implementation or service object. More... | |
bool | isValid () const |
operator bool () const | |
Handle & | operator= (Handle const &r)=default |
Handle & | operator= (Handle &&rr)=default |
Handle & | operator= (shared_ptr< Y > const &sr) |
Handle & | operator= (shared_ptr< Y > &&srr) |
Handle & | operator= (unique_ptr< Y > &&urr) |
Friends | |
bool | operator!= (DataSink const &sink1, DataSink const &sink2) |
bool | operator== (DataSink const &sink1, DataSink const &sink2) |
Additional Inherited Members | |
Protected Types inherited from Handle< OutputSlot::Connection > | |
typedef std::shared_ptr< OutputSlot::Connection > | SmPtr |
Protected Member Functions inherited from Handle< OutputSlot::Connection > | |
OutputSlot::Connection & | impl () const |
Protected Attributes inherited from Handle< OutputSlot::Connection > | |
SmPtr | smPtr_ |