APIs, concepts, guides, and more
SampleApps.h
1#ifndef SAMPLE_APPS_H
2#define SAMPLE_APPS_H
3
4namespace RSI::RapidCode
5{
6
7 // Virtual Base Class
8 class SampleApp
9 {
10 public:
11 bool USE_HARDWARE = false;
12
13 virtual ~SampleApp() = default;
14 virtual int Run() = 0;
15
16 protected:
17 SampleApp() = default;
18 };
19
20 // Sample App Declarations
21 class HardwareLimits : public SampleApp
22 {
23 public:
24 int Run() override;
25 };
26
27 class Memory : public SampleApp
28 {
29 public:
30 int Run() override;
31 };
32
33 class MotionHoldReleasedBySoftwareAddress : public SampleApp
34 {
35 public:
36 int Run() override;
37 };
38
39 class MultiaxisMotion : public SampleApp
40 {
41 public:
42 int Run() override;
43 };
44
45 class PathMotion : public SampleApp
46 {
47 public:
48 int Run() override;
49 };
50
51 class PVTmotionMultiAxis : public SampleApp
52 {
53 public:
54 int Run() override;
55 };
56
57 class SingleAxisSyncOutputs : public SampleApp
58 {
59 public:
60 int Run() override;
61 };
62
63 class SyncOutputWithMotion : public SampleApp
64 {
65 public:
66 int Run() override;
67 };
68
69 class UpdateBufferPoints : public SampleApp
70 {
71 public:
72 int Run() override;
73 };
74
75 class UserLimitDigialInputAction : public SampleApp
76 {
77 public:
78 int Run() override;
79 };
80}
81
82#endif // !SAMPLE_APPS_H