Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
icl::io::SharedMemorySegmentLocker Struct Reference

an easy way to lock a SharedMemorySegment, unlocking at destruction. More...

#include <SharedMemorySegment.h>

List of all members.

Public Member Functions

 SharedMemorySegmentLocker (SharedMemorySegment &seg, int minSize=0)
 The constructor calls lock() on the SharedMemorySement.
 SharedMemorySegmentLocker (SharedMemorySegment *seg, int minSize=0)
 The constructor calls lock() on the SharedMemorySement.
 ~SharedMemorySegmentLocker ()
 The destructor calls unlock() on the SharedMemorySement.

Public Attributes

SharedMemorySegmentsegment
 local reference to SharedMemorySegment

Detailed Description

an easy way to lock a SharedMemorySegment, unlocking at destruction.


Constructor & Destructor Documentation

The constructor calls lock() on the SharedMemorySement.

The constructor calls lock() on the SharedMemorySement.

The destructor calls unlock() on the SharedMemorySement.


Member Data Documentation

local reference to SharedMemorySegment


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