summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2002-05-24 07:10:21 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2002-05-24 07:10:21 +0000
commit23a4d9a3c1ed8cf08aee3d2c3ad284e8576bf329 (patch)
treeeb7b2333f542a680c6f9855ecb40b3e80e0b22d0 /TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h
parentf9fa25322646bf895724e15f4a2848b828cb8c59 (diff)
downloadATCD-23a4d9a3c1ed8cf08aee3d2c3ad284e8576bf329.tar.gz
ChangeLogTag: Fri May 24 09:09:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h65
1 files changed, 32 insertions, 33 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h b/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h
index 87a701a100d..cf01ba7ad33 100644
--- a/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h
+++ b/TAO/orbsvcs/orbsvcs/Concurrency/Concurrency_Utils.h
@@ -1,24 +1,21 @@
/* -*- C++ -*- */
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-// TAO/orbsvcs/Concurrency_Service
-//
-// = FILENAME
-// Concurrency_Utils.h
-//
-// = DESCRIPTION
-// This class implements a Concurrency Server wrapper class which
-// holds a number of lock sets. The server must run in the
-// thread per request concurrency model in order to let the
-// clients block on the semaphores.
-//
-// = AUTHORS
-// Torben Worm <tworm@cs.wustl.edu>
-//
-// ============================================================================
+//=============================================================================
+/**
+ * @file Concurrency_Utils.h
+ *
+ * $Id$
+ *
+ * This class implements a Concurrency Server wrapper class which
+ * holds a number of lock sets. The server must run in the
+ * thread per request concurrency model in order to let the
+ * clients block on the semaphores.
+ *
+ *
+ * @author Torben Worm <tworm@cs.wustl.edu>
+ */
+//=============================================================================
+
#ifndef _CONCURRENCY_SERVER_H
#define _CONCURRENCY_SERVER_H
@@ -29,41 +26,43 @@
#include "CC_LockSetFactory.h"
#include "concurrency_export.h"
+/**
+ * @class TAO_Concurrency_Server
+ *
+ * @brief Defines a wrapper class for the implementation of the
+ * concurrency server.
+ *
+ * This class takes an orb and Poa reference and activates the
+ * concurrency service lock set factory object under them.
+ */
class TAO_Concurrency_Export TAO_Concurrency_Server
{
- // = TITLE
- // Defines a wrapper class for the implementation of the
- // concurrency server.
- //
- // = DESCRIPTION
- // This class takes an orb and Poa reference and activates the
- // concurrency service lock set factory object under them.
public:
// = Initialization and termination methods.
+ ///Default constructor.
TAO_Concurrency_Server (void);
- //Default constructor.
+ /// Takes the POA under which to register the Concurrency Service
+ /// implementation object.
TAO_Concurrency_Server (CORBA::ORB_ptr orb,
PortableServer::POA_ptr poa);
- // Takes the POA under which to register the Concurrency Service
- // implementation object.
+ /// Destructor.
~TAO_Concurrency_Server (void);
- // Destructor.
+ /// Initialize the concurrency server under the given ORB and POA.
CORBA::Object_ptr init (CORBA::ORB_ptr orb,
PortableServer::POA_ptr poa);
- // Initialize the concurrency server under the given ORB and POA.
/// Cleanup resources.
int fini (void);
+ /// Get the lock set factory.
CC_LockSetFactory *GetLockSetFactory (void);
- // Get the lock set factory.
private:
+ /// This is the lock set factory activated under the POA.
CC_LockSetFactory lock_set_factory_;
- // This is the lock set factory activated under the POA.
/// The POA which the lock set factory servant was registered.
PortableServer::POA_var poa_;