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

- File List
- File Members

# src/sim/Semaphore.h

Go to the documentation of this file.

    00001 #ifndef SEMAPHORE_H_
    00002 #define SEMAPHORE_H_
    00003
    00004 #include "../config.h"
    00005 #include "Signing.h"
    00006 #include "../iface/Animated.h"
    00007
    00008 class Semaphore: public Signing, public Animated {
    00009 public:
    00010     Semaphore(const dVector3 size, const dVector3 pos, const dReal direction, const dReal weight, dSpaceID simSpace);
    00011     ~Semaphore();
    00012     int nCurrentSign; //red = 0, yellow = 1, green = 2
    00013     void visualize();
    00014     void computeStep(){};
    00015     void performStep(){};
    00016     const dReal * getSemaphorePosition() { return dBodyGetPosition(_body); }
    00017 };
    00018
    00019 #endif /*SEMAPHORE_H_*/