mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 18:10:40 +02:00
removal of using namespace std from theadFiles
This commit is contained in:
parent
b78b8425fd
commit
212218396a
@ -15,7 +15,7 @@
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
// using namespace std;
|
||||
//
|
||||
|
||||
/** Error flags */
|
||||
/*Assumption: Only upto 63 detectors */
|
||||
|
@ -23,7 +23,7 @@ class ZmqSocket;
|
||||
|
||||
|
||||
|
||||
//using namespace std;
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
//using namespace std;
|
||||
|
||||
|
||||
int dummyCallback(detectorData* d, int p,void*) {
|
||||
cout << "got data " << p << endl;
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "slsDetector.h"
|
||||
#include "multiSlsDetector.h"
|
||||
#include "slsDetectorCommand.h"
|
||||
//using namespace std;
|
||||
|
||||
|
||||
|
||||
/** @short This class handles the command line I/Os, help etc. of the text clients */
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <fstream>
|
||||
|
||||
|
||||
////using namespace std;
|
||||
//
|
||||
|
||||
/**
|
||||
|
||||
|
@ -54,11 +54,6 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
// using std::string;
|
||||
// using std::ofstream;
|
||||
// using std::ifstream;
|
||||
|
||||
// using namespace std;
|
||||
/**
|
||||
|
||||
@libdoc The slsDetectorBase contains also a set of purely virtual functions useful for the implementation of the derived classes
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
#include "sls_detector_defs.h"
|
||||
#include "slsDetectorUtils.h"
|
||||
//using namespace std;
|
||||
|
||||
|
||||
|
||||
/** @short This class handles the command line I/Os, help etc. of the text clients */
|
||||
|
@ -22,7 +22,7 @@ class multiSlsDetectorCommand;
|
||||
#include <string>
|
||||
|
||||
|
||||
//using namespace std;
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -31,7 +31,7 @@ extern "C" {
|
||||
#include <math.h>
|
||||
#include <semaphore.h>
|
||||
#include <cstdlib>
|
||||
//using namespace std;
|
||||
|
||||
|
||||
|
||||
//#include "slsDetectorActions_Standalone.h"
|
||||
|
@ -8,7 +8,6 @@
|
||||
|
||||
#include "Global.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
class CondVar {
|
||||
public:
|
||||
|
@ -4,7 +4,6 @@
|
||||
#include "Global.h"
|
||||
|
||||
#include <string>
|
||||
using namespace std;
|
||||
|
||||
class Single;
|
||||
class ThreadPool;
|
||||
@ -15,10 +14,10 @@ public:
|
||||
Multi();
|
||||
~Multi();
|
||||
|
||||
string executeCommand(int argc,char* argv[]);
|
||||
std::string executeCommand(int argc,char* argv[]);
|
||||
|
||||
int printNumber(int inum);
|
||||
string printString(string s);
|
||||
std::string printString(std::string s);
|
||||
char* printCharArray(char a[]);
|
||||
|
||||
int createThreadPool();
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#include "Global.h"
|
||||
|
||||
using namespace std;
|
||||
// using namespace std;
|
||||
|
||||
class Mutex
|
||||
{
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "Multi.h"
|
||||
|
||||
#include <string>
|
||||
using namespace std;
|
||||
// using namespace std;
|
||||
|
||||
class Single {
|
||||
public:
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
using namespace std;
|
||||
// using namespace std;
|
||||
|
||||
class slsDetector;
|
||||
|
||||
@ -121,14 +121,14 @@ protected:
|
||||
func0_t <runStatus >* m4;
|
||||
func1_t <int, int>* m5;
|
||||
func1_t <int, double>* m6;
|
||||
func1_t <string, string>* m7;
|
||||
func1_t <std::string, std::string>* m7;
|
||||
func1_t <detectorSettings, int>* m8;
|
||||
func2_t <int, int,int>* m9;
|
||||
func2_t <int, string,int>* m10;
|
||||
func2_t <int, std::string,int>* m10;
|
||||
func2_t <dacs_t, dacIndex,int>* m11;
|
||||
func2_t <detectorSettings, detectorSettings,int>* m12;
|
||||
func2_t <int64_t, timerIndex,int64_t>* m13;
|
||||
func2_t <string, networkParameter,string>* m14;
|
||||
func2_t <std::string, networkParameter,std::string>* m14;
|
||||
func3_t <int, int,int,int>* m15;
|
||||
func4_t <int, trimMode,int,int,int>* m16;
|
||||
func4_t <int, int,int,detectorSettings,int>* m17;
|
||||
@ -146,14 +146,14 @@ public:
|
||||
Task(func0_t <runStatus >* t): SuperTask(),fnum(4){m4 = t;};
|
||||
Task(func1_t <int, int>* t): SuperTask(),fnum(5){m5 = t;};
|
||||
Task(func1_t <int, double>* t): SuperTask(),fnum(6){m6 = t;};
|
||||
Task(func1_t <string, string>* t): SuperTask(),fnum(7){m7 = t;};
|
||||
Task(func1_t <std::string, std::string>* t): SuperTask(),fnum(7){m7 = t;};
|
||||
Task(func1_t <detectorSettings, int>* t): SuperTask(),fnum(8){m8 = t;};
|
||||
Task(func2_t <int, int,int>* t): SuperTask(),fnum(9){m9 = t;};
|
||||
Task(func2_t <int, string,int>* t): SuperTask(),fnum(10){m10 = t;};
|
||||
Task(func2_t <int, std::string,int>* t): SuperTask(),fnum(10){m10 = t;};
|
||||
Task(func2_t <dacs_t, dacIndex,int>* t): SuperTask(),fnum(11){m11 = t;};
|
||||
Task(func2_t <detectorSettings, detectorSettings,int>* t): SuperTask(),fnum(12){m12 = t;};
|
||||
Task(func2_t <int64_t, timerIndex,int64_t>* t): SuperTask(),fnum(13){m13 = t;};
|
||||
Task(func2_t <string, networkParameter,string>* t): SuperTask(),fnum(14){m14 = t;};
|
||||
Task(func2_t <std::string, networkParameter,std::string>* t): SuperTask(),fnum(14){m14 = t;};
|
||||
Task(func3_t <int, int,int,int>* t): SuperTask(),fnum(15){m15 = t;};
|
||||
Task(func4_t <int, trimMode,int,int,int>* t): SuperTask(),fnum(16){m16 = t;};
|
||||
Task(func4_t <int, int,int,detectorSettings,int>* t): SuperTask(),fnum(17){m17 = t;};
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "ThreadPool.h"
|
||||
#include <pthread.h>
|
||||
|
||||
using namespace std;
|
||||
ThreadPool::ThreadPool(int pool_size) : m_pool_size(pool_size){
|
||||
#ifdef VERBOSE
|
||||
cout << "Constructed ThreadPool of size " << m_pool_size << endl;
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include "CondVar.h"
|
||||
#include "Global.h"
|
||||
#include <semaphore.h>
|
||||
using namespace std;
|
||||
// using namespace std;
|
||||
|
||||
|
||||
class ThreadPool
|
||||
|
Loading…
x
Reference in New Issue
Block a user