Class Field¶
Defined in File field.h
Inheritance Relationships¶
Base Type¶
public ouster::sdk::core::FieldViewClass FieldView
Class Documentation¶
-
class Field : public ouster::sdk::core::FieldView¶
RAII memory-owning container for arbitrary typed and sized arrays and POD structs with optional type checking.
For usage examples, check unit tests
Public Functions
-
Field(const FieldDescriptor &desc, FieldClass field_class = FieldClass::PIXEL_FIELD)¶
Constructs Field from FieldDescriptor.
- Parameters:
desc[in] FieldDescriptor
field_class[in] FieldClass
-
Field &operator=(const Field &other)¶
Copy assignment constructor.
- Parameters:
other[in] Field to copy
-
Field &operator=(Field &&other) noexcept¶
Move assignment constructor.
- Parameters:
other[in] Field to steal resource from
-
FieldClass field_class() const¶
Get field class.
- Returns:
FieldClass
-
Field(const FieldDescriptor &desc, FieldClass field_class = FieldClass::PIXEL_FIELD)¶