MythTV  master
Public Member Functions | Private Attributes | List of all members
LogScale Class Reference

#include <videovisualdefs.h>

Collaboration diagram for LogScale:
Collaboration graph
[legend]

Public Member Functions

 LogScale (int maxscale=0, int maxrange=0)
 
 ~LogScale ()
 
int scale () const
 
int range () const
 
void setMax (int maxscale, int maxrange)
 
int operator[] (int index) const
 
 LogScale (int maxscale=0, int maxrange=0)
 
 ~LogScale ()
 
int scale () const
 
int range () const
 
void setMax (int maxscale, int maxrange)
 
int operator[] (int index)
 

Private Attributes

int * m_indices {nullptr}
 
int m_s {0}
 
int m_r {0}
 

Detailed Description

Definition at line 6 of file videovisualdefs.h.

Constructor & Destructor Documentation

◆ LogScale() [1/2]

LogScale::LogScale ( int  maxscale = 0,
int  maxrange = 0 
)
inlineexplicit

Definition at line 9 of file videovisualdefs.h.

◆ ~LogScale() [1/2]

LogScale::~LogScale ( )
inline

Definition at line 14 of file videovisualdefs.h.

◆ LogScale() [2/2]

LogScale::LogScale ( int  maxscale = 0,
int  maxrange = 0 
)
explicit

◆ ~LogScale() [2/2]

LogScale::~LogScale ( )

Member Function Documentation

◆ scale() [1/2]

int LogScale::scale ( ) const
inline

Definition at line 19 of file videovisualdefs.h.

◆ range() [1/2]

int LogScale::range ( ) const
inline

◆ setMax() [1/2]

void LogScale::setMax ( int  maxscale,
int  maxrange 
)
inline

Definition at line 22 of file videovisualdefs.h.

Referenced by VideoVisualSpectrum::Initialise(), and LogScale().

◆ operator[]() [1/2]

int LogScale::operator[] ( int  index) const
inline

Definition at line 63 of file videovisualdefs.h.

◆ scale() [2/2]

int LogScale::scale ( ) const
inline

Definition at line 156 of file visualize.h.

◆ range() [2/2]

int LogScale::range ( ) const
inline

Definition at line 157 of file visualize.h.

◆ setMax() [2/2]

void LogScale::setMax ( int  maxscale,
int  maxrange 
)

◆ operator[]() [2/2]

int LogScale::operator[] ( int  index)

Definition at line 128 of file visualize.cpp.

Member Data Documentation

◆ m_indices

int * LogScale::m_indices {nullptr}
private

Definition at line 70 of file videovisualdefs.h.

Referenced by operator[](), setMax(), and ~LogScale().

◆ m_s

int LogScale::m_s {0}
private

Definition at line 71 of file videovisualdefs.h.

Referenced by scale(), and setMax().

◆ m_r

int LogScale::m_r {0}
private

Definition at line 72 of file videovisualdefs.h.

Referenced by range(), and setMax().


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