Generated on Tue Sep 25 2012 20:53:26 for Gecode by doxygen 1.7.5
Gecode::GlobalPropInfo::Object Class Reference

The actual object to store the required information. More...

List of all members.

Public Member Functions

 Object (Support::Mutex *m, Object *p=NULL)
 Constructor.

Static Public Member Functions

static void * operator new (size_t s)
 Allocate memory from heap.
static void operator delete (void *p)
 Free memory allocated from heap.

Public Attributes

Support::Mutex * mutex
 Mutex to synchronize globally shared access.
Object * parent
 Link to previous object (NULL if none)
unsigned int use_cnt
 How many spaces or objects use this object.
unsigned int size
 Size of current block.
unsigned int free
 Number of free entries in current block.
Block * cur
 Currently used block.

Detailed Description

The actual object to store the required information.


Constructor & Destructor Documentation

Gecode::GlobalPropInfo::Object::Object ( Support::Mutex *  m,
Object *  p = NULL 
) [inline]

Constructor.

Definition at line 161 of file global-prop-info.hpp.


Member Function Documentation

void * Gecode::GlobalPropInfo::Object::operator new ( size_t  s) [inline, static]

Allocate memory from heap.

Definition at line 143 of file global-prop-info.hpp.

void Gecode::GlobalPropInfo::Object::operator delete ( void *  p) [inline, static]

Free memory allocated from heap.

Definition at line 148 of file global-prop-info.hpp.


Member Data Documentation

Mutex to synchronize globally shared access.

Definition at line 80 of file global-prop-info.hpp.

Link to previous object (NULL if none)

Definition at line 82 of file global-prop-info.hpp.

How many spaces or objects use this object.

Definition at line 84 of file global-prop-info.hpp.

Size of current block.

Definition at line 86 of file global-prop-info.hpp.

Number of free entries in current block.

Definition at line 88 of file global-prop-info.hpp.

Currently used block.

Definition at line 90 of file global-prop-info.hpp.


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