CLAM-Development  1.1
Public Member Functions | Protected Attributes | Friends
CLAM::Instrument Class Reference

#include <Instrument.hxx>

List of all members.

Public Member Functions

void SetId (int id)
 Instrument ()
void LinkStateOutWithInControl (Processing *inProc, unsigned inId)
int UpdateState (TControlData value)
int UpdateNote (TControlData value)
int UpdateVel (TControlData value)
virtual bool Do (Audio &audio)=0
bool Do (void)
 Supervised mode execution method (using ports)
const char * GetClassName () const
 Override it in every subclass and retur the name of that class.

Protected Attributes

InControlTmpl< InstrumentmStateIn
InControlTmpl< InstrumentmNoteIn
InControlTmpl< InstrumentmVelocityIn
OutControl mStateOut
OutControl mNoteOut
OutControl mVelocityOut

Friends

class Dispatcher

Detailed Description

Definition at line 34 of file Instrument.hxx.


Constructor & Destructor Documentation

Definition at line 59 of file Instrument.hxx.


Member Function Documentation

virtual bool CLAM::Instrument::Do ( Audio audio) [pure virtual]
bool CLAM::Instrument::Do ( void  ) [inline, virtual]

Supervised mode execution method (using ports)

Returns:
A boolean telling whether it has been output

Implements CLAM::ProcessingComposite.

Definition at line 107 of file Instrument.hxx.

References CLAM::AudioOutPort::GetAudio(), and CLAM::OutPort< Token >::Produce().

const char* CLAM::Instrument::GetClassName ( ) const [inline, virtual]

Override it in every subclass and retur the name of that class.

Reimplemented from CLAM::ProcessingComposite.

Definition at line 113 of file Instrument.hxx.

void CLAM::Instrument::LinkStateOutWithInControl ( Processing inProc,
unsigned  inId 
) [inline]
void CLAM::Instrument::SetId ( int  id) [inline]

Definition at line 57 of file Instrument.hxx.

Definition at line 91 of file Instrument.hxx.

References mNoteOut, and CLAM::OutControl::SendControl().

Definition at line 78 of file Instrument.hxx.

References mStateOut, and CLAM::OutControl::SendControl().

Definition at line 98 of file Instrument.hxx.

References mVelocityOut, and CLAM::OutControl::SendControl().


Friends And Related Function Documentation

friend class Dispatcher [friend]

Definition at line 55 of file Instrument.hxx.


Member Data Documentation

Definition at line 47 of file Instrument.hxx.

Definition at line 51 of file Instrument.hxx.

Referenced by UpdateNote().

Definition at line 46 of file Instrument.hxx.

Definition at line 50 of file Instrument.hxx.

Referenced by UpdateState().

Definition at line 48 of file Instrument.hxx.

Definition at line 52 of file Instrument.hxx.

Referenced by UpdateVel().


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