12struct StreamProfileImpl;
13struct StreamProfileListImpl;
17class VideoStreamProfile;
18class GyroStreamProfile;
19class AccelStreamProfile;
24 std::unique_ptr<StreamProfileImpl>
impl_;
58 template <typename T>
bool is();
66 template <typename T> std::shared_ptr<T> as() {
68 throw std::runtime_error(
"Unsupported operation. Object's type is not the required type.");
71 return std::static_pointer_cast<T>(std::const_pointer_cast<StreamProfile>(shared_from_this()));
102 uint32_t width() const;
109 uint32_t height() const;
193 switch(this->type()) {
214 std::unique_ptr<StreamProfileListImpl>
impl_;
225 uint32_t count() const;
OBGyroFullScaleRange
Enumeration of gyroscope ranges.
OBFormat
Enumeration value describing the pixel format.
enum OBGyroSampleRate OBAccelSampleRate
OBGyroSampleRate
Enumeration of IMU sample rate values (gyroscope or accelerometer)
OBStreamType
Enumeration value describing the type of data stream.
OBAccelFullScaleRange
Enumeration of accelerometer ranges.
Provides SDK structure and enumeration constant definitions (depending on libobsensor/h/ObTypes....
Class representing an accelerometer stream profile.
~AccelStreamProfile() noexcept override
AccelStreamProfile(std::unique_ptr< StreamProfileImpl > impl)
AccelStreamProfile(StreamProfile &profile)
Config class for configuring pipeline parameters.
Class representing a gyroscope stream profile.
GyroStreamProfile(StreamProfile &profile)
GyroStreamProfile(std::unique_ptr< StreamProfileImpl > impl)
~GyroStreamProfile() noexcept override
~StreamProfileList() noexcept
std::unique_ptr< StreamProfileListImpl > impl_
StreamProfileList(std::unique_ptr< StreamProfileListImpl > impl)
virtual ~StreamProfile() noexcept
std::unique_ptr< StreamProfileImpl > impl_
StreamProfile(StreamProfile &streamProfile)
StreamProfile(std::unique_ptr< StreamProfileImpl > impl)
Class representing a video stream profile.
VideoStreamProfile(std::unique_ptr< StreamProfileImpl > impl)
~VideoStreamProfile() noexcept override
VideoStreamProfile(StreamProfile &profile)
Structure for accelerometer intrinsic parameters.
Structure for distortion parameters.
Structure for camera intrinsic parameters.
Structure for gyroscope intrinsic parameters.