OpenEV
Extending OpenCV to event-based vision
Loading...
Searching...
No Matches
array.hpp
Go to the documentation of this file.
1
6#ifndef OPENEV_CONTAINERS_ARRAY_HPP
7#define OPENEV_CONTAINERS_ARRAY_HPP
8
10#include "openev/core/types.hpp"
11#include <array>
12#include <cstddef>
13#include <opencv2/core/types.hpp>
14
15namespace ev {
16constexpr bool USING_ARRAY_HPP = true;
17
23template <typename T, std::size_t N>
24class Array_ : public std::array<Event_<T>, N>, public AbstractContainer_<Array_<T, N>, T> {
25 static_assert(N > 0, "ev::Array_: the size must be greater than zero.");
26 using std::array<Event_<T>, N>::array;
27 using ResultType = TimeType;
28};
29
30template <std::size_t N>
32template <std::size_t N>
34template <std::size_t N>
36template <std::size_t N>
38template <std::size_t N>
40} // namespace ev
41
42#endif // OPENEV_CONTAINERS_ARRAY_HPP
Statistics shared by all the event containers.
Array_< long, N > Arrayl
Definition array.hpp:33
Array_< float, N > Arrayf
Definition array.hpp:35
Array_< double, N > Arrayd
Definition array.hpp:37
Arrayi< N > Array
Definition array.hpp:39
Array_< int, N > Arrayi
Definition array.hpp:31
This is an auxiliary class. This class cannot be instanced.
Definition abstract-container.hpp:31
This class extends std::array to implement event arrays. For more information, please refer here.
Definition array.hpp:24
This class extends cv::Point_<T> for event data. For more information, please refer here.
Definition types.hpp:78
Basic event-based vision structures based on OpenCV components.