C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
VSN::AbsInputDevice Class Reference

AbsInputDevice class is a base class used by Vision to interact with arbitrary input devices. More...

#include <vsn_absinputdevice.h>

+ Inheritance diagram for VSN::AbsInputDevice:
+ Collaboration diagram for VSN::AbsInputDevice:

Public Member Functions

 AbsInputDevice (Node *pParent=nullptr)
 Default constructor.
 
 ~AbsInputDevice ()
 Destructor.
 
virtual int GetCoordinateCount () const
 Returns coordinate quantity this device has.
 
virtual int GetButtonCount () const
 Returns button quantity this device has.
 
virtual std::vector< StringGetCoordinateNames () const
 Returns list of device coordinate names.
 
virtual std::vector< StringGetButtonNames () const
 Returns list of device button names.
 
virtual int GetCoordinateId (const String &name) const
 Returns integer coordinate identifier or -1 if it doesn't exist on this device.
 
virtual int GetButtonId (const String &name) const
 Returns integer button name identifier or -1 if it doesn't exist on this device.
 
void AddCoordinateSetting (CoordTuning *pCoordTuning)
 Adds CoordTuning coordinate to this device.
 
void RemoveCoordinateSetting (CoordTuning *pCoordTuning)
 Removes CoordTuning function for this device.
 
std::vector< CoordTuning * > GetCoordinateSettings () const
 Returns CoordTuning snaps related to this device.
 
- Public Member Functions inherited from VSN::Node
 Node (Node *pParent=nullptr)
 Constructor with parent.
 
virtual ~Node ()
 Destructor.
 
NodeKey GetUniqueKey () const
 Returns key identifing Node instance.
 
void SetUniqueKey (const NodeKey &key)
 Sets the unique key for the instance.
 
NodeKey GetCustomKey () const
 Returns custom key identifing Node instance.
 
void SetCustomKey (const NodeKey &key)
 Sets the custom unique key for the instance.
 
NodeGetParentNode () const
 Returns pointer to the parent object or nullptr if no parent.
 
bool IsEnabled () const
 Returns the Node enabled flag. By default, the flag is always on.
 
ObjectList< Node * > GetChildNodes () const
 Return an array of child nodes for this node.
 
void SetParent (Node *pParent)
 Sets parent object to the object.
 
bool IsNotificationsBlocked () const
 True if notifications are blocked, otherwise, False.
 
bool SetBlockNotifications (bool block)
 Sets blocking of notifications and returns the previous blocking value.
 
- Public Member Functions inherited from VSN::Object
 Object (Object *pParent=nullptr)
 Default constructor. More...
 
virtual ~Object ()
 Destructor.
 
void SetParent (Object *pParent)
 NO TRANSLATION.
 
MutexGetMutex ()
 Object mutex.
 
String GetObjectName () const
 Returns name.
 
void SetObjectName (const String &name)
 Sets name.
 
bool IsControlType () const
 TRANSLATION.
 
ObjectGetParent () const
 NO TRANSLATION.
 
Variant GetProperty (const String &name) const
 NO TRANSLATION.
 
bool IsSignalsBlocked () const
 NO TRANSLATION.
 
bool SetBlockSignals (bool bBlock)
 NO TRANSLATION.
 
void AddEventListener (Object *pObject)
 NO TRANSLATION.
 
void RemoveEventListener (Object *pObject)
 NO TRANSLATION.
 
ObjectGetSender () const
 NO TRANSLATION.
 
Thread * GetThread () const
 NO TRANSLATION.
 
void BindWithThread (Thread *thread)
 NO TRANSLATION.
 
int StartTimer (int interval, TimerType timerType=tt_CoarseTimer)
 NO TRANSLATION.
 
void KillTimer (int id)
 NO TRANSLATION.
 
const ObjectList< Object * > & GetChildren () const
 NO TRANSLATION.
 
template<typename T >
FindChild (const String &objName=String()) const
 NO TRANSLATION.
 
template<typename T >
ObjectList< T > FindChildren (const String &objName=String(), VSN::ChildFindingPolicies policies=VSN::FindAllNestedChildren) const
 NO TRANSLATION.
 
- Public Member Functions inherited from VSN::BasicObject
 BasicObject ()
 Default constructor.
 
virtual ~BasicObject ()
 Destructor.
 

Protected Member Functions

 AbsInputDevice (AbsInputDevicePrivate &dd, Node *pParent=nullptr)
 Constructor for inner using.
 
- Protected Member Functions inherited from VSN::Node
 Node (NodePrivate &dd, Node *pParent)
 Sets the node enable flag. More...
 
virtual void SceneModificationEvent (const std::shared_ptr< SceneModification > &modification)
 The function is called in case of scene being modified.
 

Detailed Description

AbsInputDevice class is a base class used by Vision to interact with arbitrary input devices.


The documentation for this class was generated from the following file: