Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
Object that represents a sound signal in the simulator. More...
#include <sound.h>
Classes | |
struct | older_than |
nice predicate function for finding old sound signals More... | |
Public Member Functions | |
Sound (double time, const Pos &pos, float intensity, float frequency, void *sender) | |
~Sound () | |
void | createVisual (GlobalData &globalData, double visualSize, Pos visualOffset) const |
Public Attributes | |
double | time |
Pos | pos |
emission position More... | |
float | intensity |
intensity 0..1 More... | |
float | frequency |
frequency -1..1 More... | |
void * | sender |
pointer to the sender (can be used for self detection) More... | |
Object that represents a sound signal in the simulator.
~Sound | ( | ) |
void createVisual | ( | GlobalData & | globalData, |
double | visualSize, | ||
Pos | visualOffset | ||
) | const |
float frequency |
frequency -1..1
float intensity |
intensity 0..1
Pos pos |
emission position
void* sender |
pointer to the sender (can be used for self detection)
double time |