Loading...
Searching...
No Matches
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Protected Member Functions |
List of all members
Execution::Clock Class Referenceabstract
Inheritance diagram for Execution::Clock:
Public Member Functions | |
| Clock (const Execution::Context &ctx) | |
| void | play (const TimeVal &t) |
| void | pause () |
| void | resume () |
| void | stop () |
| virtual bool | paused () const |
| virtual bool | setStepping (bool stepping) |
| Moves the execution under step control, or back to its own clock. | |
| virtual bool | stepping () const noexcept |
| virtual bool | stepTo (double seconds) |
Static Public Member Functions | |
| static Clock * | running (const score::Document &doc) noexcept |
The clock of the execution currently playing doc, if any. | |
| static int64_t | playCount () noexcept |
| Incremented each time a clock starts playing. | |
| static void | requestStepping (const score::Document &doc, bool stepping) |
The next clock that plays doc starts stepping, until it stops. | |
| static bool | steppingRequested (const score::Document &doc) noexcept |
Public Attributes | |
| const Context & | context |
| std::shared_ptr< BaseScenarioElement > | scenario |
Protected Member Functions | |
| virtual void | play_impl (const TimeVal &t)=0 |
| virtual void | pause_impl ()=0 |
| virtual void | resume_impl ()=0 |
| virtual void | stop_impl ()=0 |
Member Function Documentation
◆ setStepping()
|
virtual |
Moves the execution under step control, or back to its own clock.
Reimplemented in Dataflow::Clock.
◆ stepTo()
|
virtual |
Runs the execution synchronously until seconds have been executed since the clock started stepping.
Reimplemented in Dataflow::Clock.
The documentation for this class was generated from the following files:
- ClockFactory.hpp
- ClockFactory.cpp