Photon C++ Client API
5.0.7.3
|
Generic encoder interface. More...

Public Member Functions | |
| virtual Common::JString | getError (void) const =0 |
| If not null, the object is in invalid state. More... | |
| virtual void | setOutput (void *opaque, void(*output)(void *, const Buffer< nByte > &))=0 |
| Set callback encoder calls on each encoded data frame (if such output supported). More... | |
| virtual Buffer< nByte > | dequeueOutput ()=0 |
| Returns next encoded data frame (if such output supported). More... | |
Generic encoder interface.
Depending on implementation, encoder should either call Output on eaach data frame or return next data frame in DequeueOutput() call.
|
pure virtual |
If not null, the object is in invalid state.
Implemented in UnsupportedCodecError, and Encoder< T >.
|
pure virtual |
Set callback encoder calls on each encoded data frame (if such output supported).
Implemented in UnsupportedCodecError, and Encoder< T >.
|
pure virtual |
Returns next encoded data frame (if such output supported).
Implemented in UnsupportedCodecError, and Encoder< T >.