libSmarties  1.3.1
 All Data Structures Namespaces Files Functions Variables Typedefs Friends Macros
Public Member Functions | Data Fields | Friends
smarties::SmartiesDevice Class Reference

#include <SmartiesDevice.h>

Public Member Functions

std::string * getIP ()
 
std::string * getMacAddress ()
 
int32_t getSelectedPuckID ()
 
void setSelectedPuckID (int32_t id)
 
bool isSelectedPuckDirty ()
 
void setSelectedPuckDirty (bool v)
 
void setWidgetsAreaSize (int w, int h)
 
void setTouchpadSize (int w, int h)
 
void setPixelsByMM (float xpixBymm, float ypixBymm)
 
int getWidgetsAreaWidth ()
 Return the width of the widget area. More...
 
int getWidgetsAreaHeight ()
 Return the height of the widget area. More...
 
int getTouchpadWidth ()
 Return the width of the touchpad area. More...
 
int getTouchpadHeight ()
 Return the height of the touchpad area. More...
 
float getXPixelsByMM ()
 Return the number of pixels by mm in the x coordinate. More...
 
float getYPixelsByMM ()
 Return the number of pixels by mm in the y coordinate. More...
 
void reconnect (int proto)
 
void connect ()
 
 SmartiesDevice (const char *ip, int port, Smarties *S, int proto)
 
 ~SmartiesDevice ()
 

Data Fields

bool restarted
 

Friends

class Smarties
 

Constructor & Destructor Documentation

smarties::SmartiesDevice::SmartiesDevice ( const char *  ip,
int  port,
Smarties S,
int  proto 
)
smarties::SmartiesDevice::~SmartiesDevice ( )

Member Function Documentation

void smarties::SmartiesDevice::connect ( )
std::string * smarties::SmartiesDevice::getIP ( )
std::string * smarties::SmartiesDevice::getMacAddress ( )
int32_t smarties::SmartiesDevice::getSelectedPuckID ( )
int smarties::SmartiesDevice::getTouchpadHeight ( )

Return the height of the touchpad area.

int smarties::SmartiesDevice::getTouchpadWidth ( )

Return the width of the touchpad area.

int smarties::SmartiesDevice::getWidgetsAreaHeight ( )

Return the height of the widget area.

int smarties::SmartiesDevice::getWidgetsAreaWidth ( )

Return the width of the widget area.

float smarties::SmartiesDevice::getXPixelsByMM ( )

Return the number of pixels by mm in the x coordinate.

float smarties::SmartiesDevice::getYPixelsByMM ( )

Return the number of pixels by mm in the y coordinate.

bool smarties::SmartiesDevice::isSelectedPuckDirty ( )
void smarties::SmartiesDevice::reconnect ( int  proto)
void smarties::SmartiesDevice::setPixelsByMM ( float  xpixBymm,
float  ypixBymm 
)
void smarties::SmartiesDevice::setSelectedPuckDirty ( bool  v)
void smarties::SmartiesDevice::setSelectedPuckID ( int32_t  id)
void smarties::SmartiesDevice::setTouchpadSize ( int  w,
int  h 
)
void smarties::SmartiesDevice::setWidgetsAreaSize ( int  w,
int  h 
)

Friends And Related Function Documentation

friend class Smarties
friend

Field Documentation

bool smarties::SmartiesDevice::restarted

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