Interface for dealing with Bubbles.
More...
Inherits VgIPlaceListener.
|
| virtual void | notifyPlaceSelected (VgApplication::VgIApplication &pVgApplication, const std::string &pID, const VgEngine::VgPosition &pPosition)=0 |
| | This method is called when a place is selected. More...
|
| |
| virtual void | hideBubble ()=0 |
| | This method hides a bubble when it is no longer needed, like changing datasets. More...
|
| |
| 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. More...
|
| |
Interface for dealing with Bubbles.
It listens to clic on places to display and pin a bubble on the place's position.
| virtual VgIPlaceListenerWithBubble::~VgIPlaceListenerWithBubble |
( |
| ) |
|
|
inlineprotectedvirtual |
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.
- Parameters
-
| 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.
- Parameters
-
| pPosition | to put the bubble |
| pID | of the store related to the bubble |
| pMessage | Message to display in bubble. |
The documentation for this class was generated from the following file:
- VgIPlaceListenerWithBubble.h