Skip to content
Snippets Groups Projects
Commit e66175ef authored by Fabian Paus's avatar Fabian Paus
Browse files

Add recording stuff

parent eaa95f9d
No related branches found
No related tags found
No related merge requests found
#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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment