8 #ifndef META_OCEAN_TRACKING_MAPBUILDING_UNIFIED_DESCRIPTORS_H
9 #define META_OCEAN_TRACKING_MAPBUILDING_UNIFIED_DESCRIPTORS_H
69 template <
typename TDescriptor>
118 template <
unsigned int tNumberBits>
121 template <
unsigned int tNumberElements>
124 template <
unsigned int tNumberElements>
133 template <
typename TDescriptor>
140 template <
typename TDescriptor>
143 descriptors_(std::move(descriptors))
148 template <
typename TDescriptor>
151 return descriptors_.data();
154 template <
typename TDescriptor>
157 return descriptors_.size();
160 template <
typename TDescriptor>
163 return !descriptors_.empty();
This class implements a helper class allowing to determine the descriptor type value for a descriptor...
Definition: UnifiedDescriptor.h:177
This class implements the base class for all unified descriptor objects.
Definition: UnifiedDescriptor.h:31
DescriptorType descriptorType() const
Returns the descriptor type of all descriptors hold in this object.
Definition: UnifiedDescriptor.h:492
DescriptorType
Definition of descriptor types.
Definition: UnifiedDescriptor.h:49
This class implements the base class for all unified descriptor buffers stored in a continuous memory...
Definition: UnifiedDescriptors.h:29
virtual ~UnifiedDescriptors()=default
Disposes this object.
UnifiedDescriptors(const DescriptorType descriptorType)
Creates a new descriptors object.
Definition: UnifiedDescriptors.h:127
virtual bool isValid() const =0
Returns whether this object holds at least one descriptor.
virtual size_t numberDescriptors() const =0
Returns the number of descriptors this object holds.
This class implements a type-based container for descriptors stored in a continuous memory like a vec...
Definition: UnifiedDescriptors.h:71
bool isValid() const override
Returns whether this object holds at least one descriptor.
Definition: UnifiedDescriptors.h:161
UnifiedDescriptorsT()
Default constructor creating an object without any descriptors.
Definition: UnifiedDescriptors.h:134
std::vector< TDescriptor > descriptors_
The object's descriptors.
Definition: UnifiedDescriptors.h:111
const TDescriptor * descriptors() const
Returns the pointer to the memory holding all descriptors of this object.
Definition: UnifiedDescriptors.h:149
TDescriptor Descriptor
The data type of the descriptor.
Definition: UnifiedDescriptors.h:75
size_t numberDescriptors() const override
Returns the number of descriptors this object holds.
Definition: UnifiedDescriptors.h:155
std::shared_ptr< UnifiedDescriptors > SharedUnifiedDescriptors
Definition of a shared pointer holding a UnifiedDescriptors object.
Definition: UnifiedDescriptors.h:63
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15