![]() |
VR-Forces 5.0.3 Developer's Guide
|
This class manages mapping between CIGI views and VRV observers / channels.
Classes | |
| struct | DtViewControlAction |
| struct | DtViewControlPosition |
| struct | DtViewDefinitionAction |
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 | ~DtCigiViewManager () |
| virtual DtViewControlPosition | viewControlPosition (int viewId, const DtViewControlAction &action) |
| virtual void | addViewToGroup (int viewId, int groupId) |
| virtual std::string | viewIdKeyword (int viewId) |
| virtual bool | retrieveConfiguration (DtDe &de, int viewId, std::string &displayName, std::string &windowName, std::string &channelName, DtChannelConfiguration &config) |
| virtual int | maxRenderOrder (DtDe &de, int viewId, std::string &displayName, std::string &windowName) |
| virtual DtObserver * | findObserverFromCigiViewId (DtDe &de, int viewId) |
| virtual DtChannel * | findChannelFromCigiViewId (DtDe &de, int viewId) |
| virtual void | getViewNames (DtDe &de, int viewId, std::string &displayName, std::string &windowName, std::string &channelName) |
| virtual const ViewIdToPositionMap & | viewIdToPositionMap () const |
| virtual ViewIdToPositionMap & | viewIdToPositionMap () |
| virtual const GroupIdToGroupMap & | groupIdToGroupMap () const |
| virtual GroupIdToGroupMap & | groupIdToGroupMap () |
Public Attributes | |
| boost::signalslib::signal < void(int, DtViewDefinitionAction)> | signal_receivedViewDefinition |
| boost::signalslib::signal < void(int, DtViewControlAction)> | signal_receivedViewControl |
Protected Member Functions | |
| DtCigiViewManager (DtCigiConnection &connection) | |
| virtual void | slot_processViewDefinition (CigiBaseViewDef &viewDefinition) |
| virtual void | slot_viewControlReceived (CigiBaseViewCtrl &viewControl) |
Protected Attributes | |
| DtCigiConnection & | myConnection |
| DtSignalConnectionManager | myCigiConnectionSignals |
| ViewIdToPositionMap | myViewIdToPositionMap |
| GroupIdToGroupMap | myGroupIdToGroupMap |
Private Member Functions | |
| DtCigiViewManager (const DtCigiViewManager &orig) | |
| DtCigiViewManager & | operator= (DtCigiViewManager &rhs) |
Friends | |
| class | DtCigiViewManagerCreator |
| typedef std::set<int> makVrv::DtCigiViewManager::DtViewGroup |
| typedef std::map<int, DtViewGroup> makVrv::DtCigiViewManager::GroupIdToGroupMap |
| typedef std::map<int, DtViewControlPosition> makVrv::DtCigiViewManager::ViewIdToPositionMap |
|
virtual |
DTOR.
|
protected |
CTOR.
|
private |
unimplemented CCTOR
|
virtual |
Get the map that provides a DtViewControlPosition from a viewId.
|
virtual |
Get the map that provides a DtViewControlPosition from a viewId.
|
virtual |
Get the map that provides a DtViewGroup from a groupId.
|
virtual |
Get the map that provides a DtViewGroup from a groupId.
|
virtual |
Returns the position specified by the action.
Adds the specified view to the specified group.
|
virtual |
Will return cigiView + viewId.
|
virtual |
Gets the configuration for the particular view. This will run in the main render thread if the cigi connection is running in a separate thread.
|
virtual |
Get the maximum value of the render order from all channels on in param display and window. Allows for View Definition reorder to bring a channel to the front.
|
virtual |
Get the observer associated with this cigi view id. This will run in the main render thread if the cigi connection is running in a separate thread.
|
virtual |
Find the channel with the cigi view id keyword This will run in the main render thread if the cigi connection is running in a separate thread.
|
virtual |
Get the display, window, channel name from the CIGI View ID.
|
protectedvirtual |
Processes View Definition messages. Packs a DtCigiViewController::DtViewDefinitionAction struct and emits a signal_receivedViewDefinition() from the connection.
|
protectedvirtual |
Slot processes view control messages.
|
private |
unimplemented assignment CTOR
|
friend |
| boost::signalslib::signal<void( int, DtViewDefinitionAction )> makVrv::DtCigiViewManager::signal_receivedViewDefinition |
Emitted when a CIGI View definition is received.
| boost::signalslib::signal<void( int, DtViewControlAction )> makVrv::DtCigiViewManager::signal_receivedViewControl |
Emitted when a CIGI View Control is received.
|
protected |
|
protected |
|
protected |
|
protected |