blob: c83489382e87f572e8da7fa818a3d3601773e89d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/**
* @author generated by eTrice
*
* Utils File of ActorClass ATcpClient
*
*/
#ifndef _ROOM_BASIC_SERVICE_TCP_ATCPCLIENT_UTILS_H_
#define _ROOM_BASIC_SERVICE_TCP_ATCPCLIENT_UTILS_H_
#include "room/basic/service/tcp/ATcpClient.h"
/*
* access macros for ports, operations and attributes
*/
/* simple event ports */
#define controlPort_connected() PTcpControlPort_connected(&self->constData->controlPort)
#define controlPort_disconnected() PTcpControlPort_disconnected(&self->constData->controlPort)
#define controlPort_error() PTcpControlPort_error(&self->constData->controlPort)
#define payloadPort_dataPackage(data) PTcpPayloadPort_dataPackage(&self->constData->payloadPort, data)
/* data receive ports */
/* data send ports */
/* saps */
/* replicated event ports */
/* services */
/* operations */
#define hasError() ATcpClient_hasError(self)
#define setErrorCode(value) ATcpClient_setErrorCode(self, value)
/* attributes */
#define lastError (self->lastError)
#define payloadRecvBuffer (self->payloadRecvBuffer)
#define client (self->client)
/* port operations */
#endif /* _ROOM_BASIC_SERVICE_TCP_ATCPCLIENT_UTILS_H_ */
|