Audacity  2.2.0
EnvPoint Class Referencefinal

EnvPoint, derived from XMLTagHandler, provides Envelope with a draggable point type. More...

#include <Envelope.h>

Inheritance diagram for EnvPoint:
XMLTagHandler

Public Member Functions

 EnvPoint ()
 
 EnvPoint (double t, double val)
 
double GetT () const
 
void SetT (double t)
 
double GetVal () const
 
void SetVal (Envelope *pEnvelope, double val)
 
bool HandleXMLTag (const wxChar *tag, const wxChar **attrs) override
 
XMLTagHandlerHandleXMLChild (const wxChar *WXUNUSED(tag)) override
 
- Public Member Functions inherited from XMLTagHandler
 XMLTagHandler ()
 
virtual ~XMLTagHandler ()
 
virtual void HandleXMLEndTag (const wxChar *WXUNUSED(tag))
 
virtual void HandleXMLContent (const wxString &WXUNUSED(content))
 
virtual XMLTagHandlerHandleXMLChild (const wxChar *tag)=0
 
bool ReadXMLTag (const char *tag, const char **attrs)
 
void ReadXMLEndTag (const char *tag)
 
void ReadXMLContent (const char *s, int len)
 
XMLTagHandlerReadXMLChild (const char *tag)
 

Private Attributes

double mT {}
 
double mVal {}
 

Detailed Description

EnvPoint, derived from XMLTagHandler, provides Envelope with a draggable point type.

Constructor & Destructor Documentation

EnvPoint::EnvPoint ( )
inline
EnvPoint::EnvPoint ( double  t,
double  val 
)
inline

Member Function Documentation

double EnvPoint::GetVal ( ) const
inline
XMLTagHandler* EnvPoint::HandleXMLChild ( const wxChar *  WXUNUSEDtag)
inlineoverride
bool EnvPoint::HandleXMLTag ( const wxChar *  tag,
const wxChar **  attrs 
)
inlineoverridevirtual
void EnvPoint::SetT ( double  t)
inline

References mT.

Referenced by HandleXMLTag(), and Envelope::MoveDragPoint().

void EnvPoint::SetVal ( Envelope pEnvelope,
double  val 
)
inline

Member Data Documentation

double EnvPoint::mT {}
private

Referenced by GetT(), and SetT().

double EnvPoint::mVal {}
private

Referenced by GetVal(), and SetVal().


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