Public Member Functions | Protected Member Functions | Friends

VgApplication::VgSimpleGestureManipulator Class Reference

Handles simple gestures. More...

Inheritance diagram for VgApplication::VgSimpleGestureManipulator:
Inheritance graph
[legend]
Collaboration diagram for VgApplication::VgSimpleGestureManipulator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~VgSimpleGestureManipulator ()
virtual void setListener (VgEngine::VgRefPtr< VgISimpleGestureManipulatorListener >const &pListener)
 Sets the listener to simple gestures.
virtual std::string getType () const

Protected Member Functions

 VgSimpleGestureManipulator (Private *pPrivate)

Friends

class ::VgIManipulatorManagerImpl
class VgEngine::VgObjectBridge

Detailed Description

Handles simple gestures.

It is a convinience class to allow developers to write their own gesture handling. This manipulator will notify its listener when simple gestures happens. Developers can override only the method they require in VgISimpleGestureManipulatorListener.

Version:
2.0

Constructor & Destructor Documentation

virtual VgApplication::VgSimpleGestureManipulator::~VgSimpleGestureManipulator (  ) [virtual]
VgApplication::VgSimpleGestureManipulator::VgSimpleGestureManipulator ( Private *  pPrivate ) [protected]

Member Function Documentation

virtual std::string VgApplication::VgSimpleGestureManipulator::getType (  ) const [virtual]
Returns:
The type identifer of the VgSimpleGestureManipulator class.

Implements VgApplication::VgManipulator.

virtual void VgApplication::VgSimpleGestureManipulator::setListener ( VgEngine::VgRefPtr< VgISimpleGestureManipulatorListener >const &  pListener ) [virtual]

Sets the listener to simple gestures.

It is notified once a simple gesture is recognized.

Parameters:
pListenerSimple gestures listener. Pass NULL to remove the current Listener.
Remarks:
The listener won't be deleted in ~VgSimpleGestureManipulator(). The caller is responsible of its deletion.

Friends And Related Function Documentation

friend class ::VgIManipulatorManagerImpl [friend]
friend class VgEngine::VgObjectBridge [friend]

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