Free Electron
NexusOp.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 __oplab_NexusOp_h__
8 #define __oplab_NexusOp_h__
9 namespace fe
10 {
11 namespace ext
12 {
13 
14 /**************************************************************************//**
15  @brief Operator to adjust operator connections
16 
17  @ingroup oplab
18 *//***************************************************************************/
19 class FE_DL_EXPORT NexusOp:
20  public OperatorSurfaceCommon,
21  public Initialize<NexusOp>
22 {
23  public:
24 
25  NexusOp(void):
26  m_dragging(FALSE)
27  {
28  set(m_from);
29  set(m_to);
30  }
31 
32 virtual ~NexusOp(void) {}
33 
34  void initialize(void);
35 
36  //* As HandlerI
37 virtual void handle(Record& a_rSignal);
38 
39  private:
40 
41  WindowEvent m_event;
42 
43  sp<DrawMode> m_spBox;
44 
45  BWORD m_dragging;
46 
47  String m_pickType;
48  String m_pickNode;
49  String m_pickConnector;
50 
51  SpatialVector m_from;
52  String m_fromType;
53  String m_fromNode;
54  String m_fromConnector;
55 
56  SpatialVector m_to;
57 };
58 
59 } /* namespace ext */
60 } /* namespace fe */
61 
62 #endif /* __oplab_NexusOp_h__ */
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Generalized windowing event.
Definition: WindowEvent.h:43
Automatically reference-counted string container.
Definition: String.h:128
Partial Generic SurfaceI Implemention.
Definition: OperatorSurfaceCommon.h:20
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Operator to adjust operator connections.
Definition: NexusOp.h:19