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=0, int=0)
 
 ~LogScale ()
 
int scale () const
 
int range () const
 
void setMax (int, int)
 
int operator[] (int)
 

Private Attributes

int * indices
 
int s
 
int r
 
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 
)
inline

Definition at line 9 of file videovisualdefs.h.

◆ ~LogScale() [1/2]

LogScale::~LogScale ( )
inline

Definition at line 15 of file videovisualdefs.h.

◆ LogScale() [2/2]

LogScale::LogScale ( int  = 0,
int  = 0 
)

◆ ~LogScale() [2/2]

LogScale::~LogScale ( )

Member Function Documentation

◆ scale() [1/2]

int LogScale::scale ( ) const
inline

Definition at line 20 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 23 of file videovisualdefs.h.

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

◆ operator[]() [1/2]

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

Definition at line 65 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  ,
int   
)

◆ operator[]() [2/2]

int LogScale::operator[] ( int  index)

Definition at line 128 of file visualize.cpp.

Member Data Documentation

◆ indices

int* LogScale::indices
private

Definition at line 72 of file videovisualdefs.h.

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

◆ s

int LogScale::s
private

Definition at line 73 of file videovisualdefs.h.

Referenced by scale(), and setMax().

◆ r

int LogScale::r
private

Definition at line 73 of file videovisualdefs.h.

Referenced by range(), and setMax().

◆ m_indices

int* LogScale::m_indices {nullptr}
private

Definition at line 165 of file visualize.h.

Referenced by operator[]().

◆ m_s

int LogScale::m_s {0}
private

Definition at line 166 of file visualize.h.

Referenced by scale().

◆ m_r

int LogScale::m_r {0}
private

Definition at line 167 of file visualize.h.

Referenced by range().


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