Public Member Functions | Protected Attributes
SerialServerLock Class Reference

#include <server.h>

List of all members.

Public Member Functions

void checkTimeout ()
int lock (int socket, float timeout)
 SerialServerLock ()
void unlock ()

Protected Attributes

pthread_cond_t condition_
int last_socket_
pthread_mutex_t mutex_
int socket_
struct timeval timeout_

Detailed Description

Definition at line 20 of file server.h.


Constructor & Destructor Documentation

Definition at line 5 of file server.cpp.


Member Function Documentation

Definition at line 12 of file server.cpp.

int SerialServerLock::lock ( int  socket,
float  timeout 
)

Definition at line 32 of file server.cpp.

Definition at line 86 of file server.cpp.


Member Data Documentation

pthread_cond_t SerialServerLock::condition_ [protected]

Definition at line 26 of file server.h.

Definition at line 23 of file server.h.

pthread_mutex_t SerialServerLock::mutex_ [protected]

Definition at line 25 of file server.h.

int SerialServerLock::socket_ [protected]

Definition at line 23 of file server.h.

struct timeval SerialServerLock::timeout_ [protected]

Definition at line 24 of file server.h.


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


shared_serial
Author(s): Wouter Caarls
autogenerated on Sun Jan 5 2014 11:06:47