Public Member Functions | |
unsigned long long | get_frame_counter (const subdevice_mode &, const void *) override |
double | get_frame_timestamp (const subdevice_mode &, const void *, double) override |
serial_timestamp_generator (int fps) | |
bool | validate_frame (const subdevice_mode &, const void *) override |
Private Attributes | |
int | fps |
wraparound_mechanism< unsigned long long > | frame_counter_wraparound |
double | last_timestamp |
int | serial_frame_number |
wraparound_mechanism< double > | timestamp_wraparound |
double | ts_step |
Definition at line 860 of file ds-device.cpp.
rsimpl::serial_timestamp_generator::serial_timestamp_generator | ( | int | fps | ) | [inline] |
Definition at line 869 of file ds-device.cpp.
unsigned long long rsimpl::serial_timestamp_generator::get_frame_counter | ( | const subdevice_mode & | , |
const void * | |||
) | [inline, override, virtual] |
Implements rsimpl::frame_timestamp_reader.
Definition at line 882 of file ds-device.cpp.
double rsimpl::serial_timestamp_generator::get_frame_timestamp | ( | const subdevice_mode & | , |
const void * | , | ||
double | |||
) | [inline, override, virtual] |
Implements rsimpl::frame_timestamp_reader.
Definition at line 876 of file ds-device.cpp.
bool rsimpl::serial_timestamp_generator::validate_frame | ( | const subdevice_mode & | , |
const void * | |||
) | [inline, override, virtual] |
Implements rsimpl::frame_timestamp_reader.
Definition at line 875 of file ds-device.cpp.
int rsimpl::serial_timestamp_generator::fps [private] |
Definition at line 862 of file ds-device.cpp.
wraparound_mechanism<unsigned long long> rsimpl::serial_timestamp_generator::frame_counter_wraparound [private] |
Definition at line 866 of file ds-device.cpp.
double rsimpl::serial_timestamp_generator::last_timestamp [private] |
Definition at line 863 of file ds-device.cpp.
Definition at line 862 of file ds-device.cpp.
wraparound_mechanism<double> rsimpl::serial_timestamp_generator::timestamp_wraparound [private] |
Definition at line 865 of file ds-device.cpp.
double rsimpl::serial_timestamp_generator::ts_step [private] |
Definition at line 864 of file ds-device.cpp.