GlobalObjects
Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Freundbeziehungen Makrodefinitionen Seiten
GloNotifyNote.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_GLONOTIFYNOTE_H
2#define INC_GLONOTIFYNOTE_H
3//-----------------------------------------------------------------------------
43//-----------------------------------------------------------------------------
44#include <string>
45#include "GloTypes.h"
46#include "GloObjID.h"
47#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__MINGW64__)
48 #include <basetsd.h>
49#elif defined(__GNUC__)
50 #define INT_PTR intptr_t
51#endif
52
53#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__MINGW64__)
54 #include <winsock.h>
55#elif defined(__GNUC__)
56 #include <string.h>
57
58 #include <errno.h>
59 #include <sys/types.h>
60 #include <sys/socket.h>
61 #include <netinet/in.h>
62 #include <netdb.h>
63 #include <arpa/inet.h>
64 //#define SOCKET uintptr_t
65 #define SOCKET unsigned long
66 #define SOCKADDR_IN sockaddr_in
67 #define SOCKADDR sockaddr
68 #define HOSTENT hostent
69 #define INVALID_SOCKET (SOCKET)(~0)
70 #define SOCKET_ERROR (-1)
71#endif
72//-----------------------------------------------------------------------------
73namespace glo
74{
75 //---------------------------------------------------------------------------
91 {
92 public:
93 //-----------------------------------------------------------------------
104 //-----------------------------------------------------------------------
118 //-----------------------------------------------------------------------
128 SOCKET m_nSocket;
129 //-----------------------------------------------------------------------
139 unsigned int m_uiCommunicatorID;
140 //-----------------------------------------------------------------------
150 std::string m_strClientName;
151 //-----------------------------------------------------------------------
170 //-----------------------------------------------------------------------
180 unsigned int m_uiInfo;
181 //-----------------------------------------------------------------------
191 unsigned int m_uiInfo2;
192 //-----------------------------------------------------------------------
202 std::string m_strInfo;
203 //-----------------------------------------------------------------------
213 std::string m_strInfo2;
214 //-----------------------------------------------------------------------
215
216 //============== Konstruktoren
217 //-----------------------------------------------------------------------
229 m_ipCallBack( 0 ),
230 m_nSocket(0),
232 m_uiInfo( 0 ),
233 m_uiInfo2( 0 )
234 {};
235 //-----------------------------------------------------------------------
236 };
237 //---------------------------------------------------------------------------
238} // namespace glo
239#endif
Header für ObjID
Für jede Bibliothek, hier 'GlobalObjects' gibt es eine Typen-Datei.
Ein Objekt-ID besteht aus der Klassen-ID, einer Datenbank-ID und der eigentlichen eindeutigen ObjektZ...
Definition GloObjID.h:84
Definition GloAbstractBaseLot.h:49
unsigned long TdWatchNotifyMode
Definition GloTypes.h:577
const TdWatchNotifyMode WNM_NONE
Definition GloTypes.h:588
std::string m_strInfo
Definition GloNotifyNote.h:202
std::string m_strInfo2
Definition GloNotifyNote.h:213
ObjID m_ObjID
Definition GloNotifyNote.h:169
unsigned int m_uiCommunicatorID
Definition GloNotifyNote.h:139
TdWatchNotifyMode m_ulNotifyMode
Definition GloNotifyNote.h:103
std::string m_strClientName
Definition GloNotifyNote.h:150
unsigned int m_uiInfo
Definition GloNotifyNote.h:180
SOCKET m_nSocket
Definition GloNotifyNote.h:128
unsigned int m_uiInfo2
Definition GloNotifyNote.h:191
NUM_PTR m_ipCallBack
Definition GloNotifyNote.h:117
NotifyNote()
Definition GloNotifyNote.h:227