![]() |
DvsenseDriver
1.0.3
The SDK for dvsense products.
|
A class to describe the format and geometry of raw event stream directly from camera before decoding. More...
#include <RawEventStreamFormat.hpp>
Public Member Functions | |
RawEventStreamFormat (std::string format) | |
Construct RawEventStreamFormat instance from string read from camera. More... | |
std::string | getEncodingTypeStr () const |
Get the encoding type as a string. More... | |
RawEventStreamEncodingType | getEncodingType () const |
Get the encoding type. More... | |
bool | contains (const std::string &name) const |
Check if the format contains a specific option. More... | |
const std::string & | operator[] (const std::string_view name) const |
Accessor to format options, such as width, height, etc. More... | |
A class to describe the format and geometry of raw event stream directly from camera before decoding.
dvsense::RawEventStreamFormat::RawEventStreamFormat | ( | std::string | format | ) |
Construct RawEventStreamFormat instance from string read from camera.
format,expected | to look like "EVT3;height=720;width=1280" |
std::string dvsense::RawEventStreamFormat::getEncodingTypeStr | ( | ) | const |
Get the encoding type as a string.
RawEventStreamEncodingType dvsense::RawEventStreamFormat::getEncodingType | ( | ) | const |
Get the encoding type.
bool dvsense::RawEventStreamFormat::contains | ( | const std::string & | name | ) | const |
Check if the format contains a specific option.
name | Name of the option to check |
const std::string& dvsense::RawEventStreamFormat::operator[] | ( | const std::string_view | name | ) | const |
Accessor to format options, such as width, height, etc.
name | Option name |