24 #ifndef AUBO_SDK_SYNC_MOVE_INTERFACE_H 25 #define AUBO_SDK_SYNC_MOVE_INTERFACE_H 28 #include <unordered_set> 31 #include <aubo/global_config.h> 34 namespace common_interface {
36 typedef std::unordered_set<std::string>
TaskSet;
77 int syncMoveOn(
const std::string &syncident,
const TaskSet &taskset);
101 bool syncMoveSegment(
int id);
121 int syncMoveOff(
const std::string &syncident);
162 int waitSyncTasks(
const std::string &syncident,
const TaskSet &taskset);
194 int syncMoveSuspend();
207 int syncMoveResume();
216 #define SyncMove_DECLARES \ 217 _INST(SyncMove, 0, sync) \ 218 _INST(SyncMove, 2, syncMoveOn, syncident, taskset) \ 219 _INST(SyncMove, 1, syncMoveSegment, id) \ 220 _INST(SyncMove, 1, syncMoveOff, syncident) \ 221 _INST(SyncMove, 0, syncMoveUndo) \ 222 _INST(SyncMove, 2, waitSyncTasks, syncident, taskset) \ 223 _FUNC(SyncMove, 0, isSyncMoveOn) \ 224 _INST(SyncMove, 0, syncMoveSuspend) \ 225 _INST(SyncMove, 0, syncMoveResume) 229 #endif // AUBO_SDK_SYNC_MOVE_INTERFACE_H
std::shared_ptr< SyncMove > SyncMovePtr
std::unordered_set< std::string > TaskSet