Free Electron
IdleSpinOp.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 __optest_IdleSpinOp_h__
8 #define __optest_IdleSpinOp_h__
9 namespace fe
10 {
11 namespace ext
12 {
13 
14 /**************************************************************************//**
15  @brief Operator to keep spinning the input even without provocation
16 
17  @ingroup optest
18 *//***************************************************************************/
19 class FE_DL_EXPORT IdleSpinOp:
20  public OperatorSurfaceCommon,
21  public Initialize<IdleSpinOp>
22 {
23  public:
24 
25  IdleSpinOp(void):
26  m_angle(0.0) {}
27 
28 virtual ~IdleSpinOp(void) {}
29 
30  void initialize(void);
31 
32  //* As HandlerI
33 virtual void handle(Record& a_rSignal);
34 
35  private:
36  Real m_angle;
37 };
38 
39 } /* namespace ext */
40 } /* namespace fe */
41 
42 #endif /* __optest_IdleSpinOp_h__ */
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Partial Generic SurfaceI Implemention.
Definition: OperatorSurfaceCommon.h:20
Operator to keep spinning the input even without provocation.
Definition: IdleSpinOp.h:19
Reference to an instance of a Layout.
Definition: RecordSB.h:35