MOOS 0.2375
Public Member Functions | Protected Attributes
CMOOSLock Class Reference

#include <MOOSLock.h>

List of all members.

Public Member Functions

void UnLock ()
 call this to unlock
void Lock ()
 call this to lock
 CMOOSLock (bool bInitial=true)
virtual ~CMOOSLock ()

Protected Attributes

pthread_mutex_t m_hLock
 posix mutex

Detailed Description

A very simple cross platform posix and win32 compatible mutex class

Definition at line 60 of file MOOSLock.h.


Constructor & Destructor Documentation

CMOOSLock::CMOOSLock ( bool  bInitial = true)

Definition at line 56 of file MOOSLock.cpp.

CMOOSLock::~CMOOSLock ( ) [virtual]

Definition at line 65 of file MOOSLock.cpp.


Member Function Documentation

void CMOOSLock::Lock ( )

call this to lock

Definition at line 79 of file MOOSLock.cpp.

void CMOOSLock::UnLock ( )

call this to unlock

Definition at line 94 of file MOOSLock.cpp.


Member Data Documentation

pthread_mutex_t CMOOSLock::m_hLock [protected]

posix mutex

Definition at line 79 of file MOOSLock.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines