Public Member Functions

VgMyLayerAndCameraListener Class Reference

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

Inheritance diagram for VgMyLayerAndCameraListener:
Inheritance graph
[legend]

List of all members.

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.
virtual void layerChangedTo (VgMyLayerAndCameraHandler *pSender, const std::string &pFloorFrom, const std::string &pFloorTo)=0
 Notification that the layer focus did change.
virtual void viewWillChange (VgMyLayerAndCameraHandler *pSender, const bool pDoesChangeFromGlobalToDetailed)=0
 Notification that the view will change its 'mode' (global or detailed)
virtual void viewDidChange (VgMyLayerAndCameraHandler *pSender, const bool pDoesChangeFromGlobalToDetailed)=0
 Notification that the view has changed its 'mode' (global or detailed)

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.

Implemented in VgMyBasicApplicationController.

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
pLayerFromThe layer which currently has focus
pLayerToThe layer which will soon have the focus

Implemented in VgMyBasicApplicationController.

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.

Implemented in VgMyBasicApplicationController.

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.

Implemented in VgMyBasicApplicationController.


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