#include "ModelServiceAPI.h"
Public Member Functions | |
| ModelServiceAPI (const std::string &thisServiceURL, const std::string &modelServiceURL) | |
| ModelServiceAPI () | |
| std::string | getCurrentModelVersion (void) |
| EntityBase * | readEntityFromEntityIDandVersion (UID _entityID, UID _version, ClassFactoryHandler &classFactory) |
| UID | getCurrentVisualizationModelID (void) |
| std::list< std::string > | getListOfFolderItems (const std::string &_folder, bool recursive=false) |
| void | getAvailableMeshes (std::string &_meshFolderName, UID &_meshFolderID, std::string &_meshName, UID &_meshID) |
| std::list< UID > | getIDsOfFolderItemsOfType (const std::string &_folder, const std::string &_entityClassName, bool recursive) |
| void | enableMessageQueueing (bool flag) |
| void | modelChangeOperationCompleted (const std::string &description) |
| void | addEntitiesToModel (std::list< UID > &_topologyEntityIDList, std::list< UID > &_topologyEntityVersionList, std::list< bool > &_topologyEntityForceVisible, std::list< UID > &_dataEntityIDList, std::list< UID > &_dataEntityVersionList, std::list< UID > &_dataEntityParentList, const std::string &_changeComment, bool askForBranchCreation=true, bool saveModel=true) |
| void | addEntitiesToModel (std::list< UID > &&_topologyEntityIDList, std::list< UID > &&_topologyEntityVersionList, std::list< bool > &&_topologyEntityForceVisible, std::list< UID > &&_dataEntityIDList, std::list< UID > &&_dataEntityVersionList, std::list< UID > &&_dataEntityParentList, const std::string &_changeComment, bool askForBranchCreation=true, bool saveModel=true) |
| void | addGeometryOperation (UID _newEntityID, UID _newEntityVersion, std::string _newEntityName, std::list< UID > &_dataEntityIDList, std::list< UID > &_dataEntityVersionList, std::list< UID > &_dataEntityParentList, std::list< std::string > &_childrenList, const std::string &_changeComment) |
| void | deleteEntitiesFromModel (std::list< std::string > &_entityNameList, bool _saveModel=true) |
| void | getEntityInformation (const std::list< UID > &_entities, std::list< EntityInformation > &_entityInfo) |
| void | getEntityInformation (const std::list< std::string > &_entities, std::list< EntityInformation > &_entityInfo) |
| bool | getEntityInformation (const std::string &_entity, EntityInformation &_entityInfo) |
| void | getEntityChildInformation (const std::string &_entity, std::list< EntityInformation > &_entityInfo, bool recursive) |
| void | getEntityChildInformation (UID _entity, std::list< EntityInformation > &_entityInfo, bool recursive) |
| void | getSelectedEntityInformation (std::list< EntityInformation > &_entityInfo, const std::string &typeFilter="") |
| void | addPropertiesToEntities (std::list< UID > &_entityList, const ot::PropertyGridCfg &_configuration) |
| void | getEntityProperties (UID _entity, bool _recursive, const std::string &_propertyGroupFilter, std::map< UID, EntityProperties > &_entityProperties) |
| void | getEntityProperties (const std::string &entityName, bool _recursive, const std::string &_propertyGroupFilter, std::map< UID, EntityProperties > &_entityProperties) |
| void | updatePropertyGrid () |
| void | updateTopologyEntities (ot::UIDList &topologyEntityIDs, ot::UIDList &topologyEntityVersions, const std::string &comment) |
Protected Member Functions | |
| virtual const std::string & | getModelServiceURL () |
| virtual const std::string & | getThisServiceURL () |
Protected Attributes | |
| std::string | m_modelServiceURL |
| std::string | m_thisServiceURL |
|
inline |
|
inline |
| void ot::ModelServiceAPI::addEntitiesToModel | ( | std::list< UID > && | _topologyEntityIDList, |
| std::list< UID > && | _topologyEntityVersionList, | ||
| std::list< bool > && | _topologyEntityForceVisible, | ||
| std::list< UID > && | _dataEntityIDList, | ||
| std::list< UID > && | _dataEntityVersionList, | ||
| std::list< UID > && | _dataEntityParentList, | ||
| const std::string & | _changeComment, | ||
| bool | askForBranchCreation = true, | ||
| bool | saveModel = true ) |
| void ot::ModelServiceAPI::addEntitiesToModel | ( | std::list< UID > & | _topologyEntityIDList, |
| std::list< UID > & | _topologyEntityVersionList, | ||
| std::list< bool > & | _topologyEntityForceVisible, | ||
| std::list< UID > & | _dataEntityIDList, | ||
| std::list< UID > & | _dataEntityVersionList, | ||
| std::list< UID > & | _dataEntityParentList, | ||
| const std::string & | _changeComment, | ||
| bool | askForBranchCreation = true, | ||
| bool | saveModel = true ) |
| void ot::ModelServiceAPI::addGeometryOperation | ( | UID | _newEntityID, |
| UID | _newEntityVersion, | ||
| std::string | _newEntityName, | ||
| std::list< UID > & | _dataEntityIDList, | ||
| std::list< UID > & | _dataEntityVersionList, | ||
| std::list< UID > & | _dataEntityParentList, | ||
| std::list< std::string > & | _childrenList, | ||
| const std::string & | _changeComment ) |
| void ot::ModelServiceAPI::addPropertiesToEntities | ( | std::list< UID > & | _entityList, |
| const ot::PropertyGridCfg & | _configuration ) |
| void ot::ModelServiceAPI::deleteEntitiesFromModel | ( | std::list< std::string > & | _entityNameList, |
| bool | _saveModel = true ) |
| void ot::ModelServiceAPI::enableMessageQueueing | ( | bool | flag | ) |
| void ot::ModelServiceAPI::getAvailableMeshes | ( | std::string & | _meshFolderName, |
| UID & | _meshFolderID, | ||
| std::string & | _meshName, | ||
| UID & | _meshID ) |
| std::string ot::ModelServiceAPI::getCurrentModelVersion | ( | void | ) |
| ot::UID ot::ModelServiceAPI::getCurrentVisualizationModelID | ( | void | ) |
| void ot::ModelServiceAPI::getEntityChildInformation | ( | const std::string & | _entity, |
| std::list< EntityInformation > & | _entityInfo, | ||
| bool | recursive ) |
| void ot::ModelServiceAPI::getEntityChildInformation | ( | UID | _entity, |
| std::list< EntityInformation > & | _entityInfo, | ||
| bool | recursive ) |
| void ot::ModelServiceAPI::getEntityInformation | ( | const std::list< std::string > & | _entities, |
| std::list< EntityInformation > & | _entityInfo ) |
| void ot::ModelServiceAPI::getEntityInformation | ( | const std::list< UID > & | _entities, |
| std::list< EntityInformation > & | _entityInfo ) |
| bool ot::ModelServiceAPI::getEntityInformation | ( | const std::string & | _entity, |
| EntityInformation & | _entityInfo ) |
| void ot::ModelServiceAPI::getEntityProperties | ( | const std::string & | entityName, |
| bool | _recursive, | ||
| const std::string & | _propertyGroupFilter, | ||
| std::map< UID, EntityProperties > & | _entityProperties ) |
| void ot::ModelServiceAPI::getEntityProperties | ( | UID | _entity, |
| bool | _recursive, | ||
| const std::string & | _propertyGroupFilter, | ||
| std::map< UID, EntityProperties > & | _entityProperties ) |
| std::list< ot::UID > ot::ModelServiceAPI::getIDsOfFolderItemsOfType | ( | const std::string & | _folder, |
| const std::string & | _entityClassName, | ||
| bool | recursive ) |
| std::list< std::string > ot::ModelServiceAPI::getListOfFolderItems | ( | const std::string & | _folder, |
| bool | recursive = false ) |
|
inlineprotectedvirtual |
Reimplemented in ot::components::ModelComponent.
| void ot::ModelServiceAPI::getSelectedEntityInformation | ( | std::list< EntityInformation > & | _entityInfo, |
| const std::string & | typeFilter = "" ) |
|
inlineprotectedvirtual |
Reimplemented in ot::components::ModelComponent.
| void ot::ModelServiceAPI::modelChangeOperationCompleted | ( | const std::string & | description | ) |
| EntityBase * ot::ModelServiceAPI::readEntityFromEntityIDandVersion | ( | UID | _entityID, |
| UID | _version, | ||
| ClassFactoryHandler & | classFactory ) |
| void ot::ModelServiceAPI::updatePropertyGrid | ( | ) |
| void ot::ModelServiceAPI::updateTopologyEntities | ( | ot::UIDList & | topologyEntityIDs, |
| ot::UIDList & | topologyEntityVersions, | ||
| const std::string & | comment ) |
|
protected |
|
protected |