Free Electron
viewerAS.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 __viewer_viewerAS_h__
8 #define __viewer_viewerAS_h__
9 
10 #include "math/math.h"
11 #include "shape/shape.h"
12 
13 namespace fe
14 {
15 namespace ext
16 {
17 
18 class FE_DL_EXPORT AsChannelBinding :
19  public AccessorSet,
20  public Initialize<AsChannelBinding>
21 {
22  public:
23  void initialize(void)
24  {
25  add(record, FE_USE("bnd:record"));
26  add(attribute, FE_USE("bnd:attribute"));
27  add(channel, FE_USE("bnd:channel"));
28  add(mode, FE_USE("bnd:mode"));
29  }
30  Accessor<Record> record;
31  Accessor<String> attribute;
32  Accessor<String> channel;
33  Accessor<String> mode;
34 };
35 
36 
37 class FE_DL_EXPORT AsBooleanFilter :
38  public AccessorSet,
39  public Initialize<AsBooleanFilter>
40 {
41  public:
42  void initialize(void)
43  {
44  add(incr, FE_USE("channel:incr"));
45  add(decr, FE_USE("channel:decr"));
46  add(output, FE_USE("channel:output"));
47  add(rate, FE_USE("channel:rate"));
48  add(rest, FE_USE("channel:rest"));
49  add(minimum, FE_USE("channel:min"));
50  add(maximum, FE_USE("channel:max"));
51  }
52  Accessor<String> incr;
53  Accessor<String> decr;
54  Accessor<String> output;
55  Accessor<Real> rate;
56  Accessor<Real> rest;
57  Accessor<Real> minimum;
58  Accessor<Real> maximum;
59 };
60 
61 } /* namespace ext */
62 } /* namespace fe */
63 
64 
65 #endif /* __viewer_viewerAS_h__ */
66 
67 
kernel
Definition: namespace.dox:3