CNote Class Reference

#include <note.h>

Inheritance diagram for CNote:

Inheritance graph
[legend]
Collaboration diagram for CNote:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~CNote ()
const ushortVolume () const
const ushortPitch () const
virtual void Play () const
virtual EEntityType Type () const

Static Public Member Functions

static CSmartPtr< IImpulseCreate (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 >


Detailed Description

Definition at line 43 of file note.h.


Constructor & Destructor Documentation

CNote::CNote ( const ushort  Volume,
const ENote  Note,
const ushort  Octave,
const uint  Duration 
) [private]

virtual CNote::~CNote (  )  [virtual]


Member Function Documentation

static CSmartPtr<IImpulse> CNote::Create ( const ushort  Volume,
const ENote  Note,
const ushort  Octave,
const uint  Duration 
) [inline, static]

Definition at line 53 of file note.h.

00054         {
00055                 return new CNote(Volume, Note, Octave, Duration);
00056         }

static float CNote::DefaultTempoFactor (  )  [inline, static]

Definition at line 60 of file note.h.

00061         {
00062                 return 1.0f;
00063         }

static ushort CNote::DefaultVolume (  )  [inline, static]

Definition at line 65 of file note.h.

00066         {
00067                 return 100;
00068         }

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.


Friends And Related Function Documentation

friend class CSmartPtr< CNote > [friend]

Definition at line 45 of file note.h.


Member Data Documentation

Definition at line 48 of file note.h.

Definition at line 48 of file note.h.


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

Generated on Tue Aug 30 02:36:55 2011 for Smacky by  doxygen 1.5.8