Public Member Functions | Public Attributes
sharedmem_transport::SharedMemoryBlockDescriptor Struct Reference

#include <SharedMemoryBlockDescriptor.h>

List of all members.

Public Member Functions

void allocate (const char name[256])
void check_clients (boost::interprocess::scoped_lock< boost::interprocess::interprocess_mutex > &lock)
uint32_t getSize () const
bool matchName (const char *name) const
void recordSize (uint32_t newsize, uint32_t alloc=0)
void register_client ()
void reset ()
 SharedMemoryBlockDescriptor ()
void signal_data ()
void unregister_client ()
bool wait_data_and_register_client (boost::interprocess::scoped_lock< boost::interprocess::interprocess_mutex > &lock)

Public Attributes

bool active_
uint32_t allocated_
boost::interprocess::interprocess_condition datacond
boost::interprocess::interprocess_condition lockcond
boost::interprocess::interprocess_mutex mutex
char name_ [256]
signed int num_clients
uint32_t resize_count_
uint32_t size_

Detailed Description

Definition at line 16 of file SharedMemoryBlockDescriptor.h.


Constructor & Destructor Documentation

Definition at line 5 of file SharedMemoryBlockDescriptor.cpp.


Member Function Documentation

Definition at line 25 of file SharedMemoryBlockDescriptor.cpp.

void sharedmem_transport::SharedMemoryBlockDescriptor::check_clients ( boost::interprocess::scoped_lock< boost::interprocess::interprocess_mutex > &  lock) [inline]

Definition at line 29 of file SharedMemoryBlockDescriptor.h.

Definition at line 11 of file SharedMemoryBlockDescriptor.cpp.

Definition at line 38 of file SharedMemoryBlockDescriptor.cpp.

void sharedmem_transport::SharedMemoryBlockDescriptor::recordSize ( uint32_t  newsize,
uint32_t  alloc = 0 
)

Definition at line 15 of file SharedMemoryBlockDescriptor.cpp.

Definition at line 36 of file SharedMemoryBlockDescriptor.h.

Definition at line 30 of file SharedMemoryBlockDescriptor.cpp.

Definition at line 70 of file SharedMemoryBlockDescriptor.h.

Definition at line 43 of file SharedMemoryBlockDescriptor.h.

bool sharedmem_transport::SharedMemoryBlockDescriptor::wait_data_and_register_client ( boost::interprocess::scoped_lock< boost::interprocess::interprocess_mutex > &  lock) [inline]

Definition at line 56 of file SharedMemoryBlockDescriptor.h.


Member Data Documentation

Definition at line 84 of file SharedMemoryBlockDescriptor.h.

Definition at line 80 of file SharedMemoryBlockDescriptor.h.

boost::interprocess::interprocess_condition sharedmem_transport::SharedMemoryBlockDescriptor::datacond

Definition at line 77 of file SharedMemoryBlockDescriptor.h.

boost::interprocess::interprocess_condition sharedmem_transport::SharedMemoryBlockDescriptor::lockcond

Definition at line 76 of file SharedMemoryBlockDescriptor.h.

boost::interprocess::interprocess_mutex sharedmem_transport::SharedMemoryBlockDescriptor::mutex

Definition at line 75 of file SharedMemoryBlockDescriptor.h.

Definition at line 85 of file SharedMemoryBlockDescriptor.h.

Definition at line 78 of file SharedMemoryBlockDescriptor.h.

Definition at line 82 of file SharedMemoryBlockDescriptor.h.

Definition at line 80 of file SharedMemoryBlockDescriptor.h.


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


sharedmem_transport
Author(s): Cedric Pradalier
autogenerated on Sun Oct 5 2014 23:49:07