Loading...
Searching...
No Matches
Scenario::EventModel Class Referencefinal
Inheritance diagram for Scenario::EventModel:
Public Types | |
| using | StateIdVec = ossia::small_vector< Id< StateModel >, 2 > |
Public Types inherited from score::Entity< EventModel > | |
| using | entity_type = Entity< EventModel > |
Public Types inherited from IdentifiedObject< model > | |
| using | model_type = model |
| using | id_type = Id< model > |
| using | object_type = IdentifiedObject< model > |
Public Member Functions | |
| EventModel (const Id< EventModel > &, const Id< TimeSyncModel > ×ync, const TimeVal &date, QObject *parent) | |
| template<typename DeserializerVisitor > | |
| EventModel (DeserializerVisitor &&vis, QObject *parent) | |
| void | changeTimeSync (const Id< TimeSyncModel > &elt) |
| const Id< TimeSyncModel > & | timeSync () const noexcept |
| void | addState (const Id< StateModel > &ds) |
| void | removeState (const Id< StateModel > &ds) |
| void | clearStates () |
| const StateIdVec & | states () const noexcept |
| const State::Expression & | condition () const noexcept |
| OffsetBehavior | offsetBehavior () const noexcept |
| const TimeVal & | date () const noexcept |
| void | translate (const TimeVal &deltaTime) |
| ExecutionStatus | status () const noexcept |
| bool | active () const noexcept |
| void | setCondition (const State::Expression &arg) |
| void | setDate (const TimeVal &date) |
| void | setStatus (Scenario::ExecutionStatus status, const Scenario::ScenarioInterface &) |
| void | setOffsetBehavior (Scenario::OffsetBehavior) |
| const QBrush & | color (const Process::Style &) const noexcept |
| void | dateChanged (const TimeVal &arg_1) |
| void | conditionChanged (const State::Expression &arg_1) |
| void | statesChanged () |
| void | statusChanged (Scenario::ExecutionStatus status) |
| void | offsetBehaviorChanged (OffsetBehavior arg_1) |
| void | timeSyncChanged (Id< Scenario::TimeSyncModel > oldt, Id< Scenario::TimeSyncModel > newt) |
Public Member Functions inherited from score::Entity< EventModel > | |
| Entity (Id< EventModel > 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< EventModel > | |
| 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
◆ EventModel()
| Scenario::EventModel::EventModel | ( | const Id< EventModel > & | id, |
| const Id< TimeSyncModel > & | timesync, | ||
| const TimeVal & | date, | ||
| QObject * | parent | ||
| ) |
The class
Member Data Documentation
◆ selection
| Selectable Scenario::EventModel::selection {this} |
Public properties of the class
The documentation for this class was generated from the following files:
- EventModel.hpp
- EventModel.cpp
Public Types inherited from