ACE 8.0.5
Loading...
Searching...
No Matches
Object_Manager_Base.cpp File Reference

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 ()

Variables

int ace_exit_hook_marker = 0
static ACE_OS_Object_Manager_Manager ACE_OS_Object_Manager_Manager_instance

Macro Definition Documentation

◆ ACE_OS_DELETE_PREALLOCATED_OBJECT

#define ACE_OS_DELETE_PREALLOCATED_OBJECT ( TYPE,
ID )
Value:
delete (TYPE *) preallocated_object[ID];\
preallocated_object[ID] = 0;

◆ ACE_OS_PREALLOCATE_OBJECT

#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;\
}

Function Documentation

◆ ACE_OS_Object_Manager_Internal_Exit_Hook()

void ACE_OS_Object_Manager_Internal_Exit_Hook ( )

Variable Documentation

◆ ace_exit_hook_marker

int ace_exit_hook_marker = 0

◆ ACE_OS_Object_Manager_Manager_instance

ACE_OS_Object_Manager_Manager ACE_OS_Object_Manager_Manager_instance
static