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

Naming_Context.cpp File Reference

#include "ace_pch.h"
#include "ace/Get_Opt.h"
#include "ace/Naming_Context.h"
#include "ace/Remote_Name_Space.h"
#include "ace/Local_Name_Space_T.h"
#include "ace/Registry_Name_Space.h"
#include "ace/Memory_Pool.h"
#include "ace/RW_Process_Mutex.h"

Include dependency graph for Naming_Context.cpp:

Include dependency graph

Go to the source code of this file.

Typedefs

typedef ACE_Local_Name_Space<
ACE_MMAP_MEMORY_POOL, ACE_RW_Process_Mutex
LOCAL_NAME_SPACE
typedef ACE_Local_Name_Space<
ACE_LITE_MMAP_MEMORY_POOL,
ACE_RW_Process_Mutex
LITE_LOCAL_NAME_SPACE

Functions

const char * get_rcsid_ace_Naming_Context (const char *)
 ACE_STATIC_SVC_DEFINE (ACE_Naming_Context, ACE_LIB_TEXT("ACE_Naming_Context"), ACE_SVC_OBJ_T,&ACE_SVC_NAME(ACE_Naming_Context), ACE_Service_Type::DELETE_THIS|ACE_Service_Type::DELETE_OBJ, 0) int ACE_Naming_Context

Variables

const char * rcsid_ace_Naming_Context = get_rcsid_ace_Naming_Context ( rcsid_ace_Naming_Context )


Typedef Documentation

typedef ACE_Local_Name_Space<ACE_LITE_MMAP_MEMORY_POOL, ACE_RW_Process_Mutex> LITE_LOCAL_NAME_SPACE
 

Definition at line 17 of file Naming_Context.cpp.

typedef ACE_Local_Name_Space<ACE_MMAP_MEMORY_POOL, ACE_RW_Process_Mutex> LOCAL_NAME_SPACE
 

Definition at line 16 of file Naming_Context.cpp.


Function Documentation

ACE_STATIC_SVC_DEFINE ACE_Naming_Context   ,
ACE_LIB_TEXT("ACE_Naming_Context")   ,
ACE_SVC_OBJ_T   ,
&ACE_SVC_NAME(ACE_Naming_Context  ,
ACE_Service_Type::DELETE_THIS|ACE_Service_Type::DELETE_OBJ   ,
 
 

Definition at line 24 of file Naming_Context.cpp.

References ACE_LIB_TEXT, ACE_SVC_NAME, ACE_TCHAR, ACE_TRACE, ACE_Service_Type::DELETE_OBJ, ACE_Service_Type::DELETE_THIS, ACE_OS::sprintf, ACE_OS_String::strdup, ACE_OS_String::strlen, and ACE_OS_String::strsncpy.

00039 {
00040   ACE_TRACE ("ACE_Naming_Context::info");
00041   ACE_UNUSED_ARG (length);
00042   ACE_TCHAR buf[BUFSIZ];
00043 
00044   ACE_OS::sprintf (buf,
00045                    ACE_LIB_TEXT ("%s\t#%s\n"),
00046                    ACE_LIB_TEXT ("ACE_Naming_Context"),
00047                    ACE_LIB_TEXT ("Proxy for making calls to a Name Server"));
00048 
00049   if (*strp == 0 && (*strp = ACE_OS_String::strdup (buf)) == 0)
00050     return -1;
00051   else
00052     ACE_OS_String::strsncpy (*strp, buf, length);
00053   return ACE_static_cast (int, ACE_OS_String::strlen (buf));
00054 }

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

Definition at line 12 of file Naming_Context.cpp.

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


Variable Documentation

const char* rcsid_ace_Naming_Context = get_rcsid_ace_Naming_Context ( rcsid_ace_Naming_Context ) [static]
 

Definition at line 12 of file Naming_Context.cpp.


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