LCOV - code coverage report
Current view: top level - inc - global_param.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 1 100.0 %
Date: 2025-11-11 12:26:46 Functions: 0 0 -

          Line data    Source code
       1             : //
       2             : //  global_param.h
       3             : //  FVS_xcode
       4             : //
       5             : //  Created by Victor Reutenauer on 08/08/2016.
       6             : //  Copyright (c) 2016 Fotonower. All rights reserved.
       7             : //
       8             : 
       9             : #ifndef FVS_xcode_global_param_h
      10             : #define FVS_xcode_global_param_h
      11             : 
      12             : #include "../inc/header.h"
      13             : 
      14             : #include <stdlib.h>
      15             : #include <string>
      16             : #include <vector>
      17             : 
      18             : 
      19             : 
      20             : //!< Class GlobalParam Singleton to store all the param that by the way could be read in a conf file
      21             : class GlobalParam
      22             : {
      23             :         private :
      24             :     static GlobalParam instance_;
      25             :     void readGlobalParam();
      26             :     
      27             :     public :
      28       11023 :     static GlobalParam& Instance() {return instance_;}
      29             : 
      30             :     int port_;
      31             :     int pid_;
      32             :     int sock_;
      33             : 
      34             :     std::string velours_std_;
      35             :     std::string filename_photo_id_list_str_ = "/photo_list.index";
      36             : 
      37             :     int nbtype_;
      38             :     bool dontCheckDuplicateIdObject_;
      39             : 
      40             :     std::string velours_root_env_name_;
      41             :     
      42             :     std::string eof;
      43             :     std::vector<int> indexCurrent;
      44             :     std::vector<std::vector<to_insert_t> > WriteCache;
      45             : 
      46             :     //!< builder
      47             :     GlobalParam();
      48             : };
      49             : 
      50             : #endif
      51             : 
      52             : 

Generated by: LCOV version 1.14