#include <WiiuseMotionReceiver.h>
Public Member Functions | |
virtual | ~WiiuseMotionReceiver () |
virtual void | start () throw (Error) |
virtual void | run () |
virtual void | stop () |
Receives motion data from a wiimote using the Wiiuse library
Definition at line 14 of file WiiuseMotionReceiver.h.
WiiuseMotionReceiver::~WiiuseMotionReceiver | ( | ) | [virtual] |
Calles stop if necessary
Definition at line 4 of file WiiuseMotionReceiver.cpp.
void WiiuseMotionReceiver::run | ( | ) | [virtual] |
Receives and handles motion and button-events. If the user presses the A-Button on his wiimote, run is stopped
Implements AbstractMotionReceiver.
Definition at line 40 of file WiiuseMotionReceiver.cpp.
void WiiuseMotionReceiver::start | ( | ) | throw (Error) [virtual] |
Connects to the wiimote and receives calibration data. Throws Error if anything goes wrong
Implements AbstractMotionReceiver.
Definition at line 10 of file WiiuseMotionReceiver.cpp.
void WiiuseMotionReceiver::stop | ( | ) | [virtual] |
Stops run and deinitalizes wiiuse
Implements AbstractMotionReceiver.
Definition at line 32 of file WiiuseMotionReceiver.cpp.