Main MRPT website > C++ reference for MRPT 1.9.9
xsoutputconfigurationarray.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://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 #endif
18 
21 
22 #ifndef __cplusplus
23 #define XSOUTPUTCONFIGURATIONARRAY_INITIALIZER \
24  XSARRAY_INITIALIZER(&g_xsOutputConfigurationArrayDescriptor)
26 
29 
32  struct XsOutputConfiguration const* src);
33 #else
34 } // extern "C"
35 #endif
36 
37 #ifdef __cplusplus
39  : public XsArrayImpl<XsOutputConfiguration,
40  g_xsOutputConfigurationArrayDescriptor,
41  XsOutputConfigurationArray>
42 {
43  //! \brief Constructs an XsOutputConfigurationArray
44  inline explicit XsOutputConfigurationArray(
45  XsSize sz = 0, XsOutputConfiguration const* src = 0)
46  : ArrayImpl(sz, src)
47  {
48  }
49 
50  //! \brief Constructs an XsOutputConfigurationArray as a copy of \a other
52  : ArrayImpl(other)
53  {
54  }
55 
56  //! \brief Constructs an XsOutputConfigurationArray that references the data
57  //! supplied in \a ref
58  inline explicit XsOutputConfigurationArray(
60  : ArrayImpl(ref, sz, flags)
61  {
62  }
63 
64 #ifndef XSENS_NOITERATOR
65  //! \brief Constructs an XsOutputConfigurationArray with the array bound by
66  //! the supplied iterators \a beginIt and \a endIt
67  template <typename Iterator>
68  inline XsOutputConfigurationArray(Iterator beginIt, Iterator endIt)
69  : ArrayImpl(beginIt, endIt)
70  {
71  }
72 #endif
73 };
74 #endif
75 
76 #endif // file guard
GLuint GLuint GLsizei count
Definition: glext.h:3528
This object describes how to treat the data in an array.
Definition: xsarray.h:63
GLenum GLint ref
Definition: glext.h:4050
size_t XsSize
XsSize must be unsigned number!
Definition: xstypedefs.h:19
GLuint src
Definition: glext.h:7278
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: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019