-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDSChannelComponent.h
38 lines (30 loc) · 1.18 KB
/
DSChannelComponent.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
#ifndef _DSCHANNELCOMPONENT_H_
#define _DSCHANNELCOMPONENT_H_
#include "DSBasicTypes.h"
#include "DSChannelList.h"
/************************************************************************
* Classname: DSChannelComponent
* Aufgabe: Basisklasse fuer alle SDL-Strukturen in denen SDL-Kanaele
* definiert werden koennen.
************************************************************************/
class DSChannelComponent
{
public:
DSChannelComponent(class DSObject * = NULL); // parent
~DSChannelComponent(void);
DSChannelKeyList *GetChannelList(void) const;
class DSChannel *GetChannel(class DSString*) const;
class DSChannel *GetChannel(class DSString&) const;
class DSChannel *GetChannel(const char *) const;
class DSChannel *GetFirstChannel(void) const;
class DSChannel *GetNextChannel(void) const;
DSResult SetChannelList(DSChannelKeyList*);
DSResult InsertChannel(DSChannel*);
protected:
DSObject *GetComponentParent(void) const; // Vaterobject
DSResult SetComponentParent(const DSObject*);
private:
DSChannelKeyList *channel_definition_list;
class DSObject *parent;
};
#endif