UWARG Computer Vision
|
A class for storing and searching telemetry logs. More...
#include <metadata_input.h>
Public Member Functions | |
Metadata | get_metadata (double timestamp) |
searches for the closest log entry to the given timestamp More... | |
Metadata | next_metadata () |
retrieves the next log entry corresponding to a time when the log notes a photograph was triggered More... | |
void | add_source (MetadataReader *reader) |
Adds a new metadata source. More... | |
int | num_sources () |
returns the number of sources | |
int | check_data_order () |
Friends | |
class | MetadataReader |
A class for storing and searching telemetry logs.
void MetadataInput::add_source | ( | MetadataReader * | reader | ) |
Adds a new metadata source.
MetadataReader,will | be deleted when the MetadataInput is deleted |
int MetadataInput::check_data_order | ( | ) |
Reports first index of the data where it is out of order
Metadata MetadataInput::get_metadata | ( | double | timestamp | ) |
searches for the closest log entry to the given timestamp
Probably throws an exception if no entries are in the log
timestamp | the time in the format hhmmss.ms |
Metadata MetadataInput::next_metadata | ( | ) |
retrieves the next log entry corresponding to a time when the log notes a photograph was triggered
Specifically returns the next log entry where the value of cameraStatus is one less than the previous entry If called more times then there are such entries, will continuously return the last such entry