C++ Client
0.0.0.0
C++ wrapper for Corelink DLL
CorelinkRecvData.h
Go to the documentation of this file.
1
5
#ifndef CORELINKRECVDATA_H
6
#define CORELINKRECVDATA_H
7
8
#include "
CorelinkClasses.h
"
9
10
namespace
Corelink
{
11
inline
RecvData::RecvData
(STREAM_ID recvID, STREAM_ID sendID,
const
char
* data,
int
hdrLen,
int
msgLen) :
12
recvID(recvID), sendID(sendID), data(data), hdrLen(hdrLen), msgLen(msgLen)
13
{}
14
15
inline
RecvData::RecvData
(
const
RecvData
& rhs) :
16
recvID
(rhs.
recvID
),
sendID
(rhs.
sendID
),
data
(rhs.
data
),
hdrLen
(rhs.
hdrLen
),
msgLen
(rhs.
msgLen
)
17
{}
18
19
inline
RecvData::~RecvData
() {
20
data
=
nullptr
;
21
}
22
23
inline
RecvData
&
RecvData::operator=
(
const
RecvData
& rhs) {
24
this->
recvID
= rhs.
recvID
;
25
this->
sendID
= rhs.
sendID
;
26
this->
data
= rhs.
data
;
27
this->
hdrLen
= rhs.
hdrLen
;
28
this->
msgLen
= rhs.
msgLen
;
29
return
*
this
;
30
}
31
}
32
33
#endif
Corelink::RecvData::operator=
RecvData & operator=(const RecvData &rhs)
Definition:
CorelinkRecvData.h:23
Corelink::RecvData::recvID
STREAM_ID recvID
Definition:
CorelinkClasses.h:709
CorelinkClasses.h
Defines the classes in the wrapper and their relations.
Corelink::RecvData::RecvData
RecvData(STREAM_ID recvID, STREAM_ID sendID, const char *data, int hdrLen, int msgLen)
Definition:
CorelinkRecvData.h:11
Corelink
Definition:
Corelink.h:20
Corelink::RecvData::sendID
STREAM_ID sendID
Definition:
CorelinkClasses.h:710
Corelink::RecvData
Definition:
CorelinkClasses.h:702
Corelink::RecvData::msgLen
int msgLen
Definition:
CorelinkClasses.h:713
Corelink::RecvData::data
const char * data
Definition:
CorelinkClasses.h:711
Corelink::RecvData::~RecvData
~RecvData()
Definition:
CorelinkRecvData.h:19
Corelink::RecvData::hdrLen
int hdrLen
Definition:
CorelinkClasses.h:712
clients
cpp
CorelinkRecvData.h
Generated by
1.8.13