GlobalObjects
Loading...
Searching...
No Matches
GloCallBack.h
Go to the documentation of this file.
1#ifndef INC_GLOCALLBACK_H
2#define INC_GLOCALLBACK_H
3//-----------------------------------------------------------------------------
43//-----------------------------------------------------------------------------
44#include "GloTypes.h"
45#include "GloNotifyNote.h"
46#include <memory>
47//-----------------------------------------------------------------------------
48#ifdef _MSC_VER
49 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
50 #pragma warning( disable : 4251 )
51#endif
52//-----------------------------------------------------------------------------
53namespace glo
54{
55 //---------------------------------------------------------------------------
56 /* Forwards */
57 class CallBackSpy;
58 class Base;
59 //---------------------------------------------------------------------------
81 {
82 private:
83 //============== Attribute ============
84 //-----------------------------------------------------------------------
97 //-----------------------------------------------------------------------
98
99 public:
100 //-----------------------------------------------------------------------
101 /*
102 \if english
103 Here you can write something in for DEBUG purposes.
104 \endif
105
106 \if german
107 Hier kann für DEBUG-Zwecke etwas reingeschrieben werden.
108 \endif
109 */
110 #ifdef _DEBUG
111 std::string m_strDebugInfo;
112 #endif
113 //-----------------------------------------------------------------------
114
115 public:
116 //============= Konstruktoren
117 //-----------------------------------------------------------------------
128 //-----------------------------------------------------------------------
138 virtual ~CallBack();
139 //-----------------------------------------------------------------------
140
141 protected:
142 //============== Konstruktoren
143 //-----------------------------------------------------------------------
155 CallBack( const CallBack & rT );
156 //-----------------------------------------------------------------------
157
158 //============== Methoden
159 //-----------------------------------------------------------------------
169 void init();
170 //-----------------------------------------------------------------------
180 void deinit();
181 //-----------------------------------------------------------------------
182
183 public:
184 //============== Methoden
185 //-----------------------------------------------------------------------
206 virtual int setBase( Base * pBase );
207 //-----------------------------------------------------------------------
222 virtual Base * getBase() const;
223 //-----------------------------------------------------------------------
245 virtual void notify( NotifyNote & rNote );
246 //-----------------------------------------------------------------------
260 virtual int getTypeAsString( std::string & rsTypeName );
261 //-----------------------------------------------------------------------
262
263 //============== Operatoren
264 //-----------------------------------------------------------------------
276 CallBack & operator= ( const CallBack & rT );
277 //-----------------------------------------------------------------------
279
290 bool operator== ( const CallBack & rT ) const;
291 bool operator!= ( const CallBack & rT ) const;
293 //-----------------------------------------------------------------------
294 };
295} // namespace glo
296//-----------------------------------------------------------------------------
297#ifdef _MSC_VER
298 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
299 #pragma warning( default : 4251 )
300#endif
301//-----------------------------------------------------------------------------
302#endif
Header for NotifyNote
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:70
Definition GloBase.h:263
Superclass for the classes that are 'connected' to a Base.
Definition GloCallBack.h:81
virtual int getTypeAsString(std::string &rsTypeName)
std::string m_strDebugInfo
Definition GloCallBack.h:111
virtual int setBase(Base *pBase)
virtual void notify(NotifyNote &rNote)
virtual Base * getBase() const
CallBack(const CallBack &rT)
CallBackSpy * m_pSpy
Definition GloCallBack.h:96
virtual ~CallBack()
Class to access the CallBack objects of a database in memory.
Definition GloCallBackSpy.h:82
Definition GloAbstractBaseLot.h:49
Object info of the WatchNotifyManager for the watching instance. See detailed description in the ma...
Definition GloNotifyNote.h:73