LCOV - code coverage report
Current view: top level - frmts/pcidsk/sdk - pcidsk_mutex.h (source / functions) Hit Total Coverage
Test: gdal_filtered.info Lines: 1 1 100.0 %
Date: 2024-11-25 13:07:18 Functions: 1 2 50.0 %

          Line data    Source code
       1             : /******************************************************************************
       2             :  *
       3             :  * Purpose:  Interface. PCIDSK Mutex Class.
       4             :  *
       5             :  ******************************************************************************
       6             :  * Copyright (c) 2009
       7             :  * PCI Geomatics, 90 Allstate Parkway, Markham, Ontario, Canada.
       8             :  *
       9             :  * SPDX-License-Identifier: MIT
      10             :  ****************************************************************************/
      11             : #ifndef INCLUDE_PCIDSK_MUTEX_H
      12             : #define INCLUDE_PCIDSK_MUTEX_H
      13             : 
      14             : #include "pcidsk_config.h"
      15             : 
      16             : namespace PCIDSK
      17             : {
      18             : /************************************************************************/
      19             : /*                                Mutex                                 */
      20             : /************************************************************************/
      21             : 
      22             :     class Mutex
      23             :     {
      24             :     public:
      25         306 :         virtual ~Mutex() {}
      26             : 
      27             :         virtual int  Acquire() = 0;
      28             :         virtual int  Release() = 0;
      29             :     };
      30             : 
      31             :     Mutex PCIDSK_DLL *DefaultCreateMutex(void);
      32             : } // end namespace PCIDSK
      33             : 
      34             : #endif // INCLUDE_PCIDSK_MUTEX_H

Generated by: LCOV version 1.14