GlobalObjects
Lade ...
Suche ...
Keine Treffer
GloCallBack.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_GLOCALLBACK_H
2#define INC_GLOCALLBACK_H
3//-----------------------------------------------------------------------------
36//-----------------------------------------------------------------------------
37#include "GloTypes.h"
38#include "GloNotifyNote.h"
39#include <memory>
40//-----------------------------------------------------------------------------
41#ifdef _MSC_VER
42 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
43 #pragma warning( disable : 4251 )
44#endif
45//-----------------------------------------------------------------------------
46namespace glo
47{
48 //---------------------------------------------------------------------------
49 /* Forwards */
50 class CallBackSpy;
51 class Base;
52 //---------------------------------------------------------------------------
74 {
75 private:
76 //============== Attribute ============
77 //-----------------------------------------------------------------------
90 //-----------------------------------------------------------------------
101 //-----------------------------------------------------------------------
102
103 public:
104 //-----------------------------------------------------------------------
105 /*
106 \if english
107 Here you can write something in for DEBUG purposes.
108 \endif
109
110 \if german
111 Hier kann für DEBUG-Zwecke etwas reingeschrieben werden.
112 \endif
113 */
114 #ifdef _DEBUG
115 std::string m_strDebugInfo;
116 #endif
117 //-----------------------------------------------------------------------
118
119 public:
120 //============= Konstruktoren
121 //-----------------------------------------------------------------------
132 //-----------------------------------------------------------------------
150 CallBack( Base & rBase );
151 //-----------------------------------------------------------------------
161 virtual ~CallBack();
162 //-----------------------------------------------------------------------
163
164 protected:
165 //============== Konstruktoren
166 //-----------------------------------------------------------------------
178 CallBack( const CallBack & rT );
179 //-----------------------------------------------------------------------
180
181 public:
182 //============== Methoden
183 //-----------------------------------------------------------------------
205 virtual void notify( NotifyNote & rNote );
206 //-----------------------------------------------------------------------
220 virtual int getTypeAsString( std::string & rsTypeName );
221 //-----------------------------------------------------------------------
239 virtual void setBase( Base * pBase );
240 //-----------------------------------------------------------------------
255 Base * getBase() const;
256 //-----------------------------------------------------------------------
257
258 //============== Operatoren
259 //-----------------------------------------------------------------------
271 CallBack & operator= ( const CallBack & rT );
272 //-----------------------------------------------------------------------
274
285 bool operator== ( const CallBack & rT ) const;
286 bool operator!= ( const CallBack & rT ) const;
288 //-----------------------------------------------------------------------
289 };
290} // namespace glo
291//-----------------------------------------------------------------------------
292#ifdef _MSC_VER
293 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
294 #pragma warning( default : 4251 )
295#endif
296//-----------------------------------------------------------------------------
297#endif
Header für NotifyNote
Für jede Bibliothek, hier 'GlobalObjects' gibt es eine Typen-Datei.
#define __glo_export_dll
Definition GloTypes.h:63
Diese Klasse ist die Schnittstelle zu den persistenten Objekten. Hier können "Objekte" angemeldet,...
Definition GloBase.h:250
Oberklasse für die Klassen, welche mit einer Base 'verbunden' sind.
Definition GloCallBack.h:74
virtual void setBase(Base *pBase)
virtual int getTypeAsString(std::string &rsTypeName)
std::string m_strDebugInfo
Definition GloCallBack.h:115
virtual void notify(NotifyNote &rNote)
Base * m_pBase
Definition GloCallBack.h:100
Base * getBase() const
CallBack(const CallBack &rT)
CallBack(Base &rBase)
CallBackSpy * m_pSpy
Definition GloCallBack.h:89
virtual ~CallBack()
Klasse um die CallBack-Objekte im Speicher im Zugriff zu haben.
Definition GloCallBackSpy.h:75
Definition GloAbstractBaseLot.h:42
Objektinfo des WatchNotifyManager für die beobachtende Instanz. Siehe ausführliche Beschreibung im ...
Definition GloNotifyNote.h:66