ACE 8.0.0
Loading...
Searching...
No Matches
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 ()
 

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;
This class inherits the interface of the abstract ACE_Dumpable class and is instantiated with the imp...
Definition Dump_T.h:39

◆ 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