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

Public Types

using ProcessVector = std::list< ProcessStateWrapper >
 
- Public Types inherited from score::Entity< StateModel >
using entity_type = Entity< StateModel >
 
- Public Types inherited from IdentifiedObject< model >
using model_type = model
 
using id_type = Id< model >
 
using object_type = IdentifiedObject< model >
 

Public Member Functions

 StateModel (const Id< StateModel > &id, const Id< EventModel > &eventId, double yPos, const score::DocumentContext &ctx, QObject *parent)
 
template<IsDeserializer DeserializerVisitor>
 StateModel (DeserializerVisitor &&vis, const score::DocumentContext &ctx, QObject *parent)
 
const score::DocumentContextcontext () const noexcept
 
double heightPercentage () const
 
MessageItemModelmessages () const
 
ControlItemModelcontrolMessages () const
 
const Id< EventModel > & eventId () const
 
void setEventId (const Id< EventModel > &)
 
const OptionalId< IntervalModel > & previousInterval () const
 
const OptionalId< IntervalModel > & nextInterval () const
 
void setNextInterval (const OptionalId< IntervalModel > &)
 
void setPreviousInterval (const OptionalId< IntervalModel > &)
 
ProcessVector & previousProcesses ()
 
ProcessVector & followingProcesses ()
 
const ProcessVector & previousProcesses () const
 
const ProcessVector & followingProcesses () const
 
void setStatus (ExecutionStatus)
 
ExecutionStatus status () const
 
void setHeightPercentage (double y)
 
bool empty () const
 
void sig_statesUpdated ()
 
void sig_controlMessagesUpdated ()
 
void heightPercentageChanged ()
 
void statusChanged (Scenario::ExecutionStatus arg_1)
 
void eventChanged (Id< Scenario::EventModel > oldev, Id< Scenario::EventModel > newev)
 
- Public Member Functions inherited from score::Entity< StateModel >
 Entity (Id< StateModel > 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

score::EntityMap< Process::ProcessModel, true > stateProcesses
 
Selectable selection {this}
 
- Public Attributes inherited from IdentifiedObject< model >
Path< model > m_path_cache
 

Additional Inherited Members

- Static Public Attributes inherited from score::Entity< StateModel >
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
 

The documentation for this class was generated from the following files: