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

#include <SmartiesPuck.h>

Public Member Functions

double getX ()
 
double getY ()
 
int32_t getID ()
 
int32_t getCursorType ()
 
void setCursorType (int32_t t)
 
int32_t getFlags ()
 
void setFlags (int32_t f)
 
void setPosition (float x_, float y_)
 
void setMoveState (int m)
 
int getMoveState ()
 
void setStored (bool v=true)
 
bool isStored ()
 
void setDeleted (bool v=true)
 
bool isDeleted ()
 
void setSelectedByDevice (SmartiesDevice *d)
 
SmartiesDevicegetSelectedByDevice ()
 
 SmartiesPuck (SmartiesDevice *d, uint32_t id_, double x_, double y_, int type_)
 
 ~SmartiesPuck ()
 

Data Fields

int32_t id
 
float x
 
float y
 
int32_t cursor_type
 
int32_t color
 
int32_t flags
 
int move_state
 
bool stored
 
bool deleted
 
SmartiesDeviceselected_by_device
 
SmartiesDevicesharing_policy_device
 
void * app_data
 

Constructor & Destructor Documentation

smarties::SmartiesPuck::SmartiesPuck ( SmartiesDevice d,
uint32_t  id_,
double  x_,
double  y_,
int  type_ 
)
smarties::SmartiesPuck::~SmartiesPuck ( )

Member Function Documentation

int32_t smarties::SmartiesPuck::getCursorType ( )
inline
int32_t smarties::SmartiesPuck::getFlags ( )
inline
int32_t smarties::SmartiesPuck::getID ( )
inline
int smarties::SmartiesPuck::getMoveState ( )
SmartiesDevice * smarties::SmartiesPuck::getSelectedByDevice ( )
double smarties::SmartiesPuck::getX ( )
inline
double smarties::SmartiesPuck::getY ( )
inline
bool smarties::SmartiesPuck::isDeleted ( )
bool smarties::SmartiesPuck::isStored ( )
void smarties::SmartiesPuck::setCursorType ( int32_t  t)
inline
void smarties::SmartiesPuck::setDeleted ( bool  v = true)
void smarties::SmartiesPuck::setFlags ( int32_t  f)
inline
void smarties::SmartiesPuck::setMoveState ( int  m)
void smarties::SmartiesPuck::setPosition ( float  x_,
float  y_ 
)
void smarties::SmartiesPuck::setSelectedByDevice ( SmartiesDevice d)
void smarties::SmartiesPuck::setStored ( bool  v = true)

Field Documentation

void* smarties::SmartiesPuck::app_data
int32_t smarties::SmartiesPuck::color
int32_t smarties::SmartiesPuck::cursor_type
bool smarties::SmartiesPuck::deleted
int32_t smarties::SmartiesPuck::flags
int32_t smarties::SmartiesPuck::id
int smarties::SmartiesPuck::move_state
SmartiesDevice* smarties::SmartiesPuck::selected_by_device
SmartiesDevice* smarties::SmartiesPuck::sharing_policy_device
bool smarties::SmartiesPuck::stored
float smarties::SmartiesPuck::x
float smarties::SmartiesPuck::y

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