Enki  1.9
Public Member Functions | Static Public Member Functions | Public Attributes | Static Protected Attributes | List of all members
Enki::SbotGlobalSound Class Reference

Interaction sound between all Sbots. More...

#include <Sbot.h>

Inheritance diagram for Enki::SbotGlobalSound:
Enki::GlobalInteraction

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
Robotowner
 The physical object that owns the interaction.
 

Detailed Description

Interaction sound between all Sbots.

The Sbots are supposed to emit sound at a sufficiently high intensity such as everyone hears it.


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