GlobalObjects
Lade ...
Suche ...
Keine Treffer
GloLocalThread.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_GLOLOCALTHREAD_H
2#define INC_GLOLOCALTHREAD_H
3//-----------------------------------------------------------------------------
36//-----------------------------------------------------------------------------
37#include <string>
38#include <vector>
39#include "GloTypes.h"
40#include "GloCommunicator.h"
41#include "GloManager.h"
42//-----------------------------------------------------------------------------
43namespace glo
44{
45 //---------------------------------------------------------------------------
86 {
87 private:
88 //============== Attribute
89 //-----------------------------------------------------------------------
100 //-----------------------------------------------------------------------
101
102 //============== Konstruktoren
103 //-----------------------------------------------------------------------
114 //-----------------------------------------------------------------------
115
116 public:
117 //============== Konstruktoren
118 //-----------------------------------------------------------------------
136 LocalThread( const std::string & rstrSchemaPath,
137 const std::vector< std::string > & rAllowedSchemes );
138 //-----------------------------------------------------------------------
149 //-----------------------------------------------------------------------
150
151 private:
152 //============== Konstruktoren
153 //-----------------------------------------------------------------------
164 //-----------------------------------------------------------------------
165
166 public:
167 //============== Methoden
168 //-----------------------------------------------------------------------
182 virtual int assignDBManager( OrderMsg * pOrderMsg ) override;
183 //-----------------------------------------------------------------------
184 #ifdef _GLO_TEST
194 Manager * getGloManager();
195 #endif
196 //-----------------------------------------------------------------------
197
198 protected:
199 //============== Methoden
200 //-----------------------------------------------------------------------
201 #if defined (__PTHREADS)
217 virtual void cleanUp();
218 //-----------------------------------------------------------------------
219 #else
220
221 public:
222 //============== Methoden
223 //-------------------------------------------------------------------------
244 virtual void cancel() override;
245 //-----------------------------------------------------------------------
246 #endif
247
248 protected:
249 //============== Methoden
250 //-----------------------------------------------------------------------
266 virtual int sendToDBManager( OrderMsg * pOrderMsg ) const override;
267 //-----------------------------------------------------------------------
268
269 public:
270 //============== Operatoren
271 //-----------------------------------------------------------------------
284 bool operator== ( const LocalThread & rT ) const;
285 bool operator!= ( const LocalThread & rT ) const;
287 //-----------------------------------------------------------------------
288
289 private:
290 //============== Operatoren
291 //-----------------------------------------------------------------------
301 LocalThread & operator= ( const LocalThread & );
302 //-----------------------------------------------------------------------
303 };
304 //---------------------------------------------------------------------------
305} // namespace glo
306#endif
Header für Communicator
Header für Manager Manager::Receiver Manager::ObjIdWithDepends Manager::SchemaMapItem
Für jede Bibliothek, hier 'GlobalObjects' gibt es eine Typen-Datei.
#define __glo_export_dll
Definition GloTypes.h:63
OberKlasse von LocalThread, ClientThread und ServerThread, weil diese als Sender und Empfänger (Kommu...
Definition GloCommunicator.h:86
Dient als Schnittstelle zwischen Base bzw. PrivateBase und Manager. Wird mit dem ClientThread in der ...
Definition GloLocalThread.h:86
LocalThread(const LocalThread &)
virtual void cancel() override
Manager * m_pDBManager
Definition GloLocalThread.h:99
LocalThread(const std::string &rstrSchemaPath, const std::vector< std::string > &rAllowedSchemes)
virtual int assignDBManager(OrderMsg *pOrderMsg) override
virtual int sendToDBManager(OrderMsg *pOrderMsg) const override
Das Objekt dieser Klasse ist die zentrale Anlaufstelle für Aktionen, welche mit GlobalObjects-Daten z...
Definition GloManager.h:184
Mittels dieser Klasse wird die Kommunikation zwischen der Applikation, welche GlobalObjects nutzt und...
Definition GloOrderMsg.h:77
Definition GloAbstractBaseLot.h:42