RemoteViz::Rendering::IFrameEncodingPolicy Class Reference

This class is the base class of KeepFramesPerSecondPolicy and KeepFrameQualityPolicy. More...

#include <RemoteViz/Rendering/IFrameEncodingPolicy.h>

Inheritance diagram for RemoteViz::Rendering::IFrameEncodingPolicy:
RemoteViz::Rendering::KeepFrameQualityPolicy RemoteViz::Rendering::KeepFramesPerSecondPolicy

List of all members.

Public Member Functions

virtual ~IFrameEncodingPolicy ()
virtual void update (RemoteViz::Rendering::Connection *connection)=0
virtual unsigned int getFramesPerSecond () const =0
virtual float getFrameQuality () const =0

Detailed Description

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).

SEE ALSO

KeepFramesPerSecondPolicy KeepFrameQualityPolicy


Constructor & Destructor Documentation

virtual RemoteViz::Rendering::IFrameEncodingPolicy::~IFrameEncodingPolicy (  )  [inline, virtual]

Destructor.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 24 Mar 2020
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/