26 #include "../../StatechartViewerPlugin/model/stateinstance/EndState.h"
27 #include "../../StatechartViewerPlugin/model/stateinstance/LocalState.h"
28 #include "../../StatechartViewerPlugin/model/stateinstance/RemoteState.h"
29 #include "../../StatechartViewerPlugin/model/stateinstance/DynamicRemoteState.h"
45 throw XmlReaderException(
"Attribute \"" + attributeName.toStdString() +
"\" for \"" + node->name() +
"\" node not found!");
53 return QString::fromUtf8(attribute->value());
56 StateInstanceFactoryBase::SubClassRegistry EndStateInstanceFactory::registry(EndStateInstanceFactory::getName(), &EndStateInstanceFactory::createInstance);
57 StateInstanceFactoryBase::SubClassRegistry LocalStateInstanceFactory::registry(LocalStateInstanceFactory::getName(), &LocalStateInstanceFactory::createInstance);
58 StateInstanceFactoryBase::SubClassRegistry RemoteStateInstanceFactory::registry(RemoteStateInstanceFactory::getName(), &RemoteStateInstanceFactory::createInstance);
59 StateInstanceFactoryBase::SubClassRegistry DynamicRemoteStateInstanceFactory::registry(DynamicRemoteStateInstanceFactory::getName(), &DynamicRemoteStateInstanceFactory::createInstance);
63 parentState(parentState) {}
77 return endStateInstance;
98 return localStateInstance;
120 return remoteStateInstance;
141 return dynamicRemoteStateInstance;