Scenario::EventModel Class Referencefinal
Inheritance diagram for Scenario::EventModel:
score::Entity< EventModel > IdentifiedObject< model > IdentifiedObjectAbstract

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 > &timesync, 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::Expressioncondition () const noexcept
 
OffsetBehavior offsetBehavior () const noexcept
 
const TimeValdate () 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::Componentscomponents () const noexcept
 
score::Componentscomponents () noexcept
 
const score::ModelMetadatametadata () const noexcept
 
score::ModelMetadatametadata () 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_typeid () 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
 

Friends

constexpr friend auto w_state (w_internal::Index< w_internal::stateCount< __COUNTER__, w_internal::PropertyStateTag, W_ThisType ** >>, w_internal::PropertyStateTag, W_ThisType **) -> decltype((w_internal::makeMetaPropertyInfo< Scenario::OffsetBehavior >(w_internal::viewLiteral("offsetBehavior"), w_internal::viewLiteral("Scenario::OffsetBehavior"), &W_ThisType::offsetBehavior, &W_ThisType::setOffsetBehavior, W_Notify, &W_ThisType::offsetBehaviorChanged, W_Final)))
 

Additional Inherited Members

- Static Public Attributes inherited from score::Entity< EventModel >
static constexpr const bool entity_tag
 
- Static Public Attributes inherited from IdentifiedObject< model >
static constexpr const 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: