RemoteViz::Rendering::IFrameEncodingPolicy Class Reference
[RemoteViz]

RemoteViz 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 (std::shared_ptr< Connection > connection)=0
virtual unsigned int getFramesPerSecond () const =0
virtual float getFrameQuality () const =0

Detailed Description

RemoteViz

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 ConnectionSettings to set the frame encoding policy.

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 ( std::shared_ptr< 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 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/