File: ServiceTest3.h

package info (click to toggle)
robotraconteur 1.2.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 101,380 kB
  • sloc: cpp: 1,149,268; cs: 87,653; java: 58,127; python: 26,897; ansic: 356; sh: 152; makefile: 90; xml: 51
file content (131 lines) | stat: -rw-r--r-- 6,809 bytes parent folder | download
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#include "com__robotraconteur__testing__TestService5_stubskel.h"

#pragma once

#include "CompareArray.h"

using namespace RobotRaconteur;

namespace RobotRaconteurTest
{
class asynctestroot_impl;

class RobotRaconteurTestService3Support
{
  public:
    void RegisterServices(RR_SHARED_PTR<RobotRaconteurNode> node = RR_SHARED_PTR<RobotRaconteurNode>());
    void UnregisterServices();

  protected:
    RR_SHARED_PTR<asynctestroot_impl> testservice3;
};

class asynctestroot_impl : public virtual com::robotraconteur::testing::TestService5::asynctestroot_default_impl,
                           public virtual com::robotraconteur::testing::TestService5::async_asynctestroot,
                           public RR_ENABLE_SHARED_FROM_THIS<asynctestroot_impl>
{
  public:
    asynctestroot_impl();

    RR_OVIRTUAL void async_get_d1(
        boost::function<void(double, const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)> rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;
    RR_OVIRTUAL void async_set_d1(
        double value, boost::function<void(const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)> rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL void async_get_s1(
        boost::function<void(const std::string&, const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)>
            rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;
    RR_OVIRTUAL void async_set_s1(
        const std::string& value,
        boost::function<void(const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)> rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL void async_get_d2(boost::function<void(const RR_INTRUSIVE_PTR<RobotRaconteur::RRArray<double> >&,
                                                       const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)>
                                      rr_handler,
                                  int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;
    RR_OVIRTUAL void async_set_d2(
        const RR_INTRUSIVE_PTR<RobotRaconteur::RRArray<double> >& value,
        boost::function<void(const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)> rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL void async_get_s2(
        boost::function<void(const RR_INTRUSIVE_PTR<RobotRaconteur::RRList<RobotRaconteur::RRArray<char> > >&,
                             const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)>
            rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;
    RR_OVIRTUAL void async_set_s2(
        const RR_INTRUSIVE_PTR<RobotRaconteur::RRList<RobotRaconteur::RRArray<char> > >& value,
        boost::function<void(const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)> rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL void async_get_s3(
        boost::function<void(const RR_INTRUSIVE_PTR<com::robotraconteur::testing::TestService5::teststruct4>&,
                             const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)>
            rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;
    RR_OVIRTUAL void async_set_s3(
        const RR_INTRUSIVE_PTR<com::robotraconteur::testing::TestService5::teststruct4>& value,
        boost::function<void(const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)> rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL void async_f1(
        boost::function<void(const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)> rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL void async_f2(
        int32_t a, boost::function<void(const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)> rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL void async_f3(
        double a, double b,
        boost::function<void(int32_t, const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)> rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL void async_f4(boost::function<void(RR_SHARED_PTR<RobotRaconteur::Generator<double, void> >,
                                                   const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)>
                                  rr_handler,
                              int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL void async_f5(double a,
                              boost::function<void(RR_SHARED_PTR<RobotRaconteur::Generator<void, double> >,
                                                   const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)>
                                  rr_handler,
                              int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL void async_f6(
        double a,
        boost::function<void(RR_SHARED_PTR<RobotRaconteur::Generator<
                                 RR_INTRUSIVE_PTR<com::robotraconteur::testing::TestService5::teststruct4>,
                                 RR_INTRUSIVE_PTR<com::robotraconteur::testing::TestService5::teststruct5> > >,
                             const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)>
            rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL void async_get_err(
        boost::function<void(double, const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)> rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;
    RR_OVIRTUAL void async_set_err(
        double value, boost::function<void(const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)> rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL void async_err_func(
        boost::function<void(const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)> rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL void async_err_func2(
        boost::function<void(double, const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)> rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL void async_err_func3(
        boost::function<void(RR_SHARED_PTR<RobotRaconteur::Generator<double, void> >,
                             const RR_SHARED_PTR<RobotRaconteur::RobotRaconteurException>&)>
            rr_handler,
        int32_t rr_timeout = RR_TIMEOUT_INFINITE) RR_OVERRIDE;

    RR_OVIRTUAL RR_SHARED_PTR<RobotRaconteur::Generator<double, void> > err_func3() RR_OVERRIDE;
};
} // namespace RobotRaconteurTest