Scenario::Command::Macro Class Reference

Public Member Functions

 Macro (score::AggregateCommand *cmd, const score::DocumentContext &ctx)
 
StateModelcreateState (const Scenario::ProcessModel &scenar, const Id< EventModel > &ev, double y)
 
std::tuple< TimeSyncModel &, EventModel &, StateModel & > createDot (const Scenario::ProcessModel &scenar, Scenario::Point pt)
 
IntervalModelcreateBox (const Scenario::ProcessModel &scenar, TimeVal start, TimeVal end, double y)
 
IntervalModelcreateIntervalAfter (const Scenario::ProcessModel &scenar, const Id< Scenario::StateModel > &state, Scenario::Point pt)
 
IntervalModelcreateInterval (const Scenario::ProcessModel &scenar, const Id< Scenario::StateModel > &start, const Id< Scenario::StateModel > &end)
 
Process::ProcessModelcreateProcess (const Scenario::StateModel &st, const UuidKey< Process::ProcessModel > &key, const QString &data)
 
Process::ProcessModelcreateProcess (const Scenario::IntervalModel &interval, const UuidKey< Process::ProcessModel > &key, const QString &data, const QPointF &pos)
 
Process::ProcessModelcreateProcess (const Scenario::IntervalModel &interval, const Process::ProcessData &data, const QPointF &pos)
 
template<typename T >
T & createProcess (const Scenario::IntervalModel &interval, const QString &data, const QPointF &pos)
 
Process::ProcessModelcreateProcessInNewSlot (const Scenario::IntervalModel &interval, const UuidKey< Process::ProcessModel > &key, const QString &data)
 
Process::ProcessModelcreateProcessInNewSlot (const Scenario::IntervalModel &interval, const UuidKey< Process::ProcessModel > &key, const QString &data, const QPointF &pos)
 
Process::ProcessModelcreateProcessInNewSlot (const Scenario::IntervalModel &interval, const Process::ProcessData &data)
 
Process::ProcessModelcreateProcessInNewSlot (const Scenario::IntervalModel &interval, const Process::ProcessData &data, const QPointF &pos)
 
template<typename T >
T & createProcessInNewSlot (const Scenario::IntervalModel &interval, const QString &data)
 
Process::ProcessModelloadProcess (const Scenario::IntervalModel &interval, const rapidjson::Value &procdata)
 
Process::ProcessModelloadProcessInSlot (const Scenario::IntervalModel &interval, const rapidjson::Value &procdata)
 
Process::ProcessModelloadProcessFromPreset (const IntervalModel &interval, const Process::Preset &preset, QPointF pos=QPointF{})
 
void createViewForNewProcess (const IntervalModel &interval, const Process::ProcessModel &proc)
 
void clearInterval (const Scenario::IntervalModel &)
 
void resizeInterval (const IntervalModel &itv, const TimeVal &dur)
 
void setIntervalMin (const IntervalModel &itv, const TimeVal &dur, bool noMin)
 
void setIntervalMax (const IntervalModel &itv, const TimeVal &dur, bool infinite)
 
void createSlot (const Scenario::IntervalModel &interval)
 
void addLayer (const Scenario::IntervalModel &interval, int slot_index, const Process::ProcessModel &proc)
 
void addLayerToLastSlot (const Scenario::IntervalModel &interval, const Process::ProcessModel &proc)
 
void addLayerInNewSlot (const Scenario::IntervalModel &interval, const Process::ProcessModel &proc)
 
void addLayer (const Scenario::SlotPath &slotpath, const Process::ProcessModel &proc)
 
void showRack (const Scenario::IntervalModel &interval)
 
void resizeSlot (const Scenario::IntervalModel &interval, const SlotPath &slotPath, double newSize)
 
void resizeSlot (const Scenario::IntervalModel &interval, SlotPath &&slotPath, double newSize)
 
IntervalModelduplicate (const Scenario::ProcessModel &scenario, const Scenario::IntervalModel &itv)
 
Process::ProcessModelduplicateProcess (const Scenario::IntervalModel &itv, const Process::ProcessModel &process)
 
void pasteElements (const Scenario::ProcessModel &scenario, const rapidjson::Value &objs, Scenario::Point pos)
 
void pasteElementsAfter (const ProcessModel &scenario, const TimeSyncModel &sync, const rapidjson::Value &objs, double scale)
 
void mergeTimeSyncs (const Scenario::ProcessModel &scenario, const Id< TimeSyncModel > &a, const Id< TimeSyncModel > &b)
 
void moveProcess (const Scenario::IntervalModel &old_interval, const Scenario::IntervalModel &new_interval, const Id< Process::ProcessModel > &proc)
 
void moveSlot (const IntervalModel &old_interval, const IntervalModel &new_interval, int slot_idx)
 
void removeProcess (const Scenario::IntervalModel &interval, const Id< Process::ProcessModel > &proc)
 
Process::CablecreateCable (const Scenario::ScenarioDocumentModel &dp, const Process::Port &source, const Process::Port &sink)
 
void removeCable (const Scenario::ScenarioDocumentModel &dp, const Process::Cable &theCable)
 
void loadCables (const ObjectPath &parent, const Dataflow::SerializedCables &c)
 
void removeElements (const Scenario::ProcessModel &scenario, const Selection &sel)
 
void addMessages (const Scenario::StateModel &state, State::MessageList msgs)
 
void findAndReplace (tcb::span< QObject * > sel, const State::Address &oldRoot, const State::Address &newRoot)
 
std::vector< Process::ProcessModel * > automate (const Scenario::IntervalModel &scenar, const QString &addr)
 
Process::ProcessModelautomate (const Scenario::IntervalModel &parent, const Process::Inlet &port)
 
Process::ProcessModelautomate (const IntervalModel &interval, const std::vector< SlotPath > &slotList, Id< Process::ProcessModel > curveId, State::AddressAccessor address, const Curve::CurveDomain &dom, bool tween)
 
template<typename Property , typename T , typename U >
void setProperty (const T &object, U &&value)
 
void submit (score::Command *cmd)
 
void commit ()
 

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