Instrument Neutral Distributed Interface INDI 2.2.5
AlignmentSubsystemForClients.cpp
Go to the documentation of this file.
1
10
11namespace INDI
12{
13namespace AlignmentSubsystem
14{
21
23{
24 if (strcmp(BLOBPointer->bvp->device, DeviceName.c_str()) == 0)
25 {
26 IDLog("newBLOB %s\n", BLOBPointer->bvp->name);
28 }
29}
30
32{
33 if (strcmp(DevicePointer->getDeviceName(), DeviceName.c_str()) == 0)
34 {
35 IDLog("Receiving %s Device...\n", DevicePointer->getDeviceName());
38 }
39}
40
42{
43 if (strcmp(NumberVectorPropertyPointer->device, DeviceName.c_str()) == 0)
44 {
45 IDLog("newNumber %s\n", NumberVectorPropertyPointer->name);
46 ClientAPIForAlignmentDatabase::ProcessNewNumber(NumberVectorPropertyPointer);
47 }
48}
49
51{
52 if (strcmp(PropertyPointer->getDeviceName(), DeviceName.c_str()) == 0)
53 {
54 IDLog("newProperty %s\n", PropertyPointer->getName());
57 }
58}
59
61{
62 if (strcmp(SwitchVectorPropertyPointer->device, DeviceName.c_str()) == 0)
63 {
64 IDLog("newSwitch %s\n", SwitchVectorPropertyPointer->name);
65 ClientAPIForAlignmentDatabase::ProcessNewSwitch(SwitchVectorPropertyPointer);
66 ClientAPIForMathPluginManagement::ProcessNewSwitch(SwitchVectorPropertyPointer);
67 }
68}
69
70} // namespace AlignmentSubsystem
71} // namespace INDI
void ProcessNewProperty(INDI::Property *PropertyPointer)
Process new property message from driver. This routine should be called from within the newProperty h...
void ProcessNewNumber(INumberVectorProperty *NumberVectorPropertyPointer)
Process new number message from driver. This routine should be called from within the newNumber handl...
void Initialise(const char *DeviceName, INDI::BaseClient *BaseClient)
This routine should be called before any connections to devices are made.
void ProcessNewSwitch(ISwitchVectorProperty *SwitchVectorPropertyPointer)
Process new switch message from driver. This routine should be called from within the newSwitch handl...
void ProcessNewDevice(INDI::BaseDevice *DevicePointer)
Process new device message from driver. This routine should be called from within the newDevice handl...
void ProcessNewBLOB(IBLOB *BLOBPointer)
Process new BLOB message from driver. This routine should be called from within the newBLOB handler i...
void Initialise(INDI::BaseClient *BaseClient)
Initialise the API.
void ProcessNewNumber(INumberVectorProperty *NumberVectorProperty)
Process new number message from driver. This routine should be called from within the newNumber handl...
void ProcessNewDevice(INDI::BaseDevice *DevicePointer)
Process new device message from driver. This routine should be called from within the newDevice handl...
void ProcessNewBLOB(IBLOB *BLOBPointer)
Process new BLOB message from driver. This routine should be called from within the newBLOB handler i...
void ProcessNewSwitch(ISwitchVectorProperty *SwitchVectorProperty)
Process new switch message from driver. This routine should be called from within the newSwitch handl...
void ProcessNewProperty(INDI::Property *PropertyPointer)
Process new property message from driver. This routine should be called from within the newProperty h...
void ProcessNewDevice(INDI::BaseDevice *DevicePointer)
Process new device message from driver. This routine should be called from within the newDevice handl...
void ProcessNewProperty(INDI::Property *PropertyPointer)
Process new property message from driver. This routine should be called from within the newProperty h...
void Initialise(INDI::BaseClient *BaseClient)
Initialise the API.
void ProcessNewSwitch(ISwitchVectorProperty *SwitchVectorProperty)
Process new switch message from driver. This routine should be called from within the newSwitch handl...
Class to provide basic client functionality.
Definition baseclient.h:52
Class to provide basic INDI device functionality.
Definition basedevice.h:52
const char * getDeviceName() const
Provides generic container for INDI properties.
const char * getDeviceName() const
const char * getName() const
void IDLog(const char *fmt,...)
Definition indicom.c:305
Namespace to encapsulate INDI client, drivers, and mediator classes.
One Blob (Binary Large Object) descriptor.
Number vector property descriptor.
Definition indiapi.h:317
char device[MAXINDIDEVICE]
Definition indiapi.h:319
char name[MAXINDINAME]
Definition indiapi.h:321
Switch vector property descriptor.
Definition indiapi.h:365
char device[MAXINDIDEVICE]
Definition indiapi.h:367
char name[MAXINDINAME]
Definition indiapi.h:369