Base class for all the sensor data consisting of an array of items. More...
#include <Array.h>
Public Types | |
using | const_iterator = typename std::add_const< value_type >::type * |
using | const_pointer = typename std::add_const< value_type >::type * |
using | const_reference = typename std::add_const< value_type >::type & |
using | const_reverse_iterator = std::reverse_iterator< const_iterator > |
using | iterator = value_type * |
using | pointer = value_type * |
using | reference = value_type & |
using | reverse_iterator = std::reverse_iterator< iterator > |
using | size_type = size_t |
using | value_type = T |
Public Member Functions | |
reference | at (size_type pos) |
const_reference | at (size_type pos) const |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
value_type * | data () |
const value_type * | data () const |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
reference | operator[] (size_type pos) |
const_reference | operator[] (size_type pos) const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
size_type | size () const |
Public Member Functions inherited from carla::sensor::SensorData | |
size_t | GetFrame () const |
Frame count when the data was generated. More... | |
const rpc::Transform & | GetSensorTransform () const |
Sensor's transform when the data was generated. More... | |
double | GetTimestamp () const |
Simulation-time when the data was generated. More... | |
virtual | ~SensorData ()=default |
Protected Member Functions | |
template<typename FuncT > | |
Array (RawData &&data, FuncT get_offset) | |
Array (size_t offset, RawData &&data) | |
const RawData & | GetRawData () const |
Protected Member Functions inherited from carla::sensor::SensorData | |
const auto & | GetEpisode () const |
SensorData (size_t frame, double timestamp, const rpc::Transform &sensor_transform) | |
SensorData (const RawData &data) | |
Private Attributes | |
RawData | _data |
const size_t | _offset |
Base class for all the sensor data consisting of an array of items.
using carla::sensor::data::Array< T >::const_iterator = typename std::add_const<value_type>::type * |
using carla::sensor::data::Array< T >::const_pointer = typename std::add_const<value_type>::type * |
using carla::sensor::data::Array< T >::const_reference = typename std::add_const<value_type>::type & |
using carla::sensor::data::Array< T >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
using carla::sensor::data::Array< T >::iterator = value_type * |
using carla::sensor::data::Array< T >::pointer = value_type * |
using carla::sensor::data::Array< T >::reference = value_type & |
using carla::sensor::data::Array< T >::reverse_iterator = std::reverse_iterator<iterator> |
using carla::sensor::data::Array< T >::size_type = size_t |
using carla::sensor::data::Array< T >::value_type = T |
|
inlineexplicitprotected |
|
inlineexplicitprotected |
|
inline |
|
inline |
|
inline |
Definition at line 37 of file Array.h.
Referenced by carla::sensor::data::Array< data::SemanticLidarDetection >::Array(), carla::sensor::data::Array< data::SemanticLidarDetection >::data(), carla::sensor::data::Array< data::SemanticLidarDetection >::empty(), carla::sensor::data::Array< data::SemanticLidarDetection >::rbegin(), and carla::sensor::data::Array< data::SemanticLidarDetection >::size().
|
inline |
|
inline |
Definition at line 41 of file Array.h.
Referenced by carla::sensor::data::Array< data::SemanticLidarDetection >::begin(), and carla::sensor::data::Array< data::SemanticLidarDetection >::crbegin().
|
inline |
Definition at line 53 of file Array.h.
Referenced by carla::sensor::data::Array< data::SemanticLidarDetection >::crend(), and carla::sensor::data::Array< data::SemanticLidarDetection >::end().
|
inline |
Definition at line 65 of file Array.h.
Referenced by carla::sensor::data::Array< data::SemanticLidarDetection >::rbegin().
|
inline |
Definition at line 77 of file Array.h.
Referenced by carla::sensor::data::Array< data::SemanticLidarDetection >::rend().
|
inline |
Definition at line 94 of file Array.h.
Referenced by carla::sensor::data::Array< data::SemanticLidarDetection >::operator[]().
|
inline |
|
inline |
|
inline |
Definition at line 49 of file Array.h.
Referenced by carla::sensor::data::Array< data::SemanticLidarDetection >::Array(), carla::sensor::data::Array< data::SemanticLidarDetection >::empty(), carla::sensor::data::Array< data::SemanticLidarDetection >::rend(), and carla::sensor::data::Array< data::SemanticLidarDetection >::size().
|
inline |
|
inlineprotected |
|
inline |
Definition at line 102 of file Array.h.
Referenced by carla::sensor::data::Array< data::SemanticLidarDetection >::at().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 89 of file Array.h.
Referenced by carla::sensor::data::Array< data::SemanticLidarDetection >::at(), and carla::client::detail::EpisodeState::EpisodeState().
|
private |
Definition at line 145 of file Array.h.
Referenced by carla::sensor::data::Array< data::SemanticLidarDetection >::Array(), carla::sensor::data::Array< data::SemanticLidarDetection >::begin(), carla::sensor::data::Array< data::SemanticLidarDetection >::cbegin(), carla::sensor::data::Array< data::SemanticLidarDetection >::cend(), carla::sensor::data::Array< data::SemanticLidarDetection >::end(), and carla::sensor::data::Array< data::SemanticLidarDetection >::GetRawData().
|
private |
Definition at line 147 of file Array.h.
Referenced by carla::sensor::data::Array< data::SemanticLidarDetection >::Array(), carla::sensor::data::Array< data::SemanticLidarDetection >::begin(), and carla::sensor::data::Array< data::SemanticLidarDetection >::cbegin().