GlobalObjects
Loading...
Searching...
No Matches
GloLocalThread.h
Go to the documentation of this file.
1#ifndef INC_GLOLOCALTHREAD_H
2#define INC_GLOLOCALTHREAD_H
3//-----------------------------------------------------------------------------
43//-----------------------------------------------------------------------------
44#include <string>
45#include <vector>
46#include "GloTypes.h"
47#include "GloCommunicator.h"
48#include "GloManager.h"
49//-----------------------------------------------------------------------------
50namespace glo
51{
52 //---------------------------------------------------------------------------
93 {
94 private:
95 //============== Attribute
96 //-----------------------------------------------------------------------
107 //-----------------------------------------------------------------------
108
109 //============== Konstruktoren
110 //-----------------------------------------------------------------------
121 //-----------------------------------------------------------------------
122
123 public:
124 //============== Konstruktoren
125 //-----------------------------------------------------------------------
143 LocalThread( const std::string & rstrSchemaPath,
144 const std::vector< std::string > & rAllowedSchemes );
145 //-----------------------------------------------------------------------
156 //-----------------------------------------------------------------------
157
158 private:
159 //============== Konstruktoren
160 //-----------------------------------------------------------------------
171 //-----------------------------------------------------------------------
172
173 public:
174 //============== Methoden
175 //-----------------------------------------------------------------------
189 virtual int assignDBManager( OrderMsg * pOrderMsg ) override;
190 //-----------------------------------------------------------------------
191 #ifdef _GLO_TEST
201 Manager * getGloManager();
202 #endif
203 //-----------------------------------------------------------------------
204
205 protected:
206 //============== Methoden
207 //-----------------------------------------------------------------------
208 #if defined (__PTHREADS)
224 virtual void cleanUp();
225 //-----------------------------------------------------------------------
226 #else
227
228 public:
229 //============== Methoden
230 //-------------------------------------------------------------------------
251 virtual void cancel() override;
252 //-----------------------------------------------------------------------
253 #endif
254
255 protected:
256 //============== Methoden
257 //-----------------------------------------------------------------------
273 virtual int sendToDBManager( OrderMsg * pOrderMsg ) const override;
274 //-----------------------------------------------------------------------
275
276 public:
277 //============== Operatoren
278 //-----------------------------------------------------------------------
291 bool operator== ( const LocalThread & rT ) const;
292 bool operator!= ( const LocalThread & rT ) const;
294 //-----------------------------------------------------------------------
295
296 private:
297 //============== Operatoren
298 //-----------------------------------------------------------------------
308 LocalThread & operator= ( const LocalThread & );
309 //-----------------------------------------------------------------------
310 };
311 //---------------------------------------------------------------------------
312} // namespace glo
313#endif
Header for Communicator
Header for Manager Manager::Receiver Manager::ObjIdWithDepends Manager::SchemaMapItem
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:70
Superclass of LocalThread, ClientThread and ServerThread, because they can act as senders and receive...
Definition GloCommunicator.h:93
Serves as interface between Base or PrivateBase and Manager. In the documentation the ClientThread is...
Definition GloLocalThread.h:93
LocalThread(const LocalThread &)
virtual void cancel() override
Manager * m_pDBManager
Definition GloLocalThread.h:106
LocalThread(const std::string &rstrSchemaPath, const std::vector< std::string > &rAllowedSchemes)
virtual int assignDBManager(OrderMsg *pOrderMsg) override
virtual int sendToDBManager(OrderMsg *pOrderMsg) const override
The object of this class is the central point of contact for actions that deal with GlobalObjects dat...
Definition GloManager.h:193
This class is used to handle the communication between the application that uses GlobalObjects and Gl...
Definition GloOrderMsg.h:84
Definition GloAbstractBaseLot.h:49