Public Member Functions | Static Public Member Functions

gnash::MouseDevice Class Reference

#include <InputDevice.h>

Inheritance diagram for gnash::MouseDevice:
Inheritance graph
Collaboration diagram for gnash::MouseDevice:
Collaboration graph

List of all members.

Public Member Functions

 MouseDevice ()
 MouseDevice (Gui *gui)
virtual bool init ()
virtual bool init (const std::string &filespec, size_t size)
virtual bool check ()
bool command (unsigned char cmd, unsigned char *buf, int count)
 Sends a command to the mouse and waits for the response.

Static Public Member Functions

static std::vector
< boost::shared_ptr
< InputDevice > > 
scanForDevices (Gui *gui)

Constructor & Destructor Documentation

gnash::MouseDevice::MouseDevice (  ) 

Referenced by scanForDevices().

gnash::MouseDevice::MouseDevice ( Gui gui  ) 

Member Function Documentation

bool gnash::MouseDevice::check (  )  [virtual]
bool gnash::MouseDevice::command ( unsigned char  cmd,
unsigned char *  buf,
int  count 

Sends a command to the mouse and waits for the response.

References _, gnash::InputDevice::_fd, gnash::gnashSleep(), and gnash::amf::write().

Referenced by init().

bool gnash::MouseDevice::init ( const std::string &  filespec,
size_t  size 
) [virtual]
bool gnash::MouseDevice::init (  )  [virtual]

Reimplemented from gnash::InputDevice.

std::vector< boost::shared_ptr< InputDevice > > gnash::MouseDevice::scanForDevices ( Gui gui  )  [static]

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