![]() |
VR-Forces 4.0.4 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 Member Functions | |
| DtCigiViewController (DtDe &de, DtCigiDriver &driver, DtCigiConnection &connection, bool usingThread) | |
| Constructor. | |
| virtual | ~DtCigiViewController () |
| Destructor. | |
Protected Types | |
| typedef std::set< int > | DtViewGroup |
Protected Member Functions | |
| 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, DtViewControlAction action) |
| Attach the observer of the specified view, using the parameters in action. | |
| virtual std::string | viewIdKeyword (int viewId) |
| Will return cigiView + viewId. | |
| virtual DtViewControlPosition | viewControlPosition (int viewId, 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, 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, DtCigiViewController::DtViewControlAction action) |
| Perform the view control in a thread-safe way. | |
Protected Attributes | |
| DtDe & | myDe |
| DtCigiDriver & | myDriver |
| bool | myUseThreadFlag |
| DtSignalConnectionManager | myConnections |
| std::map< int, DtViewControlPosition > | myViewIdToPositionMap |
| std::map< int, DtViewGroup > | myGroupIdToGroupMap |
A DtCigiViewControl receives messages from the DtCigiConnection and actually changes the channel settings or attaches an observer.
typedef std::set<int> makVrv::DtCigiViewController::DtViewGroup [protected] |
| makVrv::DtCigiViewController::DtCigiViewController | ( | DtDe & | de, |
| DtCigiDriver & | driver, | ||
| DtCigiConnection & | connection, | ||
| bool | usingThread | ||
| ) |
Constructor.
| virtual makVrv::DtCigiViewController::~DtCigiViewController | ( | ) | [virtual] |
Destructor.
| virtual void makVrv::DtCigiViewController::modifyConfiguration | ( | const std::string & | displayName, |
| const std::string & | windowName, | ||
| const std::string & | channelName, | ||
| const DtChannelConfiguration & | config | ||
| ) | [protected, virtual] |
Changes the channel configuration.
| virtual bool makVrv::DtCigiViewController::retrieveConfiguration | ( | int | viewId, |
| std::string & | displayName, | ||
| std::string & | windowName, | ||
| std::string & | channelName, | ||
| DtChannelConfiguration & | config | ||
| ) | [protected, virtual] |
Gets the configuration for the particular view.
| virtual void makVrv::DtCigiViewController::attachObserver | ( | int | viewId, |
| DtViewControlAction | action | ||
| ) | [protected, virtual] |
Attach the observer of the specified view, using the parameters in action.
| virtual std::string makVrv::DtCigiViewController::viewIdKeyword | ( | int | viewId | ) | [protected, virtual] |
Will return cigiView + viewId.
| virtual DtViewControlPosition makVrv::DtCigiViewController::viewControlPosition | ( | int | viewId, |
| DtViewControlAction | action | ||
| ) | [protected, virtual] |
Returns the position specified by the action.
| virtual void makVrv::DtCigiViewController::addViewToGroup | ( | int | viewId, |
| int | groupId | ||
| ) | [protected, virtual] |
Adds the specified view to the specified group.
| virtual void makVrv::DtCigiViewController::slot_onViewDefinitionReceived | ( | int | viewId, |
| DtCigiViewController::DtViewDefinitionAction | action | ||
| ) | [protected, virtual] |
Called when we receive a view definition.
| virtual void makVrv::DtCigiViewController::performSetViewDefinition | ( | int | viewId, |
| DtCigiViewController::DtViewDefinitionAction | action | ||
| ) | [protected, virtual] |
Perform the view definition action in a thread-safe way.
| virtual void makVrv::DtCigiViewController::slot_onViewControlReceived | ( | int | viewId, |
| DtCigiViewController::DtViewControlAction | action | ||
| ) | [protected, virtual] |
Called when a view control is received.
| virtual void makVrv::DtCigiViewController::performSetViewControl | ( | int | viewId, |
| DtCigiViewController::DtViewControlAction | action | ||
| ) | [protected, virtual] |
Perform the view control in a thread-safe way.
DtDe& makVrv::DtCigiViewController::myDe [protected] |
DtCigiDriver& makVrv::DtCigiViewController::myDriver [protected] |
bool makVrv::DtCigiViewController::myUseThreadFlag [protected] |
std::map<int, DtViewControlPosition> makVrv::DtCigiViewController::myViewIdToPositionMap [protected] |
std::map<int, DtViewGroup> makVrv::DtCigiViewController::myGroupIdToGroupMap [protected] |