resonance 1.0.1
Loading...
Searching...
No Matches
sequencercmd.h
Go to the documentation of this file.
1#pragma once
2
3#include <iostream>
4
5#include "sch/command.h"
6
8
18class SequencerCmd : public Sch::Command {
19public:
25 explicit SequencerCmd(GenericSequencer *pOwner) : mOwner(pOwner) {
26 }
27
35 virtual int CmdID();
36
43 virtual void Execute();
44
52 virtual void Print(std::ostream &stream);
53
60 static int sCmdID;
61
62private:
63 GenericSequencer *mOwner;
64};
Base of the template that dispatches a range of timed messages against a clock.
Definition genericsequencer.h:25
Base of every action the scheduler performs on behalf of another subsystem.
Definition command.h:60
virtual void Execute()
Run GenericSequencer::Dispatch() on the owner.
virtual int CmdID()
Report sCmdID.
static int sCmdID
The class's command identifier, which the image initialises to zero.
Definition sequencercmd.h:60
SequencerCmd(GenericSequencer *pOwner)
Point the command at its sequencer.
Definition sequencercmd.h:25
virtual void Print(std::ostream &stream)
Write {Sequencer}.