|
wavelength 1.0.0
|
Command that sends the message of a muse when the scheduler runs it. More...
#include <stdmidimuse.h>


Public Member Functions | |
| ~StdMidiCommand () override=default | |
| Destroy the object. | |
| StdMidiCommand (StdMidiMuse *pMuse) | |
| Construct the command of a muse. | |
| void | Execute () override |
| Send the message, timed within the pump of the scheduler, and forget the scheduler. | |
| void | Cancel () |
| Withdraw the command from the scheduler that queued it. | |
| Scheduler * | GetScheduler () const |
| void | SetScheduler (Scheduler *pScheduler) |
| Public Member Functions inherited from Command | |
| ~Command () override | |
| Release the command. | |
| virtual bool | IsSerializable () |
| Report whether a recording saves the command. | |
| virtual int | GetSerialId () |
| Report the identifier a recording rebuilds the command by. | |
| virtual void | Save (BinStream &stream) const |
| Write the command to a recording. | |
| virtual void | Load (BinStream &stream) |
| Read the command Save() writes. | |
| Public Member Functions inherited from Attachment | |
| Attachment () | |
| Construct an object with no reference. | |
| virtual | ~Attachment () |
| Release the object. | |
| void | AddRef () |
| Take one reference. | |
| void | Release () |
| Give back one reference and delete the object once the last one is gone. | |
Static Public Member Functions | |
| static void * | operator new (size_t nSize) |
| Allocate a command from the pool. | |
| static void | operator delete (void *pBlock) |
| Return a command to the pool. | |
| Static Public Member Functions inherited from Attachment | |
| static void | ReleaseIfSet (Attachment *pAttachment) |
| Give back one reference to an object that may be null. | |
Command that sends the message of a muse when the scheduler runs it.
The RTTI includes the nested name and records Command as the base. The allocations come from the pool of fixed-size blocks, billed to the tag "StdMidiMuse cmd".
|
overridedefault |
Destroy the object.
|
inlineexplicit |
Construct the command of a muse.
| pMuse | The muse. |
|
inlinestatic |
Allocate a command from the pool.
| nSize | The object size. |
|
inlinestatic |
Return a command to the pool.
| pBlock | The block. |
|
overridevirtual |
Send the message, timed within the pump of the scheduler, and forget the scheduler.
Implements Command.
| void StdMidiMuse::StdMidiCommand::Cancel | ( | ) |
Withdraw the command from the scheduler that queued it.
|
inline |
|
inline |
| pScheduler | The scheduler that queued the command, or null. |