![]() |
ufe
2.0
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
|
Singleton class to manage UFE run-times. More...
#include <runTimeMgr.h>
Classes | |
| struct | Handlers |
Static Public Member Functions | |
| static RunTimeMgr & | instance () |
Private Member Functions | |
| RunTimeMgr () | |
| Cannot create a run-time manager aside from the singleton instance. More... | |
Singleton class to manage UFE run-times.
This singleton class is where UFE run-times register handlers for different interfaces. Clients that wish to use interfaces ask the run-time manager to return the appropriate handler for that interface, for the appropriate run-time.
Definition at line 37 of file runTimeMgr.h.
|
delete |
Cannot copy the run-time manager singleton.
|
private |
Cannot create a run-time manager aside from the singleton instance.
| AttributesHandler::Ptr Ufe::RunTimeMgr::attributesHandler | ( | const Rtid & | rtId | ) | const |
Retrieve the Attributes handler of a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| CameraHandler::Ptr Ufe::RunTimeMgr::cameraHandler | ( | const Rtid & | rtId | ) | const |
Retrieve the Camera handler of a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| ContextOpsHandler::Ptr Ufe::RunTimeMgr::contextOpsHandler | ( | const Rtid & | rtId | ) | const |
Retrieve the ContextOps handler of a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| Rtid Ufe::RunTimeMgr::getId | ( | const std::string & | rtName | ) | const |
| InvalidRunTimeName | Thrown if argument run-time name does not exist. |
| std::list<Rtid> Ufe::RunTimeMgr::getIds | ( | ) | const |
| std::string Ufe::RunTimeMgr::getName | ( | const Rtid & | rtId | ) | const |
| InvalidRunTimeId | Thrown if argument run-time ID does not exist. |
| bool Ufe::RunTimeMgr::hasId | ( | const Rtid & | rtId | ) | const |
| HierarchyHandler::Ptr Ufe::RunTimeMgr::hierarchyHandler | ( | const Rtid & | rtId | ) | const |
Retrieve the HierarchyHandler of a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| const HierarchyHandler& Ufe::RunTimeMgr::hierarchyHandlerRef | ( | const Rtid & | rtId | ) | const |
Retrieve the Hierarchy handler of a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| InvalidRunTimeId | Thrown if argument run-time does not exist. |
|
static |
| Object3dHandler::Ptr Ufe::RunTimeMgr::object3dHandler | ( | const Rtid & | rtId | ) | const |
Retrieve the Object3d handler of a given run-time ID.
| rtId | the ID of the run-time for the handler. |
|
delete |
Cannot assign the run-time manager singleton.
Register a run-time and its handlers to create interfaces. register is a reserved C++ keyword, using register_ instead.
| rtName | the name of the run-time for the handlers. |
| handlers | the handlers for each interface to be registered. |
| InvalidRunTimeName | Thrown if argument run-time name already exists. |
| SceneItemOpsHandler::Ptr Ufe::RunTimeMgr::sceneItemOpsHandler | ( | const Rtid & | rtId | ) | const |
Retrieve the SceneItemOps handler of a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| void Ufe::RunTimeMgr::setAttributesHandler | ( | const Rtid & | rtId, |
| const AttributesHandler::Ptr & | attributesHandler | ||
| ) |
Set an AttributesHandler to a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| attributesHandler | the Attributes interface factory. |
| void Ufe::RunTimeMgr::setCameraHandler | ( | const Rtid & | rtId, |
| const CameraHandler::Ptr & | cameraHandler | ||
| ) |
Set a CameraHandler to a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| cameraHandler | the CameraHandler object. |
| void Ufe::RunTimeMgr::setContextOpsHandler | ( | const Rtid & | rtId, |
| const ContextOpsHandler::Ptr & | contextOpsHandler | ||
| ) |
Set a ContextOpsHandler to a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| contextOpsHandler | the ContextOps interface factory. |
| void Ufe::RunTimeMgr::setHierarchyHandler | ( | const Rtid & | rtId, |
| const HierarchyHandler::Ptr & | hierarchyHandler | ||
| ) |
Set a HierarchyHandler to a given run-time ID
| rtId | the ID of the run-time for the handler. |
| hierarchyHandler | the Hierarchy interface factory. |
| void Ufe::RunTimeMgr::setObject3dHandler | ( | const Rtid & | rtId, |
| const Object3dHandler::Ptr & | object3dHandler | ||
| ) |
Set an Object3dHandler to a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| object3dHandler | the Object3d interface factory. |
| void Ufe::RunTimeMgr::setSceneItemOpsHandler | ( | const Rtid & | rtId, |
| const SceneItemOpsHandler::Ptr & | sceneItemOpsHandler | ||
| ) |
Set a SceneItemOpsHandler to a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| sceneItemOpsHandler | the SceneItemOps interface factory. |
| void Ufe::RunTimeMgr::setTransform3dHandler | ( | const Rtid & | rtId, |
| const Transform3dHandler::Ptr & | transform3dHandler | ||
| ) |
Set a Transform3dHandler to a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| transform3dHandler | the Transform3d interface factory. |
| void Ufe::RunTimeMgr::setUIInfoHandler | ( | const Rtid & | rtId, |
| const UIInfoHandler::Ptr & | uiInfoHandler | ||
| ) |
Set a UIInfoHandler to a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| uiInfoHandler | the UIInfoHandler object. |
| Transform3dHandler::Ptr Ufe::RunTimeMgr::transform3dHandler | ( | const Rtid & | rtId | ) | const |
Retrieve the Transform3d handler of a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| UIInfoHandler::Ptr Ufe::RunTimeMgr::uiInfoHandler | ( | const Rtid & | rtId | ) | const |
Retrieve the UI Info handler of a given run-time ID.
| rtId | the ID of the run-time for the handler. |
| bool Ufe::RunTimeMgr::unregister | ( | const Rtid & | rtId | ) |
Unregister the given run-time ID.
| rtId | the ID of the run-time for the handlers. |