diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
commit | 3df4acfa816441fc28a95dee6d0191a927145d95 (patch) | |
tree | b5ae7ca44662cfd8e5c95f1826e4406021a606f5 /ace/Init_ACE.h | |
parent | 60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff) | |
download | ATCD-pre-subset.tar.gz |
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'ace/Init_ACE.h')
-rw-r--r-- | ace/Init_ACE.h | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/ace/Init_ACE.h b/ace/Init_ACE.h deleted file mode 100644 index cda0abe6ff6..00000000000 --- a/ace/Init_ACE.h +++ /dev/null @@ -1,69 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file Init_ACE.h - * - * $Id$ - * - * This class consolidates the operations on the Handles. - * - * @author Priyanka Gontla <pgontla@ece.uci.edu> - */ -//============================================================================= - - -#ifndef ACE_INIT_ACE_H -#define ACE_INIT_ACE_H - -#include "ace/pre.h" - -#include "ace/ACE_export.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -/** - * @class ACE_Init_ACE - * - * @brief Initialize ACE library services. Can be called only once - * per program invocation. - * - */ -class ACE_Export ACE_Init_ACE -{ -public: - /** - * This class implements the functions for the initialization and - * shutting down ACE. These functions are called only once per ACE - * invokation. - * @return Returns 0 on success, -1 on failure, and 1 if it had already been - * called. - */ - static int init (void); - - /** - * Shut down ACE library services. Can be called only once per - * program invocation. - * @return Returns 0 on success, -1 on failure, and 1 if it had already been - * called. - */ - static int fini (void); - -private: - /** - * Counter to match <init()>/<fini()> calls. <init()> must increment it; - * <fini()> must decrement it. <fini()> then does nothing until it - * reaches 0. - */ - static unsigned int init_fini_count_; -}; - -#if !defined (ACE_LACKS_INLINE_FUNCTIONS) -#include "ace/Init_ACE.i" -#endif /* ACE_LACKS_INLINE_FUNCTIONS */ - -#include "ace/post.h" - -#endif /* ACE_INIT_ACE_H */ |