|
resonance 1.0.1
|
Effect that switches one MIDI controller fully on while it is applied. More...
#include <midionoffeffector.h>


Public Member Functions | |
| MidiOnOffEffector (unsigned char nChannel, int nType, unsigned char nController) | |
| virtual | ~MidiOnOffEffector () |
| Switch the effect off, then tear down the base. | |
| virtual int | Type () |
| Report which effect this object applies. | |
| virtual void | SetEnabled (int bEnabled) |
| Send the controller with 0x7f while applied and with zero otherwise. | |
| Public Member Functions inherited from Effector | |
| Effector () | |
| virtual | ~Effector () |
| Public Member Functions inherited from MsgSource | |
| virtual | ~MsgSource () |
| virtual void | AddSink (MsgSink *pSink) |
| Register a sink, ignoring a sink that is already registered. | |
| virtual void | RemoveSink (MsgSink *pSink) |
| Unregister the first occurrence of a sink. | |
| void | Send (Message *pMsg) const |
| Deliver a message to every registered sink, in registration order. | |
| void | ClearSinks () |
| Unregister every sink. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from Effector | |
| static Effector * | CreateForType (int nType, unsigned char nChannel, int nTrack) |
| Build the effect one type selects. | |
| Public Attributes inherited from MsgSource | |
| int | mGraphBuilt |
| A word no member of this class reads. | |
Effect that switches one MIDI controller fully on while it is applied.
Its RTTI descriptor is at 0x008efe20. It has Effector as its one base. The object is 0x24 bytes and its table is at 0x007de7d8. The factory builds one for each of the three EffectorType values from kEffectorTypeMidiOnOffFirst on, with controllers 0x52, 0x53, and 0x51, and the object reports the type it was built for.
| MidiOnOffEffector::MidiOnOffEffector | ( | unsigned char | nChannel, |
| int | nType, | ||
| unsigned char | nController ) |
| nChannel | The MIDI channel the controller change goes to. |
| nType | The EffectorType Type() reports. |
| nController | The controller number. |
|
virtual |
Switch the effect off, then tear down the base.
|
virtual |
Report which effect this object applies.
Implements Effector.
|
virtual |
Send the controller with 0x7f while applied and with zero otherwise.
A request that repeats the current position sends nothing.
| bEnabled | Non-zero to apply the effect. |
Reimplemented from Effector.