Instrument Neutral Distributed Interface INDI  1.4.1
Public Member Functions | List of all members
INDI::BaseMediator Class Referenceabstract

Meditates event notification as generated by driver and passed to clients. More...

#include <indibase.h>

Inheritance diagram for INDI::BaseMediator:
INDI::BaseClient INDI::BaseClientQt

Public Member Functions

virtual void newDevice (INDI::BaseDevice *dp)=0
 Emmited when a new device is created from INDI server. More...
 
virtual void removeDevice (INDI::BaseDevice *dp)=0
 Emmited when a device is deleted from INDI server. More...
 
virtual void newProperty (INDI::Property *property)=0
 Emmited when a new property is created for an INDI driver. More...
 
virtual void removeProperty (INDI::Property *property)=0
 Emmited when a property is deleted for an INDI driver. More...
 
virtual void newBLOB (IBLOB *bp)=0
 Emmited when a new BLOB value arrives from INDI server. More...
 
virtual void newSwitch (ISwitchVectorProperty *svp)=0
 Emmited when a new switch value arrives from INDI server. More...
 
virtual void newNumber (INumberVectorProperty *nvp)=0
 Emmited when a new number value arrives from INDI server. More...
 
virtual void newText (ITextVectorProperty *tvp)=0
 Emmited when a new text value arrives from INDI server. More...
 
virtual void newLight (ILightVectorProperty *lvp)=0
 Emmited when a new light value arrives from INDI server. More...
 
virtual void newMessage (INDI::BaseDevice *dp, int messageID)=0
 Emmited when a new message arrives from INDI server. More...
 
virtual void serverConnected ()=0
 Emmited when the server is connected.
 
virtual void serverDisconnected (int exit_code)=0
 Emmited when the server gets disconnected. More...
 

Detailed Description

Meditates event notification as generated by driver and passed to clients.

Definition at line 74 of file indibase.h.

Member Function Documentation

virtual void INDI::BaseMediator::newBLOB ( IBLOB bp)
pure virtual

Emmited when a new BLOB value arrives from INDI server.

Parameters
bpPointer to filled and process BLOB.
Examples:
tutorial_client.h.
virtual void INDI::BaseMediator::newDevice ( INDI::BaseDevice dp)
pure virtual

Emmited when a new device is created from INDI server.

Parameters
dpPointer to the base device instance
Examples:
tutorial_client.h.
virtual void INDI::BaseMediator::newLight ( ILightVectorProperty lvp)
pure virtual

Emmited when a new light value arrives from INDI server.

Parameters
lvpPointer to a light vector property.
Examples:
tutorial_client.h.
virtual void INDI::BaseMediator::newMessage ( INDI::BaseDevice dp,
int  messageID 
)
pure virtual

Emmited when a new message arrives from INDI server.

Parameters
dppointer to the INDI device the message is sent to.
messageIDID of the message that can be used to retrieve the message from the device's messageQueue() function.
Examples:
tutorial_client.h.
virtual void INDI::BaseMediator::newNumber ( INumberVectorProperty nvp)
pure virtual

Emmited when a new number value arrives from INDI server.

Parameters
nvpPointer to a number vector property.
Examples:
tutorial_client.h.
virtual void INDI::BaseMediator::newProperty ( INDI::Property property)
pure virtual

Emmited when a new property is created for an INDI driver.

Parameters
propertyPointer to the Property Container
Examples:
tutorial_client.h.
virtual void INDI::BaseMediator::newSwitch ( ISwitchVectorProperty svp)
pure virtual

Emmited when a new switch value arrives from INDI server.

Parameters
svpPointer to a switch vector property.
Examples:
tutorial_client.h.
virtual void INDI::BaseMediator::newText ( ITextVectorProperty tvp)
pure virtual

Emmited when a new text value arrives from INDI server.

Parameters
tvpPointer to a text vector property.
Examples:
tutorial_client.h.
virtual void INDI::BaseMediator::removeDevice ( INDI::BaseDevice dp)
pure virtual

Emmited when a device is deleted from INDI server.

Parameters
dpPointer to the base device instance.
Examples:
tutorial_client.h.
virtual void INDI::BaseMediator::removeProperty ( INDI::Property property)
pure virtual

Emmited when a property is deleted for an INDI driver.

Parameters
propertyPointer to the Property Container to remove.
Examples:
tutorial_client.h.
virtual void INDI::BaseMediator::serverDisconnected ( int  exit_code)
pure virtual

Emmited when the server gets disconnected.

Parameters
exit_code0 if client was requested to disconnect from server. -1 if connection to server is terminated due to remote server disconnection.
Examples:
tutorial_client.h.

The documentation for this class was generated from the following file: