Instrument Neutral Distributed Interface INDI  2.0.2
MathPluginManagerClient.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "baseclient.h"
5 #include "basedevice.h"
6 
8 
10 {
11  public:
13  virtual ~MathPluginManagerClient();
14 
15  // Public methods
16 
17  void Initialise(int argc, char *argv[]);
18 
19  void Test();
20 
21  protected:
22  // Protected methods
23 
24  virtual void newBLOB(IBLOB *bp) {}
25  virtual void newDevice(INDI::BaseDevice *dp);
26  virtual void newMessage(INDI::BaseDevice *dp, int messageID) {}
27  virtual void newNumber(INumberVectorProperty *nvp) {}
28  virtual void newProperty(INDI::Property *property);
29  virtual void newSwitch(ISwitchVectorProperty *svp);
30  virtual void newText(ITextVectorProperty *tvp) {}
31  virtual void newLight(ILightVectorProperty *lvp) {}
32  virtual void removeProperty(INDI::Property *property) {}
33  virtual void serverConnected() {}
34  virtual void serverDisconnected(int exit_code) {}
35 
36  private:
37  INDI::BaseDevice *Device;
38  std::string DeviceName;
39 };
This class encapsulates all the alignment subsystem classes that are useful to client implementations...
Class to provide basic client functionality.
Definition: baseclient.h:52
Class to provide basic INDI device functionality.
Definition: basedevice.h:52
Provides generic container for INDI properties.
Definition: indiproperty.h:48
virtual void newSwitch(ISwitchVectorProperty *svp)
Emmited when a new switch value arrives from INDI server.
virtual void newText(ITextVectorProperty *tvp)
Emmited when a new text value arrives from INDI server.
virtual void newProperty(INDI::Property *property)
Emmited when a new property is created for an INDI driver.
virtual void newBLOB(IBLOB *bp)
Emmited when a new property value arrives from INDI server.
virtual void newLight(ILightVectorProperty *lvp)
Emmited when a new light value arrives from INDI server.
virtual void serverConnected()
Emmited when the server is connected.
virtual void newDevice(INDI::BaseDevice *dp)
Emmited when a new device is created from INDI server.
virtual void serverDisconnected(int exit_code)
Emmited when the server gets disconnected.
void Initialise(int argc, char *argv[])
virtual void removeProperty(INDI::Property *property)
Emmited when a property is deleted for an INDI driver.
virtual void newNumber(INumberVectorProperty *nvp)
Emmited when a new number value arrives from INDI server.
virtual void newMessage(INDI::BaseDevice *dp, int messageID)
Emmited when a new message arrives from INDI server.
One Blob (Binary Large Object) descriptor.
Light vector property descriptor.
Definition: indiapi.h:417
Number vector property descriptor.
Definition: indiapi.h:319
Switch vector property descriptor.
Definition: indiapi.h:367
Text vector property descriptor.
Definition: indiapi.h:246