Robotsystem of the Robot Group Leipzig: Sound Class Reference

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# Sound Class Reference

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

`#include <sound.h>`

Collaboration diagram for Sound:

[legend]
List of all members.

## Public Member Functions
| Sound (double time, const Pos &pos, float intensity, float frequency, void *sender)
| ~Sound ()
void | render (const OsgHandle &osgHandle)
## Public Attributes
double | time
Pos | pos
| emission position
float | intensity
| intensity -1..1
float | frequency
| frequency -1..1
void * | sender
| pointer to the sender (can be used for self detection)
## Classes
struct | older_than
| nice predicate function for finding old sound signals 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 |
| ) |  |  | `[inline]`

~Sound | ( |  | ) |

## Member Function Documentation

void render | ( | const OsgHandle & | osgHandle | ) |

## Member Data Documentation

float frequency

frequency -1..1

float intensity

intensity -1..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:

- sound.h
- sound.cpp