neic-glass3  1.4.6
Detection.h
Go to the documentation of this file.
1 /*****************************************
2  * This file is documented for Doxygen.
3  * If you modify this file please update
4  * the comments so that Doxygen will still
5  * be able to work.
6  ****************************************/
7 #ifndef DETECTION_H
8 #define DETECTION_H
9 
10 #include <json.h>
11 #include <memory>
12 #include <string>
13 #include <vector>
14 #include <mutex>
15 
16 namespace glasscore {
17 
18 // forward declarations
19 class CSite;
20 class CHypo;
21 
29 class CDetection {
30  public:
34  CDetection();
35 
39  ~CDetection();
40 
55  bool receiveExternalMessage(std::shared_ptr<json::Object> com);
56 
71  std::shared_ptr<json::Object> detectionMessage);
72 
73  private:
81  mutable std::recursive_mutex m_DetectionMutex;
82 };
83 } // namespace glasscore
84 #endif // DETECTION_H
bool receiveExternalMessage(std::shared_ptr< json::Object > com)
CDetection communication receiving function.
Definition: Detection.cpp:30
glasscore detection class
Definition: Detection.h:29
bool processDetectionMessage(std::shared_ptr< json::Object > detectionMessage)
Process detection message.
Definition: Detection.cpp:56
~CDetection()
CDetection destructor.
Definition: Detection.cpp:26
The namespace containing the core algorithm.
Definition: Correlation.h:17
CDetection()
CDetection constructor.
Definition: Detection.cpp:22