1 #ifndef AUBO_SCOPE_SCRIPT_WRITER_H 2 #define AUBO_SCOPE_SCRIPT_WRITER_H 22 void setLable(
int lineno,
const std::string &comment);
29 void appendLine(
const std::string &script_line);
30 void appendVectorDouble(
const std::vector<double> &value);
38 void appendRaw(
const std::string &script);
45 std::string generateScript();
76 void assign(
const std::string &variableName,
const std::string &expression);
83 void assign(VariablePtr variable,
const std::string &expression);
90 void incrementVariable(
const std::string &variable_name);
97 void note(
const std::string &expression);
104 void sleep(
double seconds);
115 void defineFunction(
const std::string &func_name);
116 void anonyFunction(
const std::string &func_name);
147 void setPayload(
double mass,
double x,
double y,
double z);
164 void setTcp(
const std::vector<double> &pose);
172 void ifCondition(
const std::string &expression);
179 void ifNotCondition(
const std::string &expression);
186 void elseIfCondition(
const std::string &expression);
192 void elseCondition();
200 void forCondition(
int count,
int step);
213 void whileCondition(
const std::string &expression);
220 void whileNot(
const std::string &expression);
228 void defineThread(
const std::string &thread_name,
bool loop_or_not);
235 void runThread(
const std::string &thread_name);
262 std::string getResolvedVariable(
const std::string &variable_name);
264 void increaseIndent();
265 void decreaseIndent();
268 friend class DataSwitch;
276 #endif // AUBO_SCOPE_SCRIPT_WRITER_H ARCS_CLASS_FORWARD(GripForceCapability)
This interface provides support for generating Script code.