Public Member Functions | Public Attributes | Private Attributes
QDoor Class Reference

#include <door.h>

List of all members.

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

Detailed Description

Definition at line 78 of file door.h.


Constructor & Destructor Documentation

QDoor::QDoor ( ) [inline]

Definition at line 85 of file door.h.


Member Function Documentation

void QDoor::close ( ) [inline]

Definition at line 91 of file door.h.

void QDoor::enter ( bool  close = false) [inline]

Definition at line 95 of file door.h.

bool QDoor::isWaiting ( ) [inline]

Definition at line 117 of file door.h.

void QDoor::leave ( ) [inline]

Definition at line 103 of file door.h.

void QDoor::lock ( ) [inline]

Definition at line 105 of file door.h.

void QDoor::open ( ) [inline]

Definition at line 87 of file door.h.

void QDoor::unlock ( bool  open = false) [inline]

Definition at line 111 of file door.h.


Member Data Documentation

Definition at line 81 of file door.h.

Definition at line 80 of file door.h.

Definition at line 84 of file door.h.


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


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:39:02