Changeset View
Changeset View
Standalone View
Standalone View
kstars/indi/indilistener.h
Context not available. | |||||
9 | Handle INDI Standard properties. | 9 | Handle INDI Standard properties. | ||
---|---|---|---|---|---|
10 | */ | 10 | */ | ||
11 | 11 | | |||
12 | #ifndef INDILISETNER_H | 12 | #pragma once | ||
13 | #define INDILISETNER_H | 13 | | ||
14 | #include "indi/indistd.h" | ||||
14 | 15 | | |||
15 | #include <indiproperty.h> | 16 | #include <indiproperty.h> | ||
16 | #include <QObject> | | |||
17 | 17 | | |||
18 | #include "indi/indistd.h" | 18 | #include <QObject> | ||
19 | 19 | | |||
20 | class ClientManager; | 20 | class ClientManager; | ||
21 | class FITSViewer; | 21 | class FITSViewer; | ||
Context not available. | |||||
23 | 23 | | |||
24 | /** | 24 | /** | ||
25 | * @class INDIListener | 25 | * @class INDIListener | ||
26 | * INDIListener is responsible for creating ISD::GDInterface generic devices as new devices arrive from ClientManager. It can support multiple ClientManagers | 26 | * INDIListener is responsible for creating ISD::GDInterface generic devices as new devices arrive from | ||
27 | * and will first create a generic INDI device. Upon arrival of INDI properties, INDIListener can create specialized devices (e.g. Telescope) if it detects key Standard INDI | 27 | * ClientManager. It can support multiple ClientManagers and will first create a generic INDI device. | ||
28 | * property that signifies a particular device family. The generic device functionality is extended via the Decorator design pattern. | 28 | * Upon arrival of INDI properties, INDIListener can create specialized devices (e.g. Telescope) if it | ||
29 | * detects key Standard INDI property that signifies a particular device family. The generic device | ||||
30 | * functionality is extended via the Decorator design pattern. | ||||
29 | * | 31 | * | ||
30 | * INDIListener also delegates INDI properties as they are received from ClientManager to the appropriate device to be processed. | 32 | * INDIListener also delegates INDI properties as they are received from ClientManager to the appropriate | ||
33 | * device to be processed. | ||||
31 | * | 34 | * | ||
32 | * @author Jasem Mutlaq | 35 | * @author Jasem Mutlaq | ||
33 | */ | 36 | */ | ||
Context not available. | |||||
81 | void newST4(ISD::ST4 *); | 84 | void newST4(ISD::ST4 *); | ||
82 | void deviceRemoved(ISD::GDInterface *); | 85 | void deviceRemoved(ISD::GDInterface *); | ||
83 | }; | 86 | }; | ||
84 | | ||||
85 | #endif // INDILISETNER_H | | |||
Context not available. |