diff --git a/source/RobotAPI/interface/ArViz/Component.ice b/source/RobotAPI/interface/ArViz/Component.ice index 24425e4220fb0afd1aed04ecb74bde3dad3c68b3..f1e370c18bb81d6a458cc082507447eee15cfc00 100644 --- a/source/RobotAPI/interface/ArViz/Component.ice +++ b/source/RobotAPI/interface/ArViz/Component.ice @@ -1,6 +1,7 @@ #pragma once #include <RobotAPI/interface/ArViz/Elements.ice> +#include <Ice/BuiltinSequences.ice> module armarx { @@ -38,9 +39,39 @@ struct LayerUpdates long revision = 0; }; +struct RecordingHeader +{ + string prefix; + string comment; + long firstTimestampInMicroSeconds = 0; + long lastTimestampInMicroSeconds = 0; + long firstRevision = 0; + long lastRevision = 0; +}; + +struct Recording +{ + RecordingHeader header; + Ice::LongSeq revisions; +}; + +sequence<RecordingHeader> RecordingHeaderSeq; + interface StorageInterface { LayerUpdates pullUpdatesSince(long revision); + + /* + void startRecording(string prefix); + + void stopRecording(); + + RecordingHeaderSeq getRecordings(); + + Recording startReplay(RecordingHeader recording); + + void replayTo(RecordingHeader recording, long revision); + */ }; interface Topic