EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
eeros::hal::Mouse Class Reference

#include <Mouse.hpp>

Collaboration diagram for eeros::hal::Mouse:

Public Member Functions

 Mouse ()
 
 ~Mouse ()
 
virtual bool open (const char *device)
 
virtual void close ()
 
virtual void loop ()
 
virtual void on_event (std::function< void(struct input_event)> action)
 
virtual void on_button (std::function< void(int, bool)> action)
 
virtual void on_axis (std::function< void(int, signed)> action)
 
virtual std::string name ()
 

Public Attributes

MouseState current
 
MouseState last
 

Constructor & Destructor Documentation

Mouse::Mouse ( )
explicit
Mouse::~Mouse ( )

Here is the call graph for this function:

Member Function Documentation

void Mouse::close ( )
virtual

Here is the caller graph for this function:

void Mouse::loop ( )
virtual

Here is the caller graph for this function:

std::string Mouse::name ( )
virtual
void Mouse::on_axis ( std::function< void(int, signed)>  action)
virtual
void Mouse::on_button ( std::function< void(int, bool)>  action)
virtual
void Mouse::on_event ( std::function< void(struct input_event)>  action)
virtual
bool Mouse::open ( const char *  device)
virtual

Here is the caller graph for this function:

Member Data Documentation

MouseState eeros::hal::Mouse::current
MouseState eeros::hal::Mouse::last

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