Public Member Functions | Protected Member Functions

VgIPlaceListenerWithBubble Class Reference

Interface for dealing with Bubbles. More...

Inherits VgMapModule::VgIPlaceListener.

List of all members.

Public Member Functions

virtual void notifyPlaceSelected (VgApplication::VgIApplication &pVgApplication, const std::string &pID, const VgEngine::VgPosition &pPosition)=0
 This method is called when a place is selected.
virtual void hideBubble ()=0
 This method hides a bubble when it is no longer needed, like changing datasets.
virtual void showBubble (const VgEngine::VgPosition &pPosition, const std::string &pID, const std::string &pMessage)=0
 This methods puts a bubble over a given position.

Protected Member Functions

virtual ~VgIPlaceListenerWithBubble ()
 Destructor: it is protected because VgIPlaceListenerWithBubble inherits from VgIPlaceListener which is a VgEngine::VgReferenced.

Detailed Description

Interface for dealing with Bubbles.


Constructor & Destructor Documentation

virtual VgIPlaceListenerWithBubble::~VgIPlaceListenerWithBubble (  ) [inline, protected, virtual]

Destructor: it is protected because VgIPlaceListenerWithBubble inherits from VgIPlaceListener which is a VgEngine::VgReferenced.

we never call delete directly on VgRereferenced objects.


Member Function Documentation

virtual void VgIPlaceListenerWithBubble::hideBubble (  ) [pure virtual]

This method hides a bubble when it is no longer needed, like changing datasets.

virtual void VgIPlaceListenerWithBubble::notifyPlaceSelected ( VgApplication::VgIApplication &  pVgApplication,
const std::string &  pID,
const VgEngine::VgPosition &  pPosition 
) [pure virtual]

This method is called when a place is selected.

Parameters:
pVgApplicationthe source of the event.
pIDthe place ID.
pPositionthe view point position of the selected place;
virtual void VgIPlaceListenerWithBubble::showBubble ( const VgEngine::VgPosition &  pPosition,
const std::string &  pID,
const std::string &  pMessage 
) [pure virtual]

This methods puts a bubble over a given position.

Parameters:
pPositionto put the bubble
pIDof the store related to the bubble
messageto display in bubble.
Remarks:
should could extent the parameters of this call as a function of what action you want to happen when you click on the bubble.

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