Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

anoid::plugin::anoid::Pad Class Reference

#include <pad.hh>

Inheritance diagram for anoid::plugin::anoid::Pad:

Inheritance graph
[legend]
Collaboration diagram for anoid::plugin::anoid::Pad:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual void init (config::Configuration &c)
virtual void receive (base::Message *m)

Member Function Documentation

void anoid::plugin::anoid::Pad::init config::Configuration   c [virtual]
 

This is the real initialiser. It should take it's parameters from the provided configuration

Parameters:
c  the configuration describing this object and it's children

Reimplemented from anoid::base::Object.

Definition at line 18 of file pad.cc.

References anoid::base::Object::listen().

void anoid::plugin::anoid::Pad::receive base::Message   m [virtual]
 

Definition at line 24 of file pad.cc.

References PointerMessage::getdx(), PointerMessage::getdy(), KeyboardMessage::getKey(), anoid::plugin::Position::getPosition(), anoid::plugin::SpinVelocity::getSpinVelocity(), KeyboardMessage::getUp(), anoid::plugin::Velocity::getVelocity(), anoid::simple::k(), anoid::base::Element::lookupAbility(), anoid::plugin::Move::setPosition(), anoid::plugin::SpinVelocity::setSpinVelocity(), anoid::plugin::Velocity::setVelocity(), and Vector().


The documentation for this class was generated from the following files:
Anoid NG © Michael Westergaard, Martin Stig Stissing, Ronni Michael Laursen, and Kristian Bisgaard Lassen