ACE  6.3.3
Classes | Macros | Functions | Variables
Object_Manager_Base.cpp File Reference
#include "ace/Object_Manager_Base.h"
#include "ace/OS_Memory.h"
#include "ace/OS_NS_Thread.h"
#include "ace/OS_NS_sys_socket.h"
#include "ace/OS_NS_signal.h"
#include "ace/OS_NS_stdio.h"

Classes

class  ACE_OS_Object_Manager_Manager
 Ensure that the ACE_OS_Object_Manager gets initialized at program startup, and destroyed at program termination. More...
 

Macros

#define ACE_OS_PREALLOCATE_OBJECT(TYPE, ID)
 
#define ACE_OS_DELETE_PREALLOCATED_OBJECT(TYPE, ID)
 

Functions

void ACE_OS_Object_Manager_Internal_Exit_Hook (void)
 

Variables

int ace_exit_hook_marker = 0
 
static ACE_OS_Object_Manager_Manager ACE_OS_Object_Manager_Manager_instance
 

Macro Definition Documentation

#define ACE_OS_DELETE_PREALLOCATED_OBJECT (   TYPE,
  ID 
)
Value:
delete (TYPE *) preallocated_object[ID];\
preallocated_object[ID] = 0;
#define ACE_OS_PREALLOCATE_OBJECT (   TYPE,
  ID 
)
Value:
{\
TYPE *obj_p = 0;\
ACE_NEW_RETURN (obj_p, TYPE, -1);\
preallocated_object[ID] = (void *) obj_p;\
}
#define ACE_NEW_RETURN(POINTER, CONSTRUCTOR, RET_VAL)
Definition: OS_Memory.h:215

Function Documentation

void ACE_OS_Object_Manager_Internal_Exit_Hook ( void  )

Variable Documentation

int ace_exit_hook_marker = 0
ACE_OS_Object_Manager_Manager ACE_OS_Object_Manager_Manager_instance
static