mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +02:00
36 lines
433 B
C++
36 lines
433 B
C++
#pragma once
|
|
|
|
|
|
#include "Global.h"
|
|
|
|
#include <string>
|
|
|
|
class Single;
|
|
class ThreadPool;
|
|
|
|
class Multi {
|
|
public:
|
|
|
|
Multi();
|
|
~Multi();
|
|
|
|
std::string executeCommand(int argc,char* argv[]);
|
|
|
|
int printNumber(int inum);
|
|
std::string printString(std::string s);
|
|
char* printCharArray(char a[]);
|
|
|
|
int createThreadPool();
|
|
int destroyThreadPool();
|
|
|
|
protected:
|
|
Single* singles[MAX_SINGLES];
|
|
int numSingles;
|
|
ThreadPool* threadpool;
|
|
|
|
|
|
|
|
};
|
|
|
|
|