4#ifndef AUBO_SDK_TRACE_INTERFACE_H
5#define AUBO_SDK_TRACE_INTERFACE_H
12#include <aubo/global_config.h>
16namespace common_interface {
60 const std::vector<std::string> &args = {});
122 const std::string &msg,
int mode);
157#define Trace_DECLARES \
158 _INST(Trace, 3, alarm, level, code, args) \
159 _INST(Trace, 4, popup, level, title, msg, mode) \
160 _INST(Trace, 1, textmsg, msg) \
161 _INST(Trace, 1, notify, msg) \
162 _FUNC(Trace, 2, peek, num, last_time)
int popup(TraceLevel level, const std::string &title, const std::string &msg, int mode)
向连接的 RTDE 客户端发送弹窗请求
int alarm(TraceLevel level, int code, const std::vector< std::string > &args={})
向 aubo_control 日志注入告警信息
RobotMsgVector peek(size_t num, uint64_t last_time=0)
peek最新的 AlarmInfo(上次一获取之后)
int textmsg(const std::string &msg)
打印文本信息到日志中
int notify(const std::string &msg)
通知上位机
std::shared_ptr< Trace > TracePtr
std::vector< RobotMsg > RobotMsgVector