Functions | |
virtual | Ogg::Logical::~Logical () |
Removes this Logical from Transport. | |
virtual bool | Ogg::Logical::selectCallback (Packet &firstPacket) |
Call back for logical stream selection based on first packet. | |
virtual void | Ogg::Transport::sendCallback (Page &) |
Send call back. | |
virtual size_t | Ogg::Transport::recvCallback (Page &) |
Receive call back. | |
virtual bool | Ogg::Transport::laterThan (const Page &p1, const Page &p2) |
Transport page ordering function. |
virtual size_t Ogg::Transport::recvCallback | ( | Page & | ) | [virtual, inherited] |
Receive call back.
Override with actual receive logic.
Default: Reads from standard in. Terminates transport upon end of file.
Page::size() gives limit to size of data that can be received. Returns actual size received.
virtual bool Ogg::Logical::selectCallback | ( | Packet & | firstPacket | ) | [inline, virtual, inherited] |
Call back for logical stream selection based on first packet.
Default: returns true for selection of whatever is available
virtual void Ogg::Transport::sendCallback | ( | Page & | ) | [virtual, inherited] |
Send call back.
Override with actual send logic.
Default: Dumps to standard out. Terminates transport upon removal of all Logical instances.