~ubuntu-branches/ubuntu/wily/geotranz/wily

« back to all changes in this revision

Viewing changes to CCS/src/dtcc/CoordinateSystems/threads/CCSThreadLock.h

  • Committer: Bazaar Package Importer
  • Author(s): Roberto Lumbreras
  • Date: 2011-03-06 21:06:09 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20110306210609-khf6l1gumi6tlee2
Tags: upstream-3.1
ImportĀ upstreamĀ versionĀ 3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// CLASSIFICATION: UNCLASSIFIED
 
2
 
 
3
#ifndef MSP_CCSTHREADLOCK_H
 
4
#define MSP_CCSTHREADLOCK_H
 
5
 
 
6
#include "DtccApi.h"
 
7
 
 
8
namespace MSP
 
9
{
 
10
    class CCSThreadMutex;
 
11
}
 
12
 
 
13
namespace MSP
 
14
{
 
15
    class MSP_DTCC_API CCSThreadLock
 
16
    {
 
17
    public:
 
18
        /// Default Constructor.
 
19
        CCSThreadLock(const CCSThreadMutex *mutex);
 
20
 
 
21
        /// Destructor.
 
22
        ~CCSThreadLock();
 
23
 
 
24
    private:
 
25
        // no copy operators
 
26
        CCSThreadLock(const CCSThreadLock&);
 
27
        CCSThreadLock &operator=( const CCSThreadLock&);
 
28
 
 
29
        const CCSThreadMutex *mutex;
 
30
    };
 
31
}
 
32
#endif
 
33
 
 
34
// CLASSIFICATION: UNCLASSIFIED