RecordingEncoder< N > Class Template Reference
[Recording Encoder Class]

#include <RecordingEncoder.hh>

Inheritance diagram for RecordingEncoder< N >:
Encoder

List of all members.

Public Member Functions

 RecordingEncoder (Encoder *_realEnc=NULL)
void initRecordingEncoder (Encoder *_realEnc)
void startRecording ()
void stopRecording ()
void clearRecording ()
void playback (uint8_t pos)
virtual char * getName ()
virtual void setName (char *_name)
virtual int update (encoder_t *enc)
virtual void checkHandle ()
virtual bool hasChanged ()
virtual int getValue ()
virtual int getOldValue ()
virtual void setValue (int _value, bool handle=false)
virtual void displayAt (int i)

Public Attributes

EncoderrealEnc
int value [N]
bool recording
bool recordChanged
bool playing
int currentPos

Detailed Description

template<int N>
class RecordingEncoder< N >

Create a recording encoder recording N values. The RecordingEncoder is actually a frontend simulating an encoder, delegating most calls to the actual encoder. However, it can be used to record movements of this encoder and play them back.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Tue Dec 1 21:01:21 2009 for Mididuino Framework by  doxygen 1.6.1