forked from usnistgov/rcslib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexCmd.hh
79 lines (53 loc) · 1.05 KB
/
exCmd.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// Prevent Multiple Inclusion
#ifndef EXCMD_HH
#define EXCMD_HH
// Include Files
#include "rcs.hh" // Common RCS definitions
enum exCmdMsgType {
EX_CONFIG_TYPE=6001,
EX_GOTO_POINT_TYPE,
EX_HALT_TYPE,
EX_INIT_TYPE
};
// Define the NML Message Classes
// Command Classes
class EX_CONFIG : public RCS_CMD_MSG
{
public:
//Constructor
EX_CONFIG();
// CMS Update Function
void update(CMS *);
// Place custom variables here.
};
class EX_GOTO_POINT : public RCS_CMD_MSG
{
public:
//Constructor
EX_GOTO_POINT();
// CMS Update Function
void update(CMS *);
// Place custom variables here.
PM_CARTESIAN point;
};
class EX_HALT : public RCS_CMD_MSG
{
public:
//Constructor
EX_HALT();
// CMS Update Function
void update(CMS *);
// Place custom variables here.
};
class EX_INIT : public RCS_CMD_MSG
{
public:
//Constructor
EX_INIT();
// CMS Update Function
void update(CMS *);
// Place custom variables here.
};
// Declare NML format function
extern int exCmd_format(NMLTYPE, void *, CMS *);
#endif // EXCMD_HH