#include <door.h>
Public Member Functions | |
void | close () |
void | enter (bool close=false) |
bool | isWaiting () |
void | leave () |
void | lock () |
void | open () |
QDoor () | |
void | unlock (bool open=false) |
Public Attributes | |
mt::mutex | room |
Private Attributes | |
mt::semaphore | _close |
mt::semaphore | _open |
QDoor::QDoor | ( | ) | [inline] |
void QDoor::close | ( | ) | [inline] |
void QDoor::enter | ( | bool | close = false | ) | [inline] |
bool QDoor::isWaiting | ( | ) | [inline] |
void QDoor::leave | ( | ) | [inline] |
void QDoor::lock | ( | ) | [inline] |
void QDoor::open | ( | ) | [inline] |
void QDoor::unlock | ( | bool | open = false | ) | [inline] |
mt::semaphore QDoor::_close [private] |
mt::semaphore QDoor::_open [private] |