MRPT
1.9.9
xsmessagelist.h
Go to the documentation of this file.
1
/* +------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| https://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2019, Individual contributors, see AUTHORS file |
6
| See: https://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See: https://www.mrpt.org/License |
8
+------------------------------------------------------------------------+ */
9
#ifndef XSMESSAGELIST_H
10
#define XSMESSAGELIST_H
11
12
#include "
xsmessagearray.h
"
13
#define XsMessageList XsMessageArray
14
15
#ifndef __cplusplus
16
// obsolete:
17
#define XSMESSAGELIST_INITIALIZER XSMESSAGEARRAY_INITIALIZER
18
#define XsMessageList_assign(thisPtr, size, src) \
19
XsArray_assign(thisPtr, size, src)
20
#define XsMessageList_destruct(thisPtr) XsArray_destruct(thisPtr)
21
#define XsMessageList_copy(thisPtr, copy) XsArray_copy(copy, thisPtr)
22
#define XsMessageList_append(thisPtr, other) XsArray_append(thisPtr, other)
23
#define XsMessageList_popFront(thisPtr, count) XsArray_erase(thisPtr, 0, count)
24
#define XsMessageList_popBack(thisPtr, count) \
25
XsArray_erase(thisPtr, (XsSize)-1, count)
26
#define XsMessageList_swap(a, b) XsArray_swap(a, b)
27
#define XsMessageList_erase(thisPtr, index, count) \
28
XsArray_erase(thisPtr, index, count)
29
#endif
30
31
#endif // file guard
xsmessagearray.h
Page generated by
Doxygen 1.8.14
for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019