Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: d25b6bfca5567d0f5730293335e59234523e4e60 (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
/**
 * @author generated by eTrice
 *
 * Utils File of DataClass DTcpPayload
 * 
 */

#ifndef _ROOM_BASIC_SERVICE_TCP_DTCPPAYLOAD_UTILS_H_
#define _ROOM_BASIC_SERVICE_TCP_DTCPPAYLOAD_UTILS_H_

#include "room/basic/service/tcp/DTcpPayload.h"

/*
 * access macros for operations and attributes
*/

/* operations */
#define getMaxLength() DTcpPayload_getMaxLength(self)
#define setAsString(value) DTcpPayload_setAsString(self, value)
#define setData(value, size) DTcpPayload_setData(self, value, size)
#define getAsString() DTcpPayload_getAsString(self)

/* attributes */
#define connectionId (self->connectionId)
#define length (self->length)
#define data (self->data)

#endif /* _ROOM_BASIC_SERVICE_TCP_DTCPPAYLOAD_UTILS_H_ */

Back to the top