45 #ifndef SC_FXNUM_OBSERVER_H
46 #define SC_FXNUM_OBSERVER_H
56 class sc_fxnum_observer;
57 class sc_fxnum_fast_observer;
64 #ifdef SC_ENABLE_OBSERVERS
66 #define SC_FXNUM_OBSERVER_CONSTRUCT_(object) \
67 SC_OBSERVER_(object,sc_fxnum_observer*,construct)
68 #define SC_FXNUM_OBSERVER_DESTRUCT_(object) \
69 SC_OBSERVER_(object,sc_fxnum_observer*,destruct)
70 #define SC_FXNUM_OBSERVER_READ_(object) \
71 SC_OBSERVER_(object,sc_fxnum_observer*,read)
72 #define SC_FXNUM_OBSERVER_WRITE_(object) \
73 SC_OBSERVER_(object,sc_fxnum_observer*,write)
74 #define SC_FXNUM_OBSERVER_DEFAULT_ \
75 SC_OBSERVER_DEFAULT_(sc_fxnum_observer)
77 #define SC_FXNUM_FAST_OBSERVER_CONSTRUCT_(object) \
78 SC_OBSERVER_(object,sc_fxnum_fast_observer*,construct)
79 #define SC_FXNUM_FAST_OBSERVER_DESTRUCT_(object) \
80 SC_OBSERVER_(object,sc_fxnum_fast_observer*,destruct)
81 #define SC_FXNUM_FAST_OBSERVER_READ_(object) \
82 SC_OBSERVER_(object,sc_fxnum_fast_observer*,read)
83 #define SC_FXNUM_FAST_OBSERVER_WRITE_(object) \
84 SC_OBSERVER_(object,sc_fxnum_fast_observer*,write)
85 #define SC_FXNUM_FAST_OBSERVER_DEFAULT_ \
86 SC_OBSERVER_DEFAULT_(sc_fxnum_fast_observer)
90 #define SC_FXNUM_OBSERVER_CONSTRUCT_(object)
91 #define SC_FXNUM_OBSERVER_DESTRUCT_(object)
92 #define SC_FXNUM_OBSERVER_READ_(object)
93 #define SC_FXNUM_OBSERVER_WRITE_(object)
94 #define SC_FXNUM_OBSERVER_DEFAULT_
96 #define SC_FXNUM_FAST_OBSERVER_CONSTRUCT_(object)
97 #define SC_FXNUM_FAST_OBSERVER_DESTRUCT_(object)
98 #define SC_FXNUM_FAST_OBSERVER_READ_(object)
99 #define SC_FXNUM_FAST_OBSERVER_WRITE_(object)
100 #define SC_FXNUM_FAST_OBSERVER_DEFAULT_
virtual void read(const sc_fxnum_fast &)
virtual void write(const sc_fxnum_fast &)
virtual void write(const sc_fxnum &)
virtual ~sc_fxnum_fast_observer()
virtual void destruct(const sc_fxnum_fast &)
virtual void read(const sc_fxnum &)
virtual void construct(const sc_fxnum &)
virtual void destruct(const sc_fxnum &)
virtual ~sc_fxnum_observer()
virtual void construct(const sc_fxnum_fast &)