This class is the base class of KeepFramesPerSecondPolicy and KeepFrameQualityPolicy. More...
#include <RemoteViz/Rendering/IFrameEncodingPolicy.h>
Public Member Functions | |
virtual | ~IFrameEncodingPolicy () |
virtual void | update (RemoteViz::Rendering::Connection *connection)=0 |
virtual unsigned int | getFramesPerSecond () const =0 |
virtual float | getFrameQuality () const =0 |
This class is the base class of KeepFramesPerSecondPolicy and KeepFrameQualityPolicy.
The methods will be called internally by the RemoteViz service to retrieve encoding frame parameters (FPS and interactive frame quality).
KeepFramesPerSecondPolicy KeepFrameQualityPolicy
virtual RemoteViz::Rendering::IFrameEncodingPolicy::~IFrameEncodingPolicy | ( | ) | [inline, virtual] |
Destructor.
virtual float RemoteViz::Rendering::IFrameEncodingPolicy::getFrameQuality | ( | ) | const [pure virtual] |
Returns the frame quality value used to encode interactive frames.
Implemented in RemoteViz::Rendering::KeepFrameQualityPolicy, and RemoteViz::Rendering::KeepFramesPerSecondPolicy.
virtual unsigned int RemoteViz::Rendering::IFrameEncodingPolicy::getFramesPerSecond | ( | ) | const [pure virtual] |
Returns the FPS value used to send frames to the client periodically.
Implemented in RemoteViz::Rendering::KeepFrameQualityPolicy, and RemoteViz::Rendering::KeepFramesPerSecondPolicy.
virtual void RemoteViz::Rendering::IFrameEncodingPolicy::update | ( | RemoteViz::Rendering::Connection * | connection | ) | [pure virtual] |
Update value of the FPS and frame quality.
Implemented in RemoteViz::Rendering::KeepFrameQualityPolicy, and RemoteViz::Rendering::KeepFramesPerSecondPolicy.