Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Sound Class Reference

Object that represents a sound signal in the simulator. More...

#include <sound.h>

Collaboration diagram for Sound:

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...
 

Detailed Description

Object that represents a sound signal in the simulator.

Constructor & Destructor Documentation

Sound ( double  time,
const Pos pos,
float  intensity,
float  frequency,
void *  sender 
)
~Sound ( )

Member Function Documentation

void createVisual ( GlobalData globalData,
double  visualSize,
Pos  visualOffset 
) const

Member Data Documentation

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

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