OpenJAUS Software Development Kit  4.3.1
Public Member Functions | Protected Attributes | Friends | List of all members
openjaus::system::Mutex Class Reference

This is a brief description. More...

#include <Mutex.h>

Public Member Functions

 Mutex ()
 
virtual ~Mutex ()
 
void lock ()
 Operation lock. More...
 
void unlock ()
 Operation unlock. More...
 
virtual std::string toString () const
 

Protected Attributes

pthread_mutex_t mutex
 
pthread_mutexattr_t attr
 

Friends

OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const Mutex &object)
 
OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const Mutex *object)
 

Detailed Description

Detailed description.

Author
Name (name@.nosp@m.emai.nosp@m.l.com)

Constructor & Destructor Documentation

§ Mutex()

openjaus::system::Mutex::Mutex ( )

§ ~Mutex()

openjaus::system::Mutex::~Mutex ( )
virtual

Member Function Documentation

§ lock()

void openjaus::system::Mutex::lock ( )

§ toString()

std::string openjaus::system::Mutex::toString ( ) const
virtual

§ unlock()

void openjaus::system::Mutex::unlock ( )

Friends And Related Function Documentation

§ operator<< [1/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const Mutex object 
)
friend

§ operator<< [2/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const Mutex object 
)
friend

Member Data Documentation

§ attr

pthread_mutexattr_t openjaus::system::Mutex::attr
protected

§ mutex

pthread_mutex_t openjaus::system::Mutex::mutex
protected

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