blob: 4c032f823de6d480cffd9ea7d6689c4407b4a51d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
// -*- C++ -*-
//=============================================================================
/**
* @file CC_LockSetFactory.h
*
* This class implements the lock set factory interface from the
* concurrency service.
*
* @author Torben Worm <tworm@cs.wustl.edu>
*/
//=============================================================================
#ifndef _CC_LOCKSETFACTORY_H
#define _CC_LOCKSETFACTORY_H
#include /**/ "ace/pre.h"
#include "orbsvcs/CosConcurrencyControlS.h"
#include "orbsvcs/Concurrency/concurrency_serv_export.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
/**
* @class CC_LockSetFactory
*
* @brief CC_LockSetFactory
*
* This class implements the LockSetFactory interface that is
* part of the CosConcurrency service. Please consult the idl
* file for detailed descriptions apart from the comments in
* this file.
*/
class TAO_Concurrency_Serv_Export CC_LockSetFactory
: public POA_CosConcurrencyControl::LockSetFactory
{
public:
/// Default constructor.
CC_LockSetFactory ();
/// Destructor.
~CC_LockSetFactory ();
virtual CosConcurrencyControl::LockSet_ptr create ();
virtual CosConcurrencyControl::LockSet_ptr create_related (
CosConcurrencyControl::LockSet_ptr which);
private:
/// Lock to serialize the access to the factory.
TAO_SYNCH_MUTEX lock_;
};
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* _CC_LOCKSETFACTORY_H */
|