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

ACE_Init_ACE Class Reference

Initialize ACE library services. Can be called only once per program invocation. More...

#include <Init_ACE.h>

Inheritance diagram for ACE_Init_ACE

Inheritance graph
[legend]
List of all members.

Static Public Methods

int init (void)
 Returns 0 on success, -1 on failure, and 1 if it had already been called. More...

int fini (void)
 Returns 0 on success, -1 on failure, and 1 if it had already been called. More...


Static Private Attributes

u_int init_fini_count_ = 0

Detailed Description

Initialize ACE library services. Can be called only once per program invocation.


Member Function Documentation

int ACE_Init_ACE::fini ( void ) [static]
 

Returns 0 on success, -1 on failure, and 1 if it had already been called.

Shut down ACE library services. Can be called only once per program invocation.

int ACE_Init_ACE::init ( void ) [static]
 

Returns 0 on success, -1 on failure, and 1 if it had already been called.

This class implements the fucntions for the initialization and shutting down ACE. These functions are called only once per ACE invokation.


Member Data Documentation

u_int ACE_Init_ACE::init_fini_count_ = 0 [inline, static, private]
 

Counter to match <init>/<fini> calls. <init> must increment it; <fini> must decrement it. <fini> then does nothing until it reaches 0.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 10:30:50 2001 for ACE by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000