45 #ifndef SC_FXVAL_OBSERVER_H
46 #define SC_FXVAL_OBSERVER_H
56 class sc_fxval_observer;
57 class sc_fxval_fast_observer;
64 #ifdef SC_ENABLE_OBSERVERS
66 #define SC_FXVAL_OBSERVER_CONSTRUCT_(object) \
67 SC_OBSERVER_(object,sc_fxval_observer*,construct)
68 #define SC_FXVAL_OBSERVER_DESTRUCT_(object) \
69 SC_OBSERVER_(object,sc_fxval_observer*,destruct)
70 #define SC_FXVAL_OBSERVER_READ_(object) \
71 SC_OBSERVER_(object,sc_fxval_observer*,read)
72 #define SC_FXVAL_OBSERVER_WRITE_(object) \
73 SC_OBSERVER_(object,sc_fxval_observer*,write)
74 #define SC_FXVAL_OBSERVER_DEFAULT_ \
75 SC_OBSERVER_DEFAULT_(sc_fxval_observer)
77 #define SC_FXVAL_FAST_OBSERVER_CONSTRUCT_(object) \
78 SC_OBSERVER_(object,sc_fxval_fast_observer*,construct)
79 #define SC_FXVAL_FAST_OBSERVER_DESTRUCT_(object) \
80 SC_OBSERVER_(object,sc_fxval_fast_observer*,destruct)
81 #define SC_FXVAL_FAST_OBSERVER_READ_(object) \
82 SC_OBSERVER_(object,sc_fxval_fast_observer*,read)
83 #define SC_FXVAL_FAST_OBSERVER_WRITE_(object) \
84 SC_OBSERVER_(object,sc_fxval_fast_observer*,write)
85 #define SC_FXVAL_FAST_OBSERVER_DEFAULT_ \
86 SC_OBSERVER_DEFAULT_(sc_fxval_fast_observer)
90 #define SC_FXVAL_OBSERVER_CONSTRUCT_(object)
91 #define SC_FXVAL_OBSERVER_DESTRUCT_(object)
92 #define SC_FXVAL_OBSERVER_READ_(object)
93 #define SC_FXVAL_OBSERVER_WRITE_(object)
94 #define SC_FXVAL_OBSERVER_DEFAULT_
96 #define SC_FXVAL_FAST_OBSERVER_CONSTRUCT_(object)
97 #define SC_FXVAL_FAST_OBSERVER_DESTRUCT_(object)
98 #define SC_FXVAL_FAST_OBSERVER_READ_(object)
99 #define SC_FXVAL_FAST_OBSERVER_WRITE_(object)
100 #define SC_FXVAL_FAST_OBSERVER_DEFAULT_
virtual void read(const sc_fxval_fast &)
virtual void construct(const sc_fxval_fast &)
virtual void read(const sc_fxval &)
virtual void write(const sc_fxval &)
virtual ~sc_fxval_observer()
virtual ~sc_fxval_fast_observer()
virtual void write(const sc_fxval_fast &)
virtual void destruct(const sc_fxval_fast &)
virtual void destruct(const sc_fxval &)
virtual void construct(const sc_fxval &)