-
Notifications
You must be signed in to change notification settings - Fork 0
/
CGRequest.h
44 lines (37 loc) · 1.57 KB
/
CGRequest.h
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
#ifndef _CGREQUEST_H_
#define _CGREQUEST_H_
#include <DS/DSRequest.h>
#include "CGBasicTypes.h"
#include "CGWriter.h"
class CGRequest : public DSRequest
{
public:
CGRequest(DSObject* = NULL, // Parent
DSString* = NULL, // Label
DSMachineServiceRef = NULL, // angeforderter Dienst
DSExpression* = NULL, // Bedienwunsch
DSExpression* = NULL, // Prioritaet
DSLinkRefList* = NULL, // VIA-Links
DSPipeRefList* = NULL); // VIA-Pipes
CGRequest(DSObject*,
DSString&, // Label
DSMachineServiceRef = NULL, // angeforderter Dienst
DSExpression* = NULL, // Bedienwunsch
DSExpression* = NULL, // Prioritaet
DSLinkRefList* = NULL, // VIA-Links
DSPipeRefList* = NULL); // VIA-Pipes
CGRequest(DSObject*,
const char *, // Label
DSMachineServiceRef = NULL, // angeforderter Dienst
DSExpression* = NULL, // Bedienwunsch
DSExpression* = NULL, // Prioritaet
DSLinkRefList* = NULL, // VIA-Links
DSPipeRefList* = NULL); // VIA-Pipes
~CGRequest(void);
DSObject *New(DSObject * = NULL) const; // virtueller Konstruktor
DSResult Write(DSWriter *, DSCardinal) const;
private:
DSResult WriteImplementation(CGWriter *) const;
DSResult WriteLabel(CGWriter *) const;
};
#endif