OpenDaVINCI
4.16.0
|
#include <PlayerDelegate.h>
Public Member Functions | |
virtual | ~PlayerDelegate () |
virtual odcore::data::Container | process (odcore::data::Container &c)=0 |
This interface allows other components to change the way how Containers are read from the .rec file. player's default behavior is to restore Containers as they come and to extract BLOB data from shared memory segments from a file named .rec.mem. This behavior can be changed by registering a PlayerDelegate instance for a certain message ID. Whenever a Container with that specified message ID is encountered, the appropriate PlayerDelegate is called to process that container.
|
virtual |
|
pure virtual |
This method stores the given container using the PlayerDelegate logic (for instance, the Container needs to be restored from a different format). Thus, in the original .rec data stream might be a replacement container that needs to be restored to the original Container.
c | Container to be restored. |