|
Enki
1.9
|
Interaction sound between all Sbots. More...
#include <Sbot.h>
Public Member Functions | |
| SbotGlobalSound (Robot *me) | |
| Constructor. | |
| virtual void | init () |
| Initialisation, set world frequencies to zero. Called one time for each robot, which could be optimised. | |
| virtual void | step (double dt, World *w) |
| Emit our frequencies to the world. | |
Public Member Functions inherited from Enki::GlobalInteraction | |
| GlobalInteraction () | |
| Constructor. | |
| GlobalInteraction (Robot *owner) | |
| Constructor. | |
| virtual | ~GlobalInteraction () |
| Destructor. | |
| virtual void | init (double dt, World *w) |
| Init at each step. | |
| virtual void | finalize (double dt, World *w) |
| Finalize at each step. | |
Static Public Member Functions | |
| static unsigned | getWorldFrequenciesState (void) |
| Return state of the frequencies in the world. | |
Public Attributes | |
| unsigned | frequenciesState |
| The frequencies state of this robot, mask of all frequencies. | |
Static Protected Attributes | |
| static unsigned | worldFrequenciesState = 0 |
| The world frequencies state, mask of all frequencies. | |
Additional Inherited Members | |
Protected Attributes inherited from Enki::GlobalInteraction | |
| Robot * | owner |
| The physical object that owns the interaction. | |
Interaction sound between all Sbots.
The Sbots are supposed to emit sound at a sufficiently high intensity such as everyone hears it.
1.8.11