ConOpSys V2970  P004.07
ANVILEX control operating system
Request_Synchroniser.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 // Part of ABCC
3 // ANVILEX KM: That is this?
4 //------------------------------------------------------------------------------
5 
6 #pragma once
7 
8 //------------------------------------------------------------------------------
9 
10 #include "Defines.h"
11 
12 //------------------------------------------------------------------------------
13 // Class definitions
14 //------------------------------------------------------------------------------
15 
17 {
18 
19  //----------------------------------------------------------------------------
20  // Public defines, methods and variables
21  //----------------------------------------------------------------------------
22 
23  public:
24 
25  TRequest_Synchroniser(); //!< Class constructor method
26 
27  VOID Request();
28  VOID Done();
29  BOOL Is_Request();
30  BOOL Is_Done();
31 
32  //----------------------------------------------------------------------------
33  // Protected defines, methods and variables
34  //----------------------------------------------------------------------------
35 
36  protected:
37 
38  //----------------------------------------------------------------------------
39  // private defines, methods and variables
40  //----------------------------------------------------------------------------
41 
42  private:
43 
44  typedef enum
45  {
46  enum_Idle = 0,
48  enum_Done = 2
50 
52 
54 
55 };
56 
57 //------------------------------------------------------------------------------
58 // End Of File
59 //------------------------------------------------------------------------------
ConOpSys data type definitions header file.
int BOOL
Boolean datatype definition.
Definition: Defines.h:124
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
Definition: Request_Synchroniser.h:17
VOID Request()
Definition: Request_Synchroniser.cpp:25
BOOL bool_Request
Definition: Request_Synchroniser.h:51
TFSM_State
Definition: Request_Synchroniser.h:45
@ enum_Idle
Definition: Request_Synchroniser.h:46
@ enum_Process
Definition: Request_Synchroniser.h:47
@ enum_Done
Definition: Request_Synchroniser.h:48
TFSM_State enum_FSM_State
Definition: Request_Synchroniser.h:53
VOID Done()
Definition: Request_Synchroniser.cpp:47
TRequest_Synchroniser()
Class constructor method.
Definition: Request_Synchroniser.cpp:12
BOOL Is_Request()
Definition: Request_Synchroniser.cpp:85
BOOL Is_Done()
Definition: Request_Synchroniser.cpp:156