AVBlocks for C++  3.0
Audio and Video Software Development Kit
Loading...
Searching...
No Matches
FloatParameter Class Referenceabstract

The parameter represents a 64-bit floating point number (double precision). More...

#include <avb.h>

Inheritance diagram for FloatParameter:
Parameter Reference

Public Member Functions

virtual bool_t setValue (double value)=0
 Sets the parameter value.
 
virtual double value () const =0
 Returns the parameter value.
 
- Public Member Functions inherited from Parameter
virtual Parameterclone () const =0
 Creates a deep copy of the underlying StringParameter, IntParameter, FloatParameter, or MediaBufferParameter object.
 
virtual const char * name () const =0
 Returns the parameter name.
 
virtual bool_t setName (const char *name)=0
 Sets the parameter name.
 
virtual ParamType::Enum type () const =0
 Returns the parameter type.
 
- Public Member Functions inherited from Reference
virtual int32_t release () const =0
 Releases the instance.
 
virtual int32_t retain () const =0
 Retains the instance.
 
virtual int32_t retainCount () const =0
 Returns the current reference count.
 

Additional Inherited Members

- Protected Member Functions inherited from Parameter
 ~Parameter ()
 This object can be destroyed only by the AVBlocks library.
 

Detailed Description

The parameter represents a 64-bit floating point number (double precision).

Member Function Documentation

◆ setValue()

virtual bool_t setValue ( double  value)
pure virtual

Sets the parameter value.

Parameters
value[in] A 64-bit floating point number.

◆ value()

virtual double value ( ) const
pure virtual

Returns the parameter value.

Returns
A 64-bit floating point number.