Free Electron
Collect.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __intelligence_Collect_h__
8 #define __intelligence_Collect_h__
9 namespace fe
10 {
11 namespace ext
12 {
13 
14 /**************************************************************************//**
15  @brief Collect knowledge from controlled particles
16 
17  @ingroup intelligence
18 *//***************************************************************************/
19 class FE_DL_EXPORT Collect: public HandlerI
20 {
21  public:
22  Collect(void) {}
23 
24  //* as HandlerI
25 virtual void handle(Record &record);
26 
27  private:
28 
29  void checkSurveillance(Record& rViewpoint,
30  Record rControl,Record& rPurview);
31 
32  Theater m_theaterRV;
33  Surveillance m_surveillanceRV;
34  Controlled m_controlledRV;
35  Observation m_observeRV;
36  RecordArrayView<ControlCenter> m_controlRAV;
37 };
38 
39 } /* namespace ext */
40 } /* namespace fe */
41 
42 #endif /* __intelligence_Collect_h__ */
Controlled RecordView.
Definition: Controlled.h:19
Surveillance RecordView.
Definition: Surveillance.h:19
kernel
Definition: namespace.dox:3
Collect knowledge from controlled particles.
Definition: Collect.h:19
Theater RecordView.
Definition: Theater.h:19
RecordView Iteration over a RecordArray.
Definition: RecordArrayView.h:37
Interface to handle signals from an SignalerI.
Definition: HandlerI.h:22
Observation RecordView.
Definition: Observation.h:22
Reference to an instance of a Layout.
Definition: RecordSB.h:35