![]() |
VR-Forces 4.7 Class Documentation
|
A DtCigiViewControl receives messages from the DtCigiConnection and actually changes the channel settings or attaches an observer. More...
Classes | |
| struct | DtViewControlAction |
| Structure for a view control action. More... | |
| struct | DtViewControlPosition |
| Structure for the position of a view. More... | |
| struct | DtViewDefinitionAction |
| Structure defines a view definition action. More... | |
Public Types | |
| enum | CIGI_GROUP_ATTACH_TYPE { CigiAttachTypeTether = 252, CigiAttachTypeMimic = 253, CigiAttachTypeFollow = 254, CigiAttachTypeTrack = 255 } |
| typedef std::set< int > | DtViewGroup |
| typedef std::map< int, DtViewGroup > | GroupIdToGroupMap |
| typedef std::map< int, DtViewControlPosition > | ViewIdToPositionMap |
Public Member Functions | |
| virtual | ~DtCigiViewController () |
| Destructor. | |
| virtual std::string | viewIdKeyword (int viewId) |
| Will return cigiView + viewId. | |
| virtual const ViewIdToPositionMap & | viewIdToPositionMap () const |
| Get the map that provides a DtViewControlPosition from a viewId. | |
| virtual ViewIdToPositionMap & | viewIdToPositionMap () |
| virtual const GroupIdToGroupMap & | groupIdToGroupMap () const |
| Get the map that provides a DtViewGroup from a groupId. | |
| virtual GroupIdToGroupMap & | groupIdToGroupMap () |
Protected Member Functions | |
| DtCigiViewController (DtDe &de, DtCigiConnection &connection) | |
| Constructor. | |
| virtual void | modifyConfiguration (const std::string &displayName, const std::string &windowName, const std::string &channelName, const DtChannelConfiguration &config) |
| Changes the channel configuration. | |
| virtual bool | retrieveConfiguration (int viewId, std::string &displayName, std::string &windowName, std::string &channelName, DtChannelConfiguration &config) |
| Gets the configuration for the particular view. | |
| virtual void | attachObserver (int viewId, const DtViewControlAction &action, DtObserverObject::AttachType attachType=DtObserverObject::AttachTypeMimic) |
| Attach the observer of the specified view, using the parameters in action. | |
| virtual DtViewControlPosition | viewControlPosition (int viewId, const DtViewControlAction &action) |
| Returns the position specified by the action. | |
| virtual void | addViewToGroup (int viewId, int groupId) |
| Adds the specified view to the specified group. | |
| virtual void | slot_onViewDefinitionReceived (int viewId, DtCigiViewController::DtViewDefinitionAction action) |
| Called when we receive a view definition. | |
| virtual void | performSetViewDefinition (int viewId, const DtCigiViewController::DtViewDefinitionAction &action) |
| Perform the view definition action in a thread-safe way. | |
| virtual void | slot_onViewControlReceived (int viewId, DtCigiViewController::DtViewControlAction action) |
| Called when a view control is received. | |
| virtual void | performSetViewControl (int viewId, const DtCigiViewController::DtViewControlAction &action) |
| Perform the view control in a thread-safe way. | |
Protected Attributes | |
| DtDe & | myDe |
| DtCigiConnection & | myCigiConnection |
| DtSignalConnectionManager | myConnections |
| ViewIdToPositionMap | myViewIdToPositionMap |
| GroupIdToGroupMap | myGroupIdToGroupMap |
Friends | |
| class | DtCigiViewControllerCreator |
A DtCigiViewControl receives messages from the DtCigiConnection and actually changes the channel settings or attaches an observer.
| typedef std::set<int> makVrv::DtCigiViewController::DtViewGroup |
| typedef std::map<int, DtViewGroup> makVrv::DtCigiViewController::GroupIdToGroupMap |
| typedef std::map<int, DtViewControlPosition> makVrv::DtCigiViewController::ViewIdToPositionMap |
|
virtual |
Destructor.
|
protected |
Constructor.
|
virtual |
Will return cigiView + viewId.
|
virtual |
Get the map that provides a DtViewControlPosition from a viewId.
|
virtual |
|
virtual |
Get the map that provides a DtViewGroup from a groupId.
|
virtual |
|
protectedvirtual |
Changes the channel configuration.
|
protectedvirtual |
Gets the configuration for the particular view.
|
protectedvirtual |
Attach the observer of the specified view, using the parameters in action.
|
protectedvirtual |
Returns the position specified by the action.
|
protectedvirtual |
Adds the specified view to the specified group.
|
protectedvirtual |
Called when we receive a view definition.
|
protectedvirtual |
Perform the view definition action in a thread-safe way.
|
protectedvirtual |
Called when a view control is received.
|
protectedvirtual |
Perform the view control in a thread-safe way.
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |