Free Electron
DrawPairs.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_DrawPairs_h__
8 #define __world_DrawPairs_h__
9 
10 #include "signal/signal.h"
11 #include "draw/draw.h"
12 #include "window/window.h"
13 #include "shape/shape.h"
14 #include "viewer/DrawView.h"
15 namespace fe
16 {
17 namespace ext
18 {
19 
20 /** Draw record pairs.
21 
22  @copydoc DrawPairs_info
23  */
24 class FE_DL_EXPORT DrawPairs : public Initialize<DrawPairs>,
25  virtual public HandlerI,
26  virtual public Config
27 {
28  public:
29  DrawPairs(void);
30 virtual ~DrawPairs(void);
31 
32  void initialize(void);
33 
34  // AS HandlerI
35 virtual void handleBind( sp<SignalerI> spSignalerI,
36  sp<Layout> l_sig);
37 virtual void handle( Record &r_sig);
38 
39  private:
40 
41 
42  AsColor m_asColor;
43  AsParticle m_asParticle;
44  AsPair m_asPair;
45  AsProximity m_asProximity;
46  DrawView m_drawview;
47  Color m_color[1];
48 };
49 
50 } /* namespace ext */
51 } /* namespace fe */
52 
53 #endif /* __world_DrawPairs_h__ */
54 
Convienience base class for specification and use of path accessors.
Definition: Config.h:19
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Special vector for color (RGBA)
Definition: Color.h:21
Interface to handle signals from an SignalerI.
Definition: HandlerI.h:22
particle in physical space
Definition: shapeAS.h:58
Pair of records.
Definition: datatoolAS.h:102
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Draw record pairs.
Definition: DrawPairs.h:24
color information
Definition: windowAS.h:83
Helper class for draw operators (handlers)
Definition: DrawView.h:22