1#ifndef INC_GLOORDERMSG_H
2#define INC_GLOORDERMSG_H
60 #pragma warning( disable : 4251 )
1575 void * pOrderObject,
1576 void * pOrderResult,
1577 void * pFirstAdditionalInfo =
nullptr,
1578 void * pSecondAdditionalInfo =
nullptr );
1619 void * pOrderObject,
1620 void * pFirstAdditionalInfo =
nullptr,
1621 void * pSecondAdditionalInfo =
nullptr );
1646 const std::map< unsigned long, ClassInfo * > * pSchemaInfoMap );
2246 const std::map< unsigned long, ClassInfo * > * pSchemaInfoMap );
2387 std::map<
ObjID,
ObjID, std::less<ObjID> > & rReadyRecordMap )
const;
2423 std::size_t & rnCurrentBlobPosition,
2424 std::size_t & rnBlobPosition,
2427 const std::map< unsigned long, ClassInfo * > * pSchemaInfoMap );
2466 std::ostringstream t_ossConverter;
2468 t_ossConverter << tData;
2469 t_iErr = rBlob.
append( t_ossConverter.str().c_str(), t_ossConverter.str().size() );
2470 if ( ! t_iErr ) t_iErr = rBlob.
append(
"\0", 1 );
2476 #pragma warning( default : 4251 )
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:70
This class allows to edit a blob (insert, copy, search etc.).
Definition EuBlob.h:75
int append(const char *pBuffer, std::size_t nBufferSize)
This class contains all information to store objects of a class in a database, to build objects from ...
Definition GloClassInfo.h:86
Superclass of LocalThread, ClientThread and ServerThread, because they can act as senders and receive...
Definition GloCommunicator.h:93
An object ID consists of the class ID, a database ID and the actual unique object number (all unsigne...
Definition GloObjID.h:84
OrderMsg(const eut::Blob &rBlob, EnStreamOrderDataType eStreamDataType, const std::map< unsigned long, ClassInfo * > *pSchemaInfoMap)
void setThreadID(NUM_PTR ipThreadID)
OrderMsg(const OrderMsg &)
OrderMsg::EnSendDirection m_eDirection
Definition GloOrderMsg.h:1493
std::string getSchemaName() const
std::string m_sCommunicatorClientName
Definition GloOrderMsg.h:1282
void setSendDirection(EnSendDirection eSendDirection)
OrderMsg(const std::string &rsSchemaName, EnOrderType eOrderType, void *pOrderObject, void *pFirstAdditionalInfo=nullptr, void *pSecondAdditionalInfo=nullptr)
void deleteSecondAdditionalInfo(OrderMsg::EnOrderType eOrderType)
void setSecondAdditionalInfo(void *pSecondAdditionalInfo)
void setOrderResult(void *pOrderResult)
std::string getCommunicatorClientName() const
int m_iErr
Definition GloOrderMsg.h:1256
void deleteFirstAdditionalInfo()
OrderMsg::EnOrderType getOrderType() const
NUM_PTR getThreadID() const
unsigned int getOrderMsgID() const
std::string m_sSchemaName
Definition GloOrderMsg.h:1231
OrderMsg::EnOrderType m_eOrderType
Definition GloOrderMsg.h:1317
EnStreamOrderDataType
Definition GloOrderMsg.h:1098
@ eORDERDATA
Definition GloOrderMsg.h:1099
@ eRESULTDATA
Definition GloOrderMsg.h:1108
void setOrderType(OrderMsg::EnOrderType eOrderType)
bool m_bFirstAdditionalInfoModified
Definition GloOrderMsg.h:1454
void * getSecondAdditionalInfo() const
void * getFirstAdditionalInfo() const
int setDataFromStream(const eut::Blob &rBlob, std::size_t &rnCurrentBlobPosition, std::size_t &rnBlobPosition, void *&prData, EnStreamDataType eStreamDataType, const std::map< unsigned long, ClassInfo * > *pSchemaInfoMap)
void setOrderObject(void *pOrderObject)
Communicator * m_pCommunicator
Definition GloOrderMsg.h:1269
void deleteOrderObject(OrderMsg::EnOrderType eOrderType)
void deleteFirstAdditionalInfo(OrderMsg::EnOrderType eOrderType)
unsigned int getCommunicatorID() const
bool m_bDestroyOrderObject
Definition GloOrderMsg.h:1360
int addStreamDataType(eut::Blob &rBlob, void *pData, EnStreamDataType eStreamDataType, std::map< ObjID, ObjID, std::less< ObjID > > &rReadyRecordMap) const
void deleteOrderResult(OrderMsg::EnOrderType eOrderType)
Communicator * getCommunicator() const
NUM_PTR m_ipThreadID
Definition GloOrderMsg.h:1306
void setFirstAdditionalInfo(void *pFirstAdditionalInfo)
void streamOrderInBlob(eut::Blob &rBlob, EnStreamOrderDataType eStreamOrderDataType) const
bool m_bProcessed
Definition GloOrderMsg.h:1416
unsigned int m_uiCommunicatorID
Definition GloOrderMsg.h:1295
bool willDestroyOrderObjectInDTor() const
std::string getOrderTypeAsStr() const
void setOrderMsgID(unsigned int uiID)
void * m_pOrderResult
Definition GloOrderMsg.h:1405
int streamBlobInOrder(const eut::Blob &rBlob, EnStreamOrderDataType eStreamOrderDataType, const std::map< unsigned long, ClassInfo * > *pSchemaInfoMap)
OrderMsg::EnSendDirection getSendDirection() const
OrderMsg(const std::string &rsSchemaName, Communicator *pCommunicator, EnOrderType eOrderType, void *pOrderObject, void *pOrderResult, void *pFirstAdditionalInfo=nullptr, void *pSecondAdditionalInfo=nullptr)
EnStreamDataType
Definition GloOrderMsg.h:1183
@ eUNDEF_DATATYPE
Definition GloOrderMsg.h:1184
@ eOBJID_LIST
Definition GloOrderMsg.h:1200
@ eCLASSINFO
Definition GloOrderMsg.h:1188
@ eDATATYPE
Definition GloOrderMsg.h:1193
@ eSTRING
Definition GloOrderMsg.h:1209
@ eWATCHSPEC_STRUCT
Definition GloOrderMsg.h:1215
@ eUNSIGNED_INTPTR
Definition GloOrderMsg.h:1212
@ eUNSIGNED_SIZE
Definition GloOrderMsg.h:1214
@ eCLIENTONFO
Definition GloOrderMsg.h:1191
@ eRECORD_MAP
Definition GloOrderMsg.h:1207
@ eALLSET_ITER_RESULT
Definition GloOrderMsg.h:1185
@ eDATATYPELIMITS
Definition GloOrderMsg.h:1194
@ eCOMPARISION_QUERRY_STRUCT
Definition GloOrderMsg.h:1192
@ eRECORD_LIST
Definition GloOrderMsg.h:1206
@ eNOTIFYNOTE_STRUCT
Definition GloOrderMsg.h:1198
@ eLOCKSPEC_STRUCT
Definition GloOrderMsg.h:1197
@ eOBJID
Definition GloOrderMsg.h:1199
@ eRECORD
Definition GloOrderMsg.h:1205
@ eBOOL
Definition GloOrderMsg.h:1187
@ eCLASSINFO_MAP
Definition GloOrderMsg.h:1189
@ eDATATYPELIMITS_VECTOR
Definition GloOrderMsg.h:1195
@ eQUERRY_STRUCT
Definition GloOrderMsg.h:1203
@ eSIGNED
Definition GloOrderMsg.h:1208
@ eSTRING_VECTOR
Definition GloOrderMsg.h:1210
@ eALLSET_STRUCT
Definition GloOrderMsg.h:1186
@ eFLOAT
Definition GloOrderMsg.h:1196
@ eUNSIGNED_LONG
Definition GloOrderMsg.h:1213
@ eRANGE_QUERRY_STRUCT
Definition GloOrderMsg.h:1204
@ eUNSIGNED_INT
Definition GloOrderMsg.h:1211
@ eOBJID_VECTOR
Definition GloOrderMsg.h:1201
@ eOPENSPEC_STRUCT
Definition GloOrderMsg.h:1202
@ eCLIENTINFO_VECTOR
Definition GloOrderMsg.h:1190
unsigned int m_uiID
Definition GloOrderMsg.h:1245
virtual std::string toString() const
bool m_bOrderObjectModified
Definition GloOrderMsg.h:1376
EnSendDirection
Definition GloOrderMsg.h:1130
@ eINTERN
Definition GloOrderMsg.h:1158
@ eTO_SERVER
Definition GloOrderMsg.h:1149
@ eTO_CLIENT_ANSWER
Definition GloOrderMsg.h:1131
@ eTO_CLIENT_NOTIFY
Definition GloOrderMsg.h:1140
void * ReleaseOrderResult()
bool m_bSecondAdditionalInfoModified
Definition GloOrderMsg.h:1482
void * m_pFirstAdditionalInfo
Definition GloOrderMsg.h:1437
void * getOrderResult() const
static std::string getOrderTypeAsString(EnOrderType eOrderType)
void * getOrderObject() const
std::string m_strStatus
Definition GloOrderMsg.h:1509
void deleteSecondAdditionalInfo()
void * m_pOrderObject
Definition GloOrderMsg.h:1345
int addStreamData0terminated(eut::Blob &rBlob, const T tData) const
Definition GloOrderMsg.h:2463
friend class CommunicaterThread
Definition GloOrderMsg.h:87
EnOrderType
Definition GloOrderMsg.h:105
@ eWATCH_INDEX_READWRITE
Definition GloOrderMsg.h:867
@ eNOTIFY_OBJECT_AS_WRITTEN
Definition GloOrderMsg.h:1009
@ eOPEN_ALLSET
Definition GloOrderMsg.h:345
@ eIS_KNOWN_CLASSID
Definition GloOrderMsg.h:263
@ eSET_CURRENT_OBJECT_IN_ALLSET
Definition GloOrderMsg.h:518
@ eREMOVE_INDEX_FILTER
Definition GloOrderMsg.h:446
@ eOPEN_BASE
Definition GloOrderMsg.h:304
@ eGET_INDEXED_OBJIDS_BY_SEARCHVALUE_FROM_ALLSET
Definition GloOrderMsg.h:459
@ eGET_ALL_BASES
Definition GloOrderMsg.h:129
@ eREPAIR_BASE
Definition GloOrderMsg.h:977
@ eDISCONNECTED_CLIENT
Definition GloOrderMsg.h:1077
@ eGET_CLASSINFO_BY_CLASSID
Definition GloOrderMsg.h:143
@ eABORT_TRANSACTION
Definition GloOrderMsg.h:920
@ eWATCH_CLIENT
Definition GloOrderMsg.h:841
@ eGET
Definition GloOrderMsg.h:574
@ eIS_STORED
Definition GloOrderMsg.h:636
@ eDELETE
Definition GloOrderMsg.h:649
@ eCHECK_OBJID_IN_ALLSET
Definition GloOrderMsg.h:554
@ eGET_PROCESSING_POSSIBILITIES
Definition GloOrderMsg.h:772
@ eRELOCK
Definition GloOrderMsg.h:703
@ eCOMPRESS_BASE
Definition GloOrderMsg.h:963
@ ePROCESS_NOTIFY
Definition GloOrderMsg.h:1027
@ eNOTIFY_CLIENT
Definition GloOrderMsg.h:993
@ eLOCK
Definition GloOrderMsg.h:677
@ eGET_REC
Definition GloOrderMsg.h:596
@ eNEW_CONNECTED_CLIENT
Definition GloOrderMsg.h:1061
@ eGET_SUBCLASS_INFOS
Definition GloOrderMsg.h:198
@ eGET_ALL_CLASS_INFOS
Definition GloOrderMsg.h:250
@ eCLOSE_ALLSET
Definition GloOrderMsg.h:358
@ eGET_ALL_BASECLASS_INFOS
Definition GloOrderMsg.h:237
@ eUNLOCK
Definition GloOrderMsg.h:729
@ eGET_BASECLASS_INFOS
Definition GloOrderMsg.h:211
@ ePROCESS_TRANSACTION
Definition GloOrderMsg.h:935
@ eGET_ALL_DEFAULT_LIMITS
Definition GloOrderMsg.h:171
@ eSTORE
Definition GloOrderMsg.h:623
@ eCLOSE_BASE
Definition GloOrderMsg.h:317
@ eGET_ALL_CLIENTS
Definition GloOrderMsg.h:291
@ eIS_ALLOWED
Definition GloOrderMsg.h:757
@ eGET_OBJID_WITH_OBJECT_FROM_ALLSET
Definition GloOrderMsg.h:376
@ eGET_INDEXED_OBJIDS_BY_COMPARING_FROM_ALLSET
Definition GloOrderMsg.h:472
@ eGET_ALL_SUBCLASS_INFOS
Definition GloOrderMsg.h:224
@ eGET_INDEXED_OBJIDS_BY_RANGE_FROM_ALLSET
Definition GloOrderMsg.h:485
@ eGET_OBJID_FROM_ALLSET
Definition GloOrderMsg.h:389
@ eUNWATCH_CLASS
Definition GloOrderMsg.h:826
@ eSET_INDEX_FILTER_BY_RANGE_IN_ALLSET
Definition GloOrderMsg.h:428
@ eRELOCK_REFRESH
Definition GloOrderMsg.h:716
@ eSET_INDEX_FILTER_BY_COMPARING_IN_ALLSET
Definition GloOrderMsg.h:415
@ eBEGIN_TRANSACTION
Definition GloOrderMsg.h:893
@ eWATCH_OBJECT
Definition GloOrderMsg.h:786
@ eREFRESH
Definition GloOrderMsg.h:610
@ eGET_ALLSET_SIZE
Definition GloOrderMsg.h:498
@ eCOMMIT_TRANSACTION
Definition GloOrderMsg.h:906
@ eDELETE_MULTIPLE
Definition GloOrderMsg.h:664
@ eGET_CLASSINFO_BY_CLASSNAME
Definition GloOrderMsg.h:158
@ eWATCH_CLASS
Definition GloOrderMsg.h:813
@ eIS_SUPER_CLASS_FROM
Definition GloOrderMsg.h:276
@ eREINDEX_BASE
Definition GloOrderMsg.h:949
@ eUNWATCH_OBJECT
Definition GloOrderMsg.h:800
@ eDELETE_COMMUNICATOR_WATCHES
Definition GloOrderMsg.h:1044
@ eUNWATCH_CLIENT
Definition GloOrderMsg.h:854
@ eSET_INDEX_FILTER_BY_SEARCHVALUE_IN_ALLSET
Definition GloOrderMsg.h:402
@ eUNDEF
Definition GloOrderMsg.h:116
@ eGET_DATATYPE_LIMITS
Definition GloOrderMsg.h:184
@ eASSIGN
Definition GloOrderMsg.h:332
@ eUNWATCH_INDEX_READWRITE
Definition GloOrderMsg.h:880
@ eSET_POSITION_IN_ALLSET
Definition GloOrderMsg.h:536
@ eIS_LOCKED
Definition GloOrderMsg.h:742
@ eLOCK_REFRESH
Definition GloOrderMsg.h:690
void setCommunicator(Communicator *pCommunicator)
void * m_pSecondAdditionalInfo
Definition GloOrderMsg.h:1465
Definition GloAbstractBaseLot.h:49