MRMS
RobotLineTest.h
1 #pragma once
2 #include <mrm-action.h>
3 #include "mrm-robot-line.h"
4 
5 class RobotLineTest : public RobotLine{
6  ActionLoop9* actionLoop9;
7 public:
11  RobotLineTest(char name[] = (char*)"RCJ Line"); // Maximum 15 characters
12 
13  void loop9();
14 };
15 
16 class ActionLoop9 : public ActionBase {
17  void perform() { ((RobotLineTest*)_robot)->loop9(); }
18 public:
19  ActionLoop9(RobotLineTest* robot) : ActionBase(robot, "lo9", "Loop 9", 8) {}
20 };
Definition: mrm-action.h:7
ActionBase(Robot *robot, const char shortcut[4], const char text[20], uint8_t menuLevel=1, BoardId boardsId=ID_ANY)
Definition: mrm-action.cpp:23
Definition: RobotLineTest.h:16
Definition: mrm-robot-line.h:53
Definition: RobotLineTest.h:5
RobotLineTest(char name[]=(char *)"RCJ Line")
Definition: RobotLineTest.cpp:6