RTC Toolkit 6.0.0
Loading...
Searching...
No Matches
basicTypes.hpp
Go to the documentation of this file.
1
11
12#ifndef RTCTK_BASICTYPES_HPP
13#define RTCTK_BASICTYPES_HPP
14
15#include <cstddef>
16#include <cstdint>
17#include <string>
18#include <vector>
19
20// FIXME: Add back when we start using CiiMatrix2D.
21// #include <common/datatypes/ciiMatrix2D.hpp>
22
24
25namespace rtctk {
26
27template <typename T>
28using RtcVector = std::vector<T>;
29
30// FIXME: Switch to using CII type for the matrix.
31// template <typename T>
32// using RtcMatrix = elt::common::datatypes::CiiMatrix2D<T>;
33template <typename T>
35
36using RtcBool = bool;
37using RtcInt8 = std::int8_t;
38using RtcInt16 = std::int16_t;
39using RtcInt32 = std::int32_t;
40using RtcInt64 = std::int64_t;
41using RtcUInt8 = std::uint8_t;
42using RtcUInt16 = std::uint16_t;
43using RtcUInt32 = std::uint32_t;
44using RtcUInt64 = std::uint64_t;
45using RtcFloat = float;
46using RtcDouble = double;
47using RtcString = std::string;
48using RtcBinary = std::vector<std::byte>;
73
74} // namespace rtctk
75
76#endif // RTCTK_BASICTYPES_HPP
A buffer class representing 2D matrix data.
Definition matrixBuffer.hpp:27
Declaration of the MatrixBuffer template class used in APIs.
Definition commandReplier.cpp:21
std::int64_t RtcInt64
Definition basicTypes.hpp:40
RtcMatrix< RtcInt8 > RtcMatrixInt8
Definition basicTypes.hpp:62
std::int16_t RtcInt16
Definition basicTypes.hpp:38
std::uint16_t RtcUInt16
Definition basicTypes.hpp:42
float RtcFloat
Definition basicTypes.hpp:45
RtcMatrix< RtcInt32 > RtcMatrixInt32
Definition basicTypes.hpp:64
std::int32_t RtcInt32
Definition basicTypes.hpp:39
componentFramework::MatrixBuffer< T > RtcMatrix
Definition basicTypes.hpp:34
std::int8_t RtcInt8
Definition basicTypes.hpp:37
RtcMatrix< RtcInt64 > RtcMatrixInt64
Definition basicTypes.hpp:65
RtcMatrix< RtcUInt64 > RtcMatrixUInt64
Definition basicTypes.hpp:69
RtcVector< RtcUInt32 > RtcVectorUInt32
Definition basicTypes.hpp:56
RtcMatrix< RtcUInt8 > RtcMatrixUInt8
Definition basicTypes.hpp:66
RtcMatrix< RtcString > RtcMatrixString
Definition basicTypes.hpp:72
RtcMatrix< RtcFloat > RtcMatrixFloat
Definition basicTypes.hpp:70
RtcVector< RtcDouble > RtcVectorDouble
Definition basicTypes.hpp:59
std::string RtcString
Definition basicTypes.hpp:47
RtcMatrix< RtcInt16 > RtcMatrixInt16
Definition basicTypes.hpp:63
std::vector< T > RtcVector
Definition basicTypes.hpp:28
RtcMatrix< RtcDouble > RtcMatrixDouble
Definition basicTypes.hpp:71
bool RtcBool
Definition basicTypes.hpp:36
RtcVector< RtcUInt16 > RtcVectorUInt16
Definition basicTypes.hpp:55
std::uint32_t RtcUInt32
Definition basicTypes.hpp:43
RtcVector< RtcInt16 > RtcVectorInt16
Definition basicTypes.hpp:51
RtcMatrix< RtcBool > RtcMatrixBool
Definition basicTypes.hpp:61
RtcVector< RtcFloat > RtcVectorFloat
Definition basicTypes.hpp:58
RtcVector< RtcInt8 > RtcVectorInt8
Definition basicTypes.hpp:50
std::uint8_t RtcUInt8
Definition basicTypes.hpp:41
RtcVector< RtcBool > RtcVectorBool
Definition basicTypes.hpp:49
RtcVector< RtcUInt64 > RtcVectorUInt64
Definition basicTypes.hpp:57
std::uint64_t RtcUInt64
Definition basicTypes.hpp:44
RtcVector< RtcString > RtcVectorString
Definition basicTypes.hpp:60
RtcVector< RtcInt32 > RtcVectorInt32
Definition basicTypes.hpp:52
std::vector< std::byte > RtcBinary
Definition basicTypes.hpp:48
RtcVector< RtcUInt8 > RtcVectorUInt8
Definition basicTypes.hpp:54
RtcMatrix< RtcUInt16 > RtcMatrixUInt16
Definition basicTypes.hpp:67
RtcVector< RtcInt64 > RtcVectorInt64
Definition basicTypes.hpp:53
RtcMatrix< RtcUInt32 > RtcMatrixUInt32
Definition basicTypes.hpp:68
double RtcDouble
Definition basicTypes.hpp:46