VisioDevKit-Sample  v2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Pages
VgMyLayerAndCameraListener Class Referenceabstract

Interface for a listener who is interested in receiving events related to layer changes. More...

Public Member Functions

virtual void layerWillChangeFrom (VgMyLayerAndCameraHandler *pSender, const std::string &pFloorFrom, const std::string &pFloorTo)=0
 Notification that the layer focus is about to change. More...
 
virtual void layerChangedTo (VgMyLayerAndCameraHandler *pSender, const std::string &pFloorFrom, const std::string &pFloorTo)=0
 Notification that the layer focus did change. More...
 
virtual void viewWillChange (VgMyLayerAndCameraHandler *pSender, const bool pDoesChangeFromGlobalToDetailed)=0
 Notification that the view will change its 'mode' (global or detailed) More...
 
virtual void viewDidChange (VgMyLayerAndCameraHandler *pSender, const bool pDoesChangeFromGlobalToDetailed)=0
 Notification that the view has changed its 'mode' (global or detailed) More...
 

Detailed Description

Interface for a listener who is interested in receiving events related to layer changes.

Member Function Documentation

virtual void VgMyLayerAndCameraListener::layerChangedTo ( VgMyLayerAndCameraHandler pSender,
const std::string &  pFloorFrom,
const std::string &  pFloorTo 
)
pure virtual

Notification that the layer focus did change.

Parameters
pSender
pFloorFromThe layer which previously had the focus.
pFloorToThe layer which currently has the focus.
Remarks
do not use, as it is not called yet, use layerWillChangeFrom.
virtual void VgMyLayerAndCameraListener::layerWillChangeFrom ( VgMyLayerAndCameraHandler pSender,
const std::string &  pFloorFrom,
const std::string &  pFloorTo 
)
pure virtual

Notification that the layer focus is about to change.

Parameters
pSender
pFloorFromThe layer which currently has focus
pFloorToThe layer which will soon have the focus
virtual void VgMyLayerAndCameraListener::viewDidChange ( VgMyLayerAndCameraHandler pSender,
const bool  pDoesChangeFromGlobalToDetailed 
)
pure virtual

Notification that the view has changed its 'mode' (global or detailed)

Parameters
pSender
pDoesChangeFromGlobalToDetailedTrue if the view switch to global view, False if it switches to the detailed view.
virtual void VgMyLayerAndCameraListener::viewWillChange ( VgMyLayerAndCameraHandler pSender,
const bool  pDoesChangeFromGlobalToDetailed 
)
pure virtual

Notification that the view will change its 'mode' (global or detailed)

Parameters
pSender
pDoesChangeFromGlobalToDetailedTrue if the view switch to global view, False if it switches to the detailed view.

The documentation for this class was generated from the following file:
VisioDevKit 2.0, Visioglobe® 2013