|
resonance 1.0.1
|
Effect that reports its identity and does no work of its own. More...
#include <ghostnoteseffector.h>


Public Member Functions | |
| virtual | ~GhostNotesEffector () |
| virtual int | Type () |
| Report which effect this object applies. | |
| virtual void | SetEnabled (int bEnabled) |
| Do nothing. | |
| 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 reports its identity and does no work of its own.
Its RTTI descriptor is at 0x008f0110. It has Effector as its one base. The class declares no data member, and the factory at 0x001a0df0 allocates 0x14 bytes for it. That allocation is the size of the base alone, and it therefore fixes the size of the base as well.
The table at 0x007de7a0 runs GetTypeInfo, the destructor, the two inherited MsgSource registration routines, then Type() and SetEnabled().
SetEnabled() has an empty body. The ghost-notes powerup therefore does not act through this object, and the object exists only for Type() to report. An effect the synthesiser does not implement as a control change still needs an Effector for the powerup that selects it.
|
virtual |
|
virtual |
Report which effect this object applies.
Implements Effector.
|
virtual |
Do nothing.
| bEnabled | Ignored. |
Reimplemented from Effector.