Open Inventor Release 2024.1.1
 
Loading...
Searching...
No Matches
RemoteViz::Rendering::IFrameEncodingPolicy Class Referenceabstract

RemoteViz More...

#include <RemoteViz/Rendering/IFrameEncodingPolicy.h>

+ Inheritance diagram for RemoteViz::Rendering::IFrameEncodingPolicy:

Public Member Functions

virtual ~IFrameEncodingPolicy ()
 Destructor.
 
virtual void update (std::shared_ptr< Connection > connection)=0
 Update value of the FPS and frame quality.
 
virtual unsigned int getFramesPerSecond () const =0
 Returns the FPS value used to send frames to the client periodically.
 
virtual float getFrameQuality () const =0
 Returns the frame quality value used to encode interactive frames.
 

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

Definition at line 50 of file IFrameEncodingPolicy.h.

Constructor & Destructor Documentation

◆ ~IFrameEncodingPolicy()

virtual RemoteViz::Rendering::IFrameEncodingPolicy::~IFrameEncodingPolicy ( )
inlinevirtual

Destructor.

Definition at line 56 of file IFrameEncodingPolicy.h.

Member Function Documentation

◆ getFrameQuality()

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.

◆ getFramesPerSecond()

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.

◆ update()

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: