#include <speaker.h>
Inherits Motor.
Inheritance diagram for Speaker:


Public Member Functions | |
| Speaker (float frequency) | |
| virtual | ~Speaker () | 
| virtual void | init (Primitive *own) | 
| initialises motor with body of robot   | |
| virtual int | getMotorNumber () const | 
| return the dimensionality of this motor   | |
| virtual bool | act (GlobalData &globaldata) | 
| performs the actions, This is usually called in doInternalStuff() from the robot   | |
| virtual int | set (const motor *values, int length) | 
| sends the action commands to the motor.   | |
| Speaker | ( | float | frequency | ) |  [inline] | 
        
| virtual ~Speaker | ( | ) |  [inline, virtual] | 
        
| virtual bool act | ( | GlobalData & | globaldata | ) |  [inline, virtual] | 
        
| virtual int getMotorNumber | ( | ) |  const [inline, virtual] | 
        
| virtual void init | ( | Primitive * | own | ) |  [inline, virtual] | 
        
| virtual int set | ( | const motor * | values, | |
| int | length | |||
| ) |  [inline, virtual] | 
        
sends the action commands to the motor.
It returns the number of used values. (should be equal to getMotorNumber)
Implements Motor.
 1.4.7