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. | |
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) |
Interface for a listener who is interested in receiving events related to layer changes.
virtual void VgMyLayerAndCameraListener::layerChangedTo | ( | VgMyLayerAndCameraHandler * | pSender, |
const std::string & | pFloorFrom, | ||
const std::string & | pFloorTo | ||
) | [pure virtual] |
Notification that the layer focus did change.
pSender | |
pFloorFrom | The layer which previously had the focus. |
pFloorTo | The layer which currently has the focus. |
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.
pSender | |
pLayerFrom | The layer which currently has focus |
pLayerTo | The 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)
pSender | |
pDoesChangeFromGlobalToDetailed | True 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)
pSender | |
pDoesChangeFromGlobalToDetailed | True if the view switch to global view, False if it switches to the detailed view. |
Implemented in VgMyBasicApplicationController.