MRPT  1.9.9
xsoutputconfigurationarray.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 XSOUTPUTCONFIGURATIONARRAY_H
10 #define XSOUTPUTCONFIGURATIONARRAY_H
11 
12 #include "xsarray.h"
13 
14 #ifdef __cplusplus
15 #include "xsoutputconfiguration.h"
16 extern "C"
17 {
18 #endif
19 
22 
23 #ifndef __cplusplus
24 #define XSOUTPUTCONFIGURATIONARRAY_INITIALIZER \
25  XSARRAY_INITIALIZER(&g_xsOutputConfigurationArrayDescriptor)
26  struct XsOutputConfiguration;
27 
30 
33  struct XsOutputConfiguration const* src);
34 #else
35 } // extern "C"
36 #endif
37 
38 #ifdef __cplusplus
40  : public XsArrayImpl<
41  XsOutputConfiguration, g_xsOutputConfigurationArrayDescriptor,
42  XsOutputConfigurationArray>
43  {
44  //! \brief Constructs an XsOutputConfigurationArray
45  inline explicit XsOutputConfigurationArray(
46  XsSize sz = 0, XsOutputConfiguration const* src = 0)
47  : ArrayImpl(sz, src)
48  {
49  }
50 
51  //! \brief Constructs an XsOutputConfigurationArray as a copy of \a
52  //! other
54  XsOutputConfigurationArray const& other)
55  : ArrayImpl(other)
56  {
57  }
58 
59  //! \brief Constructs an XsOutputConfigurationArray that references the
60  //! data supplied in \a ref
61  inline explicit XsOutputConfigurationArray(
63  XsDataFlags flags = XSDF_None)
64  : ArrayImpl(ref, sz, flags)
65  {
66  }
67 
68 #ifndef XSENS_NOITERATOR
69  //! \brief Constructs an XsOutputConfigurationArray with the array bound
70  //! by the supplied iterators \a beginIt and \a endIt
71  template <typename Iterator>
72  inline XsOutputConfigurationArray(Iterator beginIt, Iterator endIt)
73  : ArrayImpl(beginIt, endIt)
74  {
75  }
76 #endif
77  };
78 #endif
79 
80 #endif // file guard
GLuint GLuint GLsizei count
Definition: glext.h:3532
This object describes how to treat the data in an array.
Definition: xsarray.h:63
GLenum GLint ref
Definition: glext.h:4062
size_t XsSize
XsSize must be unsigned number!
Definition: xstypedefs.h:19
GLuint src
Definition: glext.h:7397
No flag set.
Definition: xstypedefs.h:44
Single data type output configuration.
XsArrayDescriptor const XSTYPES_DLL_API g_xsOutputConfigurationArrayDescriptor
#define XSTYPES_DLL_API
Definition: xstypesconfig.h:9
XSARRAY_STRUCT(XsOutputConfigurationArray, struct XsOutputConfiguration)
XSTYPES_DLL_API void XsOutputConfigurationArray_construct(XsOutputConfigurationArray *thisPtr, XsSize count, struct XsOutputConfiguration const *src)
struct XsOutputConfigurationArray XsOutputConfigurationArray
XsDataFlags
These flags define the behaviour of data contained by Xsens data structures.
Definition: xstypedefs.h:41



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