Open FFBoard
Open source force feedback firmware
Loading...
Searching...
No Matches
CustomMain.h
Go to the documentation of this file.
1/*
2 * exampleMain.h
3 *
4 * Created on: 23.01.2020
5 * Author: Yannick
6 */
7
8#ifndef CUSTOMMAIN_H_
9#define CUSTOMMAIN_H_
10
11#include <FFBoardMain.h>
12
13class CustomMain: public FFBoardMain {
14 enum class CustomMain_commands : uint32_t{
16 };
17public:
18
19
20 CustomMain();
21 virtual ~CustomMain();
22
23 static ClassIdentifier info;
25 CommandStatus command(const ParsedCommand& cmd,std::vector<CommandReply>& replies);
26 void registerCommands();
27 std::string getHelpstring();
28
29private:
30 int32_t examplevar = 0;
31};
32
33#endif /* CUSTOMMAIN_H_ */
CommandStatus
CommandStatus command(const ParsedCommand &cmd, std::vector< CommandReply > &replies)
virtual ~CustomMain()
const ClassIdentifier getInfo()
std::string getHelpstring()
int32_t examplevar
Definition CustomMain.h:30
void registerCommands()