- Main Page
- Modules
- Classes
- Files
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# Semaphore Class Reference

`#include <Semaphore.h>`

Inheritance diagram for Semaphore:

List of all members.

## Public Member Functions
| Semaphore (const dVector3 size, const dVector3 pos, const dReal direction, const dReal weight, dSpaceID simSpace)
| ~Semaphore ()
void | visualize ()
void | computeStep ()
void | performStep ()
const dReal * | getSemaphorePosition ()
## Public Attributes
int | nCurrentSign

## Constructor & Destructor Documentation

Semaphore::Semaphore | ( | const dVector3 | size,
|  | const dVector3 | pos,
|  | const dReal | direction,
|  | const dReal | weight,
|  | dSpaceID | simSpace |
| ) |  |  |

Semaphore::~Semaphore | ( |  | ) |

## Member Function Documentation

void Semaphore::computeStep | ( |  | ) | `[inline, virtual]`

Implements Animated.

const dReal* Semaphore::getSemaphorePosition | ( |  | ) | `[inline]`

void Semaphore::performStep | ( |  | ) | `[inline, virtual]`

Implements Animated.

void Semaphore::visualize | ( |  | ) | `[virtual]`

Performs visualization. Respective child classes need to implement themselves.

Implements FixedSimulationObject.

## Member Data Documentation

int Semaphore::nCurrentSign

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

- src/sim/Semaphore.h
- src/sim/Semaphore.cpp