VisioDevKit-Sample  v2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Pages
VgIPlaceListenerWithBubble Class Referenceabstract

Interface for dealing with Bubbles. More...

Inherits VgIPlaceListener.

Public Member Functions

virtual void notifyPlaceSelected (VgApplication::VgIApplication &pVgApplication, const std::string &pID, const VgEngine::VgPosition &pPosition)=0
 
virtual void notifyMapDatabaseLoaded (VgApplication::VgIApplication &pVgApplication)=0
 
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...
 

Protected Member Functions

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

Detailed Description

Interface for dealing with Bubbles.

It listens to clic on places to display and pin a bubble on the place's position.

Constructor & Destructor Documentation

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.

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::notifyMapDatabaseLoaded ( VgApplication::VgIApplication &  pVgApplication)
pure virtual
virtual void VgIPlaceListenerWithBubble::notifyPlaceSelected ( VgApplication::VgIApplication &  pVgApplication,
const std::string &  pID,
const VgEngine::VgPosition &  pPosition 
)
pure virtual
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
pMessageMessage to 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