Free Electron
Surveillance.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_Surveillance_h__
8 #define __intelligence_Surveillance_h__
9 namespace fe
10 {
11 namespace ext
12 {
13 
14 /**************************************************************************//**
15  @brief Surveillance RecordView
16 
17  @ingroup intelligence
18 *//***************************************************************************/
19 class FE_DL_EXPORT Surveillance: public RecordView
20 {
21  public:
22  Functor< sp<RecordGroup> > observations;
23  Functor< sp<RecordGroup> > proxyGroup;
24  Functor<I32> serial;
25 
26  Surveillance(void) { setName("Surveillance"); }
27 virtual void addFunctors(void)
28  {
29  add(observations, FE_SPEC("bnd:observeRG",
30  "Shapes totaling what can be seen"));
31  add(proxyGroup, FE_SPEC("ai:proxyRG",
32  "Set of proxies for what can be seen"));
33  add(serial, FE_USE(":SN"));
34  }
35 virtual void initializeRecord(void)
36  {
37  observations.createAndSetRecordGroup();
38  proxyGroup.createAndSetRecordGroup();
39  }
40 };
41 
42 } /* namespace ext */
43 } /* namespace fe */
44 
45 #endif /* __intelligence_Surveillance_h__ */
void createAndSetRecordGroup(void)
Create a RecordGroup for the attribute.
Definition: RecordView.h:258
Surveillance RecordView.
Definition: Surveillance.h:19
kernel
Definition: namespace.dox:3
Bound accessor in a RecordView.
Definition: RecordView.h:147
virtual void initializeRecord(void)
Called at instantiation to initialize attributes.
Definition: Surveillance.h:35
Bindable collection of accessor Functors.
Definition: RecordView.h:106
virtual void addFunctors(void)
Called at instantiation to add functors.
Definition: Surveillance.h:27