ibex::SharedObject Class Reference
[Other structures]

Manager for shared objects. More...

#include <IbexSharedObject.h>

Inheritance diagram for ibex::SharedObject:

ibex::Env ibex::Space

List of all members.

Public Member Functions

 SharedObject ()
virtual ~SharedObject ()

Static Public Member Functions

static void incr_ref (int id)
static void decr_ref (int id)

Public Attributes

int id


Detailed Description

Manager for shared objects.

Allows to keep track of the references to an object, in all ibex structures.

Author:
Gilles Chabert
Date:
May 2009

Constructor & Destructor Documentation

ibex::SharedObject::SharedObject (  ) 

Create a new object and assign a new unique identifier to it.

ibex::SharedObject::~SharedObject (  )  [virtual]

Delete the object.


Member Function Documentation

void ibex::SharedObject::incr_ref ( int  id  )  [static]

Increment the number of references to the object whose identifying number is n.

void ibex::SharedObject::decr_ref ( int  id  )  [static]

Decrement the number of references to the object whose identifying number is n. If the object has no more reference, it is deleted.


Member Data Documentation

Unique identifier for this instance.


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

Generated on Sun Jun 27 15:52:00 2010 for IBEX by  doxygen 1.5.5