Free Electron
SimpleGrid.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 __world_SimpleGrid_h__
8 #define __world_SimpleGrid_h__
9 
10 #include "signal/signal.h"
11 #include "draw/draw.h"
12 #include "datatool/datatool.h"
13 namespace fe
14 {
15 namespace ext
16 {
17 
18 /** draw a 20x20 grid
19 
20  @copydoc SimpleGrid_info
21  */
22 class SimpleGrid :
23  virtual public Config,
24  virtual public HandlerI
25 {
26  public:
27  SimpleGrid(void);
28 virtual ~SimpleGrid(void);
29 virtual void handle(fe::Record &r_sig);
30 
31  private:
32  AsSignal m_asSignal;
33  AsWindata m_asWindata;
34  SpatialVector m_thin[80];
35  SpatialVector m_thick[8];
36  SpatialVector m_x[2];
37  SpatialVector m_y[2];
38  SpatialVector m_z[2];
39  SpatialVector m_x_thin[80];
40  SpatialVector m_x_thick[8];
41  SpatialVector m_x_x[2];
42  SpatialVector m_x_y[2];
43  SpatialVector m_x_z[2];
44  sp<DrawMode> m_spThinMode;
45  sp<DrawMode> m_spThickMode;
46 };
47 
48 } /* namespace ext */
49 } /* namespace fe */
50 
51 #endif /* __world_SimpleGrid_h__ */
52 
Convienience base class for specification and use of path accessors.
Definition: Config.h:19
draw a 20x20 grid
Definition: SimpleGrid.h:22
window data
Definition: datatoolAS.h:38
possible attributes of a top level signal
Definition: datatoolAS.h:16
kernel
Definition: namespace.dox:3
Interface to handle signals from an SignalerI.
Definition: HandlerI.h:22
Reference to an instance of a Layout.
Definition: RecordSB.h:35