Gnash  0.8.11dev
Public Member Functions | Static Public Member Functions | List of all members
gnash::TouchDevice Class Reference

#include <InputDevice.h>

Inheritance diagram for gnash::TouchDevice:
gnash::InputDevice

Public Member Functions

const char * id ()
 TouchDevice ()
virtual ~TouchDevice ()
bool init ()
bool init (const std::string &filespec, size_t size)
bool check ()
void apply_ts_calibration (float *cx, float *cy, int rawx, int rawy)
- Public Member Functions inherited from gnash::InputDevice
 InputDevice ()
 InputDevice (int x, int y)
virtual ~InputDevice ()
bool init (devicetype_e type)
bool init (devicetype_e type, size_t size)
bool init (devicetype_e type, const std::string &filespec)
bool init (devicetype_e type, const std::string &filespec, size_t size)
InputDevice::devicetype_e getType ()
void setType (InputDevice::devicetype_e x)
boost::shared_array
< boost::uint8_t > 
readData (size_t size)
boost::shared_ptr< input_data_tpopData ()
void setScreenSize (int x, int y)
void dump () const

Static Public Member Functions

static std::vector
< boost::shared_ptr
< InputDevice > > 
scanForDevices ()
- Static Public Member Functions inherited from gnash::InputDevice
static DSOEXPORT
boost::shared_array< int > 
convertAbsCoords (int x, int y, int width, int height)

Additional Inherited Members

- Public Types inherited from gnash::InputDevice
enum  devicetype_e {
  UNKNOWN, KEYBOARD, UMOUSE, MOUSE,
  TABLET, TOUCHSCREEN, TOUCHMOUSE, POWERBUTTON,
  SLEEPBUTTON, SERIALUSB, INFRARED, UINPUT,
  TSLIB
}
- Protected Member Functions inherited from gnash::InputDevice
void addData (bool pressed, key::code key, int modifier, int x, int y)
- Protected Attributes inherited from gnash::InputDevice
devicetype_e _type
std::string _filespec
int _fd
input_data_t _input_data
boost::scoped_array
< boost::uint8_t > 
_buffer
std::queue< boost::shared_ptr
< input_data_t > > 
_data
int _screen_width
int _screen_height

Constructor & Destructor Documentation

gnash::TouchDevice::TouchDevice ( )

Referenced by scanForDevices().

gnash::TouchDevice::~TouchDevice ( )
virtual

Member Function Documentation

void gnash::TouchDevice::apply_ts_calibration ( float *  cx,
float *  cy,
int  rawx,
int  rawy 
)
bool gnash::TouchDevice::check ( )
virtual
const char* gnash::TouchDevice::id ( )
inlinevirtual

Implements gnash::InputDevice.

bool gnash::TouchDevice::init ( )
virtual

Reimplemented from gnash::InputDevice.

bool gnash::TouchDevice::init ( const std::string &  filespec,
size_t  size 
)
virtual
std::vector< boost::shared_ptr< InputDevice > > gnash::TouchDevice::scanForDevices ( )
static

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