MythTV  master
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VideoVisualMonoScope Class Reference

#include <videovisualmonoscope.h>

Inheritance diagram for VideoVisualMonoScope:
Inheritance graph
[legend]
Collaboration diagram for VideoVisualMonoScope:
Collaboration graph
[legend]

Public Member Functions

 VideoVisualMonoScope (AudioPlayer *Audio, MythRender *Render, bool Fade)
 
QString Name () override
 
- Public Member Functions inherited from VideoVisual
 VideoVisual (AudioPlayer *audio, MythRender *render)
 
 ~VideoVisual () override
 
bool NeedsPrepare () const
 
virtual void Prepare (const QRect)
 
virtual void Draw (QRect area, MythPainter *painter, QPaintDevice *device)=0
 
void add (const void *b, unsigned long b_len, std::chrono::milliseconds timecode, int c, int p) override
 
void prepare () override
 
- Public Member Functions inherited from MythTV::Visual
 Visual ()
 
virtual ~Visual ()
 
QMutex * mutex ()
 

Protected Member Functions

void InitCommon (QRect Area)
 
bool UpdateVertices (float *Buffer)
 
void UpdateTime ()
 
- Protected Member Functions inherited from VideoVisual
VisualNodeGetNode (void)
 
void DeleteNodes (void)
 
std::chrono::milliseconds SetLastUpdate (void)
 

Protected Attributes

std::chrono::milliseconds m_lastTime { 0ms }
 
float m_hue { 0.0 }
 
float m_rate { 1.0 }
 
float m_lineWidth { 1.0 }
 
float m_maxLineWidth { 1.0 }
 
bool m_fade { false }
 
- Protected Attributes inherited from VideoVisual
AudioPlayerm_audio { nullptr }
 
bool m_needsPrepare { false }
 
bool m_disabled { false }
 
QRect m_area
 
MythRenderm_render { nullptr }
 
QList< VisualNode * > m_nodes
 
QDateTime m_lastUpdate
 

Additional Inherited Members

- Static Public Member Functions inherited from VideoVisual
static VideoVisualCreate (const QString &name, AudioPlayer *audio, MythRender *render)
 
static QStringList GetVisualiserList (RenderType type)
 

Detailed Description

Definition at line 11 of file videovisualmonoscope.h.

Constructor & Destructor Documentation

◆ VideoVisualMonoScope()

VideoVisualMonoScope::VideoVisualMonoScope ( AudioPlayer Audio,
MythRender Render,
bool  Fade 
)

Definition at line 11 of file videovisualmonoscope.cpp.

Member Function Documentation

◆ Name()

QString VideoVisualMonoScope::Name ( )
overridevirtual

Implements VideoVisual.

Definition at line 17 of file videovisualmonoscope.cpp.

◆ InitCommon()

void VideoVisualMonoScope::InitCommon ( QRect  Area)
protected

◆ UpdateVertices()

bool VideoVisualMonoScope::UpdateVertices ( float *  Buffer)
protected

◆ UpdateTime()

void VideoVisualMonoScope::UpdateTime ( )
protected

Member Data Documentation

◆ m_lastTime

std::chrono::milliseconds VideoVisualMonoScope::m_lastTime { 0ms }
protected

Definition at line 23 of file videovisualmonoscope.h.

Referenced by InitCommon(), and UpdateTime().

◆ m_hue

float VideoVisualMonoScope::m_hue { 0.0 }
protected

◆ m_rate

float VideoVisualMonoScope::m_rate { 1.0 }
protected

◆ m_lineWidth

float VideoVisualMonoScope::m_lineWidth { 1.0 }
protected

◆ m_maxLineWidth

float VideoVisualMonoScope::m_maxLineWidth { 1.0 }
protected

◆ m_fade

bool VideoVisualMonoScope::m_fade { false }
protected

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