Implementations common functions
The monitors and recorders share some methods:isConnected
→ Inform on the connection status with the Heex KernelgetUuid
→ Return the uuid of the ImplementationgetImplementationVersion
→ Return the implementation version of the ImplementationgetSdkVersion
→ Return the Sdk version of the Implementation have been compiled withgetTimestampStr
→ Get the current time of the system in theiso_extended std::string
format.isReady
→ Return true when implementation is ready to begin it’s work.awaitReady
→ Blocks until implementation is ready to begin it’s work. Returns true if the Implementation is ready or false if the connection failed.disableLogToFile
→ Permanently disable logging ouput to files.getTriggerInfo(triggerUUID)
→ Return the trigger information associate to the given trigger UUID.getAllTriggerInfos()
→ Returns a map of all TriggerInfos related to the implementation.getSystemId()
→ Returns the current system ID.getSystemLabels()
→ Returns a map of all the System level labels.getTriggerLabels()
→ Returns a map of all the Trigger level labels.onConfigurationChangedCallback
→ This is a callback method that is called every time a new configuration is sent to the edge. It is executed at the end of the loading of the new config. In order to use this, you’ll have to override avirtual void onConfigurationChangedCallback() override
and implement any code you’d like to be executed in there. See the advanced ConfChangedCallback samples for more details.
Recorder utility functions
These methods need to be called on labels argument.↳ Assigns the ↳ Assigns the
value
to the key
. Values are defaulted to an empty string.x
and y
position of a HeexGps
structure to the position
label.Recorder Query structure
Query for Labels
The query provided in thegenerateRequestedLabels()
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
Query for Event Recording Parts
The query provided in thegenerateRequestedFilePaths()
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