Kaynağa Gözat

Polished ScannerPool - added some missing pieces.

git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@10 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
master
madscientist 15 yıl önce
ebeveyn
işleme
7033ed247f
1 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  1. 6
    0
      SNF4CGP/ScannerPool.hpp

+ 6
- 0
SNF4CGP/ScannerPool.hpp Dosyayı Görüntüle

@@ -10,6 +10,11 @@
#define IncludedScannerPool
#include "../SNF4CGP/SNFMulti/SNFMulti.hpp"
#include "../SNF4CGP/CodeDweller/threading.hpp"
#include <string>
using namespace std;
class Scanner { // SNF Scanner instance for the pool
private:
@@ -27,6 +32,7 @@ class ScannerPool {
private:
snf_RulebaseHandler* Rulebase; // Allocates an SNF rulebase.
unsigned int ScannerCount; // Allocates and counts scanners.
ProductionQueue<Scanner*> PooledScanners; // Pool of ready-to-go scanners.
public:
ScannerPool(string Configuration); // Constructed with Rulebase config.

Loading…
İptal
Kaydet