WebRadioApp  0.1
_CorePropertyObserver.h
Go to the documentation of this file.
1 /*******************************************************************************
2 *
3 * E M B E D D E D W I Z A R D P R O J E C T
4 *
5 * Copyright (c) TARA Systems GmbH
6 * written by Paul Banach and Manfred Schweyer
7 *
8 ********************************************************************************
9 *
10 * This file was generated automatically by Embedded Wizard Studio.
11 *
12 * Please do not make any modifications of this file! The modifications are lost
13 * when the file is generated again by Embedded Wizard Studio!
14 *
15 * The template of this heading text can be found in the file 'head.ewt' in the
16 * directory 'Platforms' of your Embedded Wizard installation directory. If you
17 * wish to adapt this text, please copy the template file 'head.ewt' into your
18 * project directory and edit the copy only. Please avoid any modifications of
19 * the original template file!
20 *
21 * Version : 10.00
22 * Profile : STM32H747
23 * Platform : STM.STM32.RGB565
24 *
25 *******************************************************************************/
26 
27 #ifndef _CorePropertyObserver_H
28 #define _CorePropertyObserver_H
29 
30 #ifdef __cplusplus
31  extern "C"
32  {
33 #endif
34 
35 #include "ewrte.h"
36 #if EW_RTE_VERSION != 0x000A0000
37  #error Wrong version of Embedded Wizard Runtime Environment.
38 #endif
39 
40 #include "ewgfx.h"
41 #if EW_GFX_VERSION != 0x000A0000
42  #error Wrong version of Embedded Wizard Graphics Engine.
43 #endif
44 
45 /* Forward declaration of the class Core::PropertyObserver */
46 #ifndef _CorePropertyObserver_
47  EW_DECLARE_CLASS( CorePropertyObserver )
48 #define _CorePropertyObserver_
49 #endif
50 
51 
52 /* The class Core::PropertyObserver provides a convenient component able to react
53  to notifications when an associated property changes its value. The component
54  provides a simple interface to register a slot method which will receive a signal
55  when a property is notified as changed. The observed property is determined in
56  @Outlet. The slot method can be stored in the property @OnEvent. */
57 EW_DEFINE_FIELDS( CorePropertyObserver, XObject )
58  EW_PROPERTY( OnEvent, XSlot )
59  EW_PROPERTY( Outlet, XRef )
60  EW_PROPERTY( Enabled, XBool )
61 EW_END_OF_FIELDS( CorePropertyObserver )
62 
63 /* Virtual Method Table (VMT) for the class : 'Core::PropertyObserver' */
64 EW_DEFINE_METHODS( CorePropertyObserver, XObject )
65 EW_END_OF_METHODS( CorePropertyObserver )
66 
67 /* 'C' function for method : 'Core::PropertyObserver.onEvent()' */
68 void CorePropertyObserver_onEvent( CorePropertyObserver _this, XObject sender );
69 
70 /* 'C' function for method : 'Core::PropertyObserver.OnSetOutlet()' */
71 void CorePropertyObserver_OnSetOutlet( CorePropertyObserver _this, XRef value );
72 
73 #ifdef __cplusplus
74  }
75 #endif
76 
77 #endif /* _CorePropertyObserver_H */
78 
79 /* Embedded Wizard */
XRef
Definition: ewrte.h:2075
ewrte.h
CorePropertyObserver_onEvent
void CorePropertyObserver_onEvent(CorePropertyObserver _this, XObject sender)
Definition: Core.c:7809
CorePropertyObserver_OnSetOutlet
void CorePropertyObserver_OnSetOutlet(CorePropertyObserver _this, XRef value)
Definition: Core.c:7818
EW_END_OF_FIELDS
#define EW_END_OF_FIELDS(aClass)
Definition: ewrte.h:460
EW_DECLARE_CLASS
#define EW_DECLARE_CLASS(aClass)
Definition: ewrte.h:393
XSlot
Definition: ewrte.h:2114
ewgfx.h
_obj_XObject
Definition: ewrte.h:281
value
XRect CoreOutline aOutline XPoint value
Definition: _ViewsWarpView.h:137
XBool
char XBool
Definition: ewrte.h:1592
EW_DEFINE_METHODS
#define EW_DEFINE_METHODS(aClass, aSuperClass)
Definition: ewrte.h:524
sender
XRect CoreOutline aOutline XObject sender
Definition: _ApplicationRadioInterface.h:186
EW_PROPERTY
#define EW_PROPERTY(aName, aType)
Definition: ewrte.h:466
EW_END_OF_METHODS
#define EW_END_OF_METHODS(aClass)
Definition: ewrte.h:539
EW_DEFINE_FIELDS
#define EW_DEFINE_FIELDS(aClass, aSuperClass)
Definition: ewrte.h:451