RZ

01: // ControlRemote.hh # the actual synthesize algorithm
02:
03: #ifndef _ControlRemote_HH
04: #define _ControlRemote_HH 1
05:
06: #include <string>
07: #include <vector>
08:
09: #include "RZError.hh"
10: #include "DataPackets.hh"
11: #include "ConReservation.hh"
12: #include "ExtractIntermediate.hh"
13:
14: namespace RZ {
15:     struct ControlRemote: ConReservation {
16:         int packet_limit;
17:         int fwd_border;
18:         unsigned int file_fwd_border;
19:         std::vector< int > mark_intervals;
20:
21:         void initial_mark();
22:         void mark();
23:         void resolve(std::string &);
24:
25:         ControlRemote(
26:             struct RZWrapper const &rzwrapper,
27:             char const volatile * const l, char volatile * const r,
28:             unsigned int firstpacketfrom)
29:         :
30:             ConReservation(rzwrapper, l, r),
31:             packet_limit(DataPackets::FIRST_PACKET_SIZE),
32:             fwd_border(0),
33:             file_fwd_border(firstpacketfrom) {}
34:         ControlRemote(
35:             struct IntermediateWrapper const &interwrap,
36:             int ltabfd, int rtabfd, unsigned int firstpacketfrom)
37:         :
38:             ConReservation(interwrap, ltabfd, rtabfd),
39:             packet_limit(DataPackets::FIRST_PACKET_SIZE),
40:             fwd_border(0),
41:             file_fwd_border(firstpacketfrom) {}
42:     };
43: }
44:
45: // ControlRemote.hh # the actual synthesize algorithm
46:
47: #endif