Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Object_Manager.cpp File Reference

#include "ace_pch.h"
#include "ace/Object_Manager.h"
#include "ace/Token_Manager.h"
#include "ace/Thread_Manager.h"
#include "ace/Service_Manager.h"
#include "ace/Service_Config.h"
#include "ace/Signal.h"
#include "ace/Log_Msg.h"
#include "ace/Containers.h"
#include "ace/Synch.h"
#include "ace/Malloc.h"
#include "ace/Framework_Component.h"
#include "ace/Atomic_Op.h"
#include "ace/Object_Manager.i"

Include dependency graph for Object_Manager.cpp:

Include dependency graph

Go to the source code of this file.

Compounds

class  ACE_Object_Manager_Manager
 Ensure that the <ACE_Object_Manager> gets initialized at program startup, and destroyed at program termination. More...

class  ACE_Object_Manager_Preallocations
 Performs preallocations of certain statically allocated services needed by ACE. More...


Defines

#define ACE_APPLICATION_PREALLOCATED_OBJECT_DEFINITIONS
#define ACE_APPLICATION_PREALLOCATED_ARRAY_DEFINITIONS
#define ACE_APPLICATION_PREALLOCATED_OBJECT_DELETIONS
#define ACE_APPLICATION_PREALLOCATED_ARRAY_DELETIONS
#define ACE_PREALLOCATE_OBJECT(TYPE, ID)
#define ACE_PREALLOCATE_ARRAY(TYPE, ID, COUNT)
#define ACE_DELETE_PREALLOCATED_OBJECT(TYPE, ID)
#define ACE_DELETE_PREALLOCATED_ARRAY(TYPE, ID, COUNT)

Typedefs

typedef ACE_Cleanup_Adapter<
ACE_Recursive_Thread_Mutex
ACE_Static_Object_Lock_Type

Functions

const char * get_rcsid_ace_Object_Manager (const char *)

Variables

const char * rcsid_ace_Object_Manager = get_rcsid_ace_Object_Manager ( rcsid_ace_Object_Manager )
ACE_Object_Manager_Manager ACE_Object_Manager_Manager_instance
ACE_Static_Object_Lock_TypeACE_Static_Object_Lock_lock = 0


Define Documentation

#define ACE_APPLICATION_PREALLOCATED_ARRAY_DEFINITIONS
 

Definition at line 33 of file Object_Manager.cpp.

Referenced by ACE_Object_Manager::init.

#define ACE_APPLICATION_PREALLOCATED_ARRAY_DELETIONS
 

Definition at line 41 of file Object_Manager.cpp.

Referenced by ACE_Object_Manager::fini.

#define ACE_APPLICATION_PREALLOCATED_OBJECT_DEFINITIONS
 

Definition at line 29 of file Object_Manager.cpp.

Referenced by ACE_Object_Manager::init.

#define ACE_APPLICATION_PREALLOCATED_OBJECT_DELETIONS
 

Definition at line 37 of file Object_Manager.cpp.

Referenced by ACE_Object_Manager::fini.

#define ACE_DELETE_PREALLOCATED_ARRAY TYPE,
ID,
COUNT   
 

Value:

delete (ACE_Cleanup_Adapter<TYPE[COUNT]> *) preallocated_array[ID];\
    preallocated_array[ID] = 0;

Definition at line 84 of file Object_Manager.cpp.

#define ACE_DELETE_PREALLOCATED_OBJECT TYPE,
ID   
 

Value:

ace_cleanup_destroyer (\
      (ACE_Cleanup_Adapter<TYPE> *) preallocated_object[ID], 0);\
    preallocated_object[ID] = 0;

Definition at line 80 of file Object_Manager.cpp.

Referenced by ACE_Object_Manager::fini.

#define ACE_PREALLOCATE_ARRAY TYPE,
ID,
COUNT   
 

Value:

{\
      ACE_Cleanup_Adapter<TYPE[COUNT]> *array_p;\
      ACE_NEW_RETURN (array_p, ACE_Cleanup_Adapter<TYPE[COUNT]>, -1);\
      preallocated_array[ID] = array_p;\
    }

Definition at line 74 of file Object_Manager.cpp.

#define ACE_PREALLOCATE_OBJECT TYPE,
ID   
 

Value:

{\
      ACE_Cleanup_Adapter<TYPE> *obj_p;\
      ACE_NEW_RETURN (obj_p, ACE_Cleanup_Adapter<TYPE>, -1);\
      preallocated_object[ID] = obj_p;\
    }

Definition at line 68 of file Object_Manager.cpp.

Referenced by ACE_Object_Manager::init.


Typedef Documentation

typedef ACE_Cleanup_Adapter<ACE_Recursive_Thread_Mutex> ACE_Static_Object_Lock_Type
 

Definition at line 777 of file Object_Manager.cpp.


Function Documentation

const char* get_rcsid_ace_Object_Manager const char *    [inline, static]
 

Definition at line 26 of file Object_Manager.cpp.

00026 : Object_Manager.cpp,v 1.1.1.4.2.1 2003/03/13 19:44:21 chad Exp $")


Variable Documentation

ACE_Object_Manager_Manager ACE_Object_Manager_Manager_instance [static]
 

Definition at line 768 of file Object_Manager.cpp.

ACE_Static_Object_Lock_Type* ACE_Static_Object_Lock_lock = 0 [static]
 

Definition at line 778 of file Object_Manager.cpp.

const char* rcsid_ace_Object_Manager = get_rcsid_ace_Object_Manager ( rcsid_ace_Object_Manager ) [static]
 

Definition at line 26 of file Object_Manager.cpp.


Generated on Mon Jun 16 11:53:10 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002