GlobalObjects
Lade ...
Suche ...
Keine Treffer
GloTransactionOwner.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_TRANSACTIONOWNER_H
2#define INC_TRANSACTIONOWNER_H
3//-----------------------------------------------------------------------------
43//-----------------------------------------------------------------------------
44#include <string>
45#include "GloTypes.h"
46#if defined ( _MSC_VER ) && ( _MSC_VER >= 1920 ) // nur für VC 2019
47 #include <sstream>
48#endif
49//-----------------------------------------------------------------------------
50namespace glo
51{
52 //---------------------------------------------------------------------------
53 /* Forwards */
54 //---------------------------------------------------------------------------
55 class Communicator;
56 //---------------------------------------------------------------------------
57
58 //---------------------------------------------------------------------------
81 {
82 private:
83 //============== Attribute
84 //-----------------------------------------------------------------------
95 //-----------------------------------------------------------------------
112 //-----------------------------------------------------------------------
113
114 public:
115 //============= Konstruktoren
116 //-----------------------------------------------------------------------
127 //-----------------------------------------------------------------------
149 TransactionOwner( Communicator * pCommunicator, NUM_PTR ipThreadID );
150 //-----------------------------------------------------------------------
163 //-----------------------------------------------------------------------
174 //-----------------------------------------------------------------------
175
176 //============== Methoden
177 //-----------------------------------------------------------------------
199 void setAttributes( Communicator * pCommunicator, NUM_PTR ipThreadID );
200 //-----------------------------------------------------------------------
214 void setCommunicator( Communicator * pCommunicator );
215 //-----------------------------------------------------------------------
230 //-----------------------------------------------------------------------
248 void setThreadID( NUM_PTR ipThreadID );
249 //-----------------------------------------------------------------------
266 NUM_PTR getThreadID() const;
267 //-----------------------------------------------------------------------
268
269 public:
270 //============== Operatoren
271 //-----------------------------------------------------------------------
273
284 bool operator== ( const TransactionOwner & rT ) const;
285 bool operator!= ( const TransactionOwner & rT ) const;
287 //-----------------------------------------------------------------------
289
302 bool operator> ( const TransactionOwner & rT ) const;
303 bool operator>= ( const TransactionOwner & rT ) const;
304 bool operator< ( const TransactionOwner & rT ) const;
305 bool operator<= ( const TransactionOwner & rT ) const;
307 //-----------------------------------------------------------------------
319 TransactionOwner & operator= ( const TransactionOwner & rT );
320 //-----------------------------------------------------------------------
321
322 //-----------------------------------------------------------------------
343 {
344 size_t operator()( const TransactionOwner & rTransactionOwner ) const;
345 };
346
347 };
348 //---------------------------------------------------------------------------
349} // namespace glo
350#endif
Für jede Bibliothek, hier 'GlobalObjects' gibt es eine Typen-Datei.
#define __glo_export_dll
Definition GloTypes.h:70
OberKlasse von LocalThread, ClientThread und ServerThread, weil diese als Sender und Empfänger (Kommu...
Definition GloCommunicator.h:93
Um Transaktionen nicht nur einem glo::Communicator zur Verfügung zu stellen, sondern auch einzelnen T...
Definition GloTransactionOwner.h:81
NUM_PTR getThreadID() const
NUM_PTR m_ipThreadID
Definition GloTransactionOwner.h:111
void setThreadID(NUM_PTR ipThreadID)
TransactionOwner(const TransactionOwner &rT)
TransactionOwner(Communicator *pCommunicator, NUM_PTR ipThreadID)
Communicator * getCommunicator() const
virtual ~TransactionOwner()
Communicator * m_pCommunicator
Definition GloTransactionOwner.h:94
void setAttributes(Communicator *pCommunicator, NUM_PTR ipThreadID)
void setCommunicator(Communicator *pCommunicator)
Definition GloAbstractBaseLot.h:49
Definition GloTransactionOwner.h:343
size_t operator()(const TransactionOwner &rTransactionOwner) const