Interface for dealing with Bubbles. More...
Inherits VgMapModule::VgIPlaceListener.
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. |
Interface for dealing with Bubbles.
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.
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.
pVgApplication | the source of the event. |
pID | the place ID. |
pPosition | the 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.
pPosition | to put the bubble |
pID | of the store related to the bubble |
message | to display in bubble. |