util/objman.h File Reference

Include dependency graph for objman.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  org
namespace  org::xmlBlaster
namespace  org::xmlBlaster::util

Classes

class  org::xmlBlaster::util::Cleanup_Adaptor
class  org::xmlBlaster::util::ManagedObject< TYPE >
class  org::xmlBlaster::util::Object_Lifetime_Manager_Base
class  org::xmlBlaster::util::Object_Lifetime_Manager

Typedefs

typedef std::map< std::string,
Cleanup_Adaptor * > 
org::xmlBlaster::util::ManagedMap
typedef std::list< Cleanup_Adaptor * > org::xmlBlaster::util::ManagedList

Functions

void object_manager_cleanup ()
 Author: Martin Johnson.


Function Documentation

void object_manager_cleanup (  ) 

Author: Martin Johnson.

Based upon http://www.cs.wustl.edu/~schmidt/PDF/ObjMan.pdf with some modification.

Synopsis: Support for Preallocated Managed Objects and Managed Objects. Managed Objects are required to grant friendship to the following

template <class type>=""> friend class ManagedObject; friend class Object_Lifetime_Manager;

Applications utilising Object_Lifetime_Manager are required to call

Definition at line 14 of file objman.cpp.