LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HapticsController Class Reference

#include <HapticsController.h>

Inheritance diagram for HapticsController:
[legend]
Collaboration diagram for HapticsController:
[legend]

Public Member Functions

virtual ~HapticsController ()
 
virtual int vibrate (int period, int duration)
 
virtual int vibrate (const char *name)
 
virtual int vibrateWithAudioFeedback (const char *name, const char *audiosample)
 
virtual int cancel (int id)
 
virtual void cancelAll ()
 
void addMapping (const char *key, void *value)
 
int getAndRemoveMapping (const char *key)
 
void startService ()
 

Static Public Member Functions

static HapticsControllerinstance ()
 

Protected Member Functions

 HapticsController ()
 

Protected Attributes

LSHandle * m_service
 

Constructor & Destructor Documentation

virtual HapticsController::~HapticsController ( )
inlinevirtual
HapticsController::HapticsController ( )
protected

Member Function Documentation

void HapticsController::addMapping ( const char *  key,
void *  value 
)
inline
virtual int HapticsController::cancel ( int  id)
inlinevirtual

Reimplemented in HapticsControllerCastle.

virtual void HapticsController::cancelAll ( )
inlinevirtual

Reimplemented in HapticsControllerCastle.

int HapticsController::getAndRemoveMapping ( const char *  key)
inline
HapticsController * HapticsController::instance ( void  )
static
void HapticsController::startService ( )
virtual int HapticsController::vibrate ( int  period,
int  duration 
)
inlinevirtual

Reimplemented in HapticsControllerCastle.

virtual int HapticsController::vibrate ( const char *  name)
inlinevirtual

Reimplemented in HapticsControllerCastle.

virtual int HapticsController::vibrateWithAudioFeedback ( const char *  name,
const char *  audiosample 
)
inlinevirtual

Reimplemented in HapticsControllerCastle.

Member Data Documentation

LSHandle* HapticsController::m_service
protected

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