#include <note.h>
Public Member Functions | |
virtual | ~CNote () |
const ushort & | Volume () const |
const ushort & | Pitch () const |
virtual void | Play () const |
virtual EEntityType | Type () const |
Static Public Member Functions | |
static CSmartPtr< IImpulse > | Create (const ushort Volume, const ENote Note, const ushort Octave, const uint Duration) |
static float | DefaultTempoFactor () |
static ushort | DefaultVolume () |
Private Member Functions | |
CNote (const ushort Volume, const ENote Note, const ushort Octave, const uint Duration) | |
Private Attributes | |
ushort | m_Volume |
ushort | m_Pitch |
Friends | |
class | CSmartPtr< CNote > |
Definition at line 43 of file note.h.
CNote::CNote | ( | const ushort | Volume, | |
const ENote | Note, | |||
const ushort | Octave, | |||
const uint | Duration | |||
) | [private] |
virtual CNote::~CNote | ( | ) | [virtual] |
static float CNote::DefaultTempoFactor | ( | ) | [inline, static] |
static ushort CNote::DefaultVolume | ( | ) | [inline, static] |
const ushort& CNote::Volume | ( | ) | const |
const ushort& CNote::Pitch | ( | ) | const |
virtual void CNote::Play | ( | ) | const [virtual] |
Implements IImpulse.
virtual EEntityType CNote::Type | ( | ) | const [virtual] |
Implements IImpulse.
ushort CNote::m_Volume [private] |
ushort CNote::m_Pitch [private] |