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-2018, 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
XsArrayDescriptor
This object describes how to treat the data in an array.
Definition: xsarray.h:63
src
GLuint src
Definition: glext.h:7278
xsoutputconfiguration.h
XsOutputConfigurationArray
struct XsOutputConfigurationArray XsOutputConfigurationArray
Definition: xsoutputconfigurationarray.h:28
g_xsOutputConfigurationArrayDescriptor
const XsArrayDescriptor XSTYPES_DLL_API g_xsOutputConfigurationArrayDescriptor
count
GLuint GLuint GLsizei count
Definition: glext.h:3528
XsSize
size_t XsSize
XsSize must be unsigned number!
Definition: xstypedefs.h:19
XsOutputConfigurationArray_construct
XSTYPES_DLL_API void XsOutputConfigurationArray_construct(XsOutputConfigurationArray *thisPtr, XsSize count, struct XsOutputConfiguration const *src)
xsarray.h
XSDF_None
@ XSDF_None
No flag set.
Definition: xstypedefs.h:44
XSTYPES_DLL_API
#define XSTYPES_DLL_API
Definition: xstypesconfig.h:9
XsOutputConfiguration
Single data type output configuration.
Definition: xsoutputconfiguration.h:46
XSARRAY_STRUCT
XSARRAY_STRUCT(XsOutputConfigurationArray, struct XsOutputConfiguration)
XsDataFlags
XsDataFlags
These flags define the behaviour of data contained by Xsens data structures.
Definition: xstypedefs.h:41
ref
GLenum GLint ref
Definition: glext.h:4050



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST