EMA C++ Edition
PackedMsg.h
Go to the documentation of this file.
1
2// *| This source code is provided under the Apache 2.0 license
3// *| and is provided AS IS with no warranty or guarantee of fit for purpose.
4// *| See the project's LICENSE.md for details.
5// *| Copyright (C) 2023 LSEG. All rights reserved. --
7
8#ifndef __refinitiv_ema_access_PackedMsg_h
9#define __refinitiv_ema_access_PackedMsg_h
10
12#include "Access/Include/Msg.h"
13#include "OmmProvider.h"
14
15namespace refinitiv {
16
17namespace ema {
18
19namespace access {
20
61class PackedMsgImpl;
62
68{
69public:
71
72
76 PackedMsg(OmmProvider& ommProvider);
78
80
82 virtual ~PackedMsg();
84
86
87
130 PackedMsg& initBuffer(UInt64 clientHandle, UInt32 maxSize);
143 PackedMsg& addMsg(const Msg& msg, UInt64 itemHandle);
165private:
166 friend class OmmNiProviderImpl;
167 friend class OmmIProviderImpl;
168
169 PackedMsgImpl* _pImpl;
170};
171}
172}
173}
174
175
176#endif // __refinitiv_ema_access_PackedMsg_h
Common.h file provides definitions of common variable types used in EMA.
#define EMA_ACCESS_API
Definition: Common.h:95
*|--------------------------------------------------------------------------—
Definition: AckMsg.h:62
unsigned int UInt32
represents 32-bit unsigned integer
Definition: Common.h:56
unsigned long long UInt64
represents 64-bit unsigned integer
Definition: Common.h:68
The access namespace contains all interfaces and definitions specified for use with the EMA Access pa...
The ema namespace contains all interfaces and definitions specified for use with EMA.
Msg class is a parent class for all message representing classes.
Definition: Msg.h:46
OmmProvider class encapsulates functionality of an Interactive and NonInteractive OmmProvider applica...
Definition: OmmProvider.h:163
PackedMsg class provides API to pack messages.
Definition: PackedMsg.h:68
PackedMsg & initBuffer(UInt64 clientHandle, UInt32 maxSize)
PackedMsg & initBuffer(UInt32 maxSize)
PackedMsg(OmmProvider &ommProvider)
PackedMsg & initBuffer(UInt64 clientHandle)
PackedMsg & addMsg(const Msg &msg, UInt64 itemHandle)