Utilities
Implementations common functions
The monitors and recorders share some methods:
isConnected
→ Inform on the connection status with the Heex KernelgetUuid
→ return the ID of the monitor or recordergetTimestampStr
→ Get the current time of the system in theiso_extended std::string
format.
Recorder utility functions
These methods need to be called on labels argument.
↳ Assigns the value
to the key
. Values are defaulted to an empty string.
↳ Assigns the x
and y
position of a HeexGps
structure to the position
label.
↳ Returns a pair of min and max recording ranges for a signal. Possible to filter by triggerId, and by signal name.
↳ Returns the unordered_set of RecordingSignals of current recorder. Can filter by triggerId.
Recorder Query structure
Query for Labels
The query provided in the generateRequestedLabels()
method is specified by the EventRecordingLabelsQuery
structure.
You may extract the following fields from the query element to extract your Labels:
query.eventId
→ Event IDquery.triggerId
→ Trigger IDquery.timestamp
→ requested timestamp following the iso extended format
For more details, it is defined in the code as:
Query for Event Recording Parts
The query provided in the generateRequestedFilePaths()
method is specified by the RecorderEventRecordingPartArgs
structure.
You may extract the following fields from the query element to generate your Event Recording Parts:
query.eventId
→ Event IDquery.triggerId
→ Trigger IDquery.timestamp
→ requested timestamp following the iso extended formatquery.timestampedEventUuid
→ the event ID and timestamp concatenated
For more details, it is defined in the code as: