41 typedef std::shared_ptr<StateModelLayoutMediator>
MediatorPtr;
89 bool layoutNow(
size_t mediatorId,
bool layoutAll);
118 QList<MediatorLayoutOptionPair> layoutQueue;
132 QList<statechartmodel::StatePtr> states;
141 bool layoutingDisabled;
void enableLayouting(bool enable=true)
bool layoutNow(size_t mediatorId, bool layoutAll)
void startNextLayouting()
startNextLayouting The last worker that layouted is finished and the next should be started.
LayoutController(armarx::statechartmodel::StatePtr topState, bool startEnabled=true)
void setTopState(statechartmodel::StatePtr topState)
setTopState Resets all workers i.e.
void createAllWorkers()
createAllWorkers Creates workers for all mediators
void potentialStateAdded(statechartmodel::StateInstancePtr substate, statechartmodel::SignalType signalType)
potentialStateAdded If a substate is added it might mean that there is a new state needing a LayoutWo...
void scheduleMediator(size_t mediatorId, bool layoutAll)
scheduleMediator Put the mediator in the layoutQueue.
void deleteMediator(size_t mediatorId)
deleteMediator Call the destructor of mediator and tell LayoutWorkerCreator to delete the correspondi...
void reset()
reset Notifies the LayoutWorkerCreator that the topState has been reset.
size_t getStateId(armarx::statechartmodel::StatePtr state) const
void createWorker(MediatorPtr mediator, size_t id, QString name)
createWorker Tells the LayoutWorkerCreator to create a new worker for this mediator.
std::shared_ptr< State > StatePtr
std::shared_ptr< StateInstance > StateInstancePtr
SignalType
The SignalType enum.
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< StateModelLayoutMediator > MediatorPtr
std::pair< size_t, bool > MediatorLayoutOptionPair
std::map< size_t, MediatorPtr > MediatorMap