OpenDaVINCI  4.16.0
odtools::player::PlayerListener Class Referenceabstract

#include <PlayerListener.h>

Public Member Functions

virtual ~PlayerListener ()
virtual void percentagePlayedBack (const float &percentagePlayedBack)=0

Detailed Description

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.

Constructor & Destructor Documentation

odtools::player::PlayerListener::~PlayerListener ( )

Member Function Documentation

virtual void odtools::player::PlayerListener::percentagePlayedBack ( const float &  percentagePlayedBack)
pure virtual

This method is invoked to report the amount that has been played back so far.

v% of playback.