Free Electron
CurveFollowOp.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 __operator_CurveFollowOp_h__
8 #define __operator_CurveFollowOp_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief Operator to provide target along curve
17 
18  @ingroup operator
19 *//***************************************************************************/
20 class FE_DL_EXPORT CurveFollowOp:
21  public OperatorSurfaceCommon,
22  public Initialize<CurveFollowOp>
23 {
24  public:
25 
26  class Feedback
27  {
28  public:
29  SpatialVector m_location;
30  String m_text;
31  };
32 
33  CurveFollowOp(void) {}
34 virtual ~CurveFollowOp(void) {}
35 
36  void initialize(void);
37 
38  //* As HandlerI
39 virtual void handle(Record& a_rSignal);
40 
41  private:
42 
43  sp<SurfaceAccessibleI> m_spInputAccessible;
44  sp<SurfaceI> m_spCurve;
45 
46  sp<DrawMode> m_spSolid;
47  sp<DrawMode> m_spOverlay;
48 
49  Array<Feedback> m_feedbackArray;
50 };
51 
52 } /* namespace ext */
53 } /* namespace fe */
54 
55 #endif /* __operator_CurveFollowOp_h__ */
56 
kernel
Definition: namespace.dox:3
Operator to provide target along curve.
Definition: CurveFollowOp.h:20
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
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
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53