-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDSLink.h
63 lines (52 loc) · 2.29 KB
/
DSLink.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#ifndef _DSLINK_H_
#define _DSLINK_H_
#include "DSBasicTypes.h"
#include "DSRef.h"
#include "DSNamedObject.h"
/************************************************************************
* Classname: DSLink
* Purpose: Speichert einen QSDL-Link
************************************************************************/
class DSLink : public DSNamedObject
{
public:
DSLink(DSObject* = NULL,
DSString* = NULL,
DSProcessRef = NULL,
DSMachineRef = NULL);
DSLink(DSObject*,
DSString&,
DSProcessRef = NULL,
DSMachineRef = NULL);
DSLink(DSObject*,
const char *,
DSProcessRef = NULL,
DSMachineRef = NULL);
virtual ~DSLink(void);
DSObject *New(DSObject * = NULL) const; // virtueller Konstruktor
DSProcessRef GetProcessRef(void) const;
DSMachineRef GetMachineRef(void) const;
DSMachineServiceRefList *GetMachineServiceRefList(void) const;
DSMachineServiceRef GetFirstMachineServiceRef(void) const;
DSMachineServiceRef GetNextMachineServiceRef(void) const;
DSBoolean IsMachineServiceRefInList(DSMachineServiceRef) const;
DSResult SetProcessRef(DSProcessRef);
DSResult SetMachineRef(DSMachineRef);
DSResult SetMachineServiceRefList(DSMachineServiceRefList*);
DSResult InsertMachineServiceRef(DSMachineServiceRef);
DSObject *Clone(DSObject * = NULL,
DSObject * = NULL) const;
// erzeugt eine identische
// Kopie dieses Objekts
/***********************************************************/
/* Die folgenden zwei Funktionen dienen zum systematischen */
/* Durchlaufen und Verarbeiten der Datenstruktur: */
/***********************************************************/
virtual DSResult Write(DSWriter *, DSCardinal = 0) const;
virtual DSResult Run(DSWriter*, DSType, DSCardinal = 0) const;
private:
DSProcessRef process_ref;
DSMachineRef machine_ref;
DSMachineServiceRefList *machineservice_ref_list;
};
#endif