Loading...
Searching...
No Matches
Scenario::TimeSyncModel Class Referencefinal
Inheritance diagram for Scenario::TimeSyncModel:
Public Types | |
using | EventIdVec = ossia::small_vector< Id< EventModel >, 2 > |
Public Types inherited from score::Entity< TimeSyncModel > | |
using | entity_type = Entity< TimeSyncModel > |
Public Types inherited from IdentifiedObject< model > | |
using | model_type = model |
using | id_type = Id< model > |
using | object_type = IdentifiedObject< model > |
Public Member Functions | |
TimeSyncModel (const Id< TimeSyncModel > &id, const TimeVal &date, QObject *parent) | |
template<typename DeserializerVisitor > | |
TimeSyncModel (DeserializerVisitor &&vis, QObject *parent) | |
const TimeVal & | date () const noexcept |
void | setDate (const TimeVal &) |
void | addEvent (const Id< EventModel > &) |
bool | removeEvent (const Id< EventModel > &) |
void | clearEvents () |
const EventIdVec & | events () const noexcept |
void | setEvents (const TimeSyncModel::EventIdVec &events) |
State::Expression | expression () const noexcept |
void | setExpression (const State::Expression &expression) |
bool | active () const noexcept |
void | setActive (bool active) |
bool | autotrigger () const noexcept |
void | setAutotrigger (bool t) |
bool | isStartPoint () const noexcept |
void | setStartPoint (bool t) |
ossia::musical_sync | musicalSync () const noexcept |
void | setMusicalSync (ossia::musical_sync sig) |
void | setWaiting (bool) |
bool | waiting () const noexcept |
void | dateChanged (const TimeVal &arg_1) |
void | newEvent (const Id< Scenario::EventModel > &eventId) |
void | eventRemoved (const Id< Scenario::EventModel > &eventId) |
void | triggerChanged (const State::Expression &arg_1) |
void | activeChanged () |
void | autotriggerChanged (bool b) |
void | startPointChanged (bool b) |
void | triggeredByGui () const |
void | waitingChanged (bool b) const |
double | musicalSyncChanged (ossia::musical_sync sync) |
Public Member Functions inherited from score::Entity< TimeSyncModel > | |
Entity (Id< TimeSyncModel > id, const QString &name, QObject *parent) noexcept | |
Entity (Visitor &&vis, QObject *parent) noexcept | |
const score::Components & | components () const noexcept |
score::Components & | components () noexcept |
const score::ModelMetadata & | metadata () const noexcept |
score::ModelMetadata & | metadata () noexcept |
Public Member Functions inherited from IdentifiedObject< model > | |
IdentifiedObject (id_type id, const QString &name, QObject *parent) noexcept | |
template<typename Visitor > | |
IdentifiedObject (Visitor &&v, QObject *parent) noexcept | |
const id_type & | id () const noexcept |
int32_t | id_val () const noexcept final override |
void | setId (const id_type &id) noexcept |
void | setId (id_type &&id) noexcept |
void | resetCache () const noexcept override |
Public Member Functions inherited from IdentifiedObjectAbstract | |
void | identified_object_destroying (IdentifiedObjectAbstract *o) |
To be called by subclasses. | |
void | identified_object_destroyed (IdentifiedObjectAbstract *o) |
Will be called in the IdentifiedObjectAbstract destructor. | |
Public Attributes | |
Selectable | selection {this} |
Public Attributes inherited from IdentifiedObject< model > | |
Path< model > | m_path_cache |
Additional Inherited Members | |
Static Public Attributes inherited from score::Entity< TimeSyncModel > | |
static const constexpr bool | entity_tag |
Static Public Attributes inherited from IdentifiedObject< model > | |
static const constexpr bool | identified_object_tag = true |
Protected Member Functions inherited from IdentifiedObjectAbstract | |
IdentifiedObjectAbstract (const QString &name, QObject *parent) noexcept | |
Constructor & Destructor Documentation
◆ TimeSyncModel()
Scenario::TimeSyncModel::TimeSyncModel | ( | const Id< TimeSyncModel > & | id, |
const TimeVal & | date, | ||
QObject * | parent | ||
) |
The class
Member Data Documentation
◆ selection
Selectable Scenario::TimeSyncModel::selection {this} |
Properties of the class
The documentation for this class was generated from the following files:
- TimeSyncModel.hpp
- TimeSyncModel.cpp