File: LoaderClient.h

package info (click to toggle)
indi 1.9.9%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,792 kB
  • sloc: cpp: 186,158; ansic: 30,836; xml: 869; sh: 282; makefile: 11
file content (38 lines) | stat: -rw-r--r-- 1,146 bytes parent folder | download | duplicates (4)
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

#pragma once

#include "baseclient.h"
#include "basedevice.h"

#include "alignment/AlignmentSubsystemForClients.h"

class LoaderClient : public INDI::BaseClient, INDI::AlignmentSubsystem::AlignmentSubsystemForClients
{
    public:
        LoaderClient();
        virtual ~LoaderClient();

        // Public methods

        void Initialise(int argc, char *argv[]);
        void Load();

    protected:
        // Protected methods

        virtual void newBLOB(IBLOB *bp);
        virtual void newDevice(INDI::BaseDevice *dp);
        virtual void newLight(ILightVectorProperty *lvp) {}
        virtual void newMessage(INDI::BaseDevice *dp, int messageID) {}
        virtual void newNumber(INumberVectorProperty *nvp);
        virtual void newProperty(INDI::Property *property);
        virtual void newSwitch(ISwitchVectorProperty *svp);
        virtual void newText(ITextVectorProperty *tvp) {}
        virtual void removeProperty(INDI::Property *property) {}
        virtual void serverConnected() {}
        virtual void serverDisconnected(int exit_code) {}

    private:
        INDI::BaseDevice *Device;
        std::string DeviceName;
};