Instrument Neutral Distributed Interface INDI  1.5.0
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 Imager LoaderClient MathPluginManagerClient MyClient SkySafariClient WatchDogClient

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. More...
 
virtual void serverDisconnected (int exit_code)=0
 Emmited when the server gets disconnected. More...
 
virtual ~BaseMediator ()
 

Detailed Description

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

Definition at line 73 of file indibase.h.

Constructor & Destructor Documentation

virtual INDI::BaseMediator::~BaseMediator ( )
inlinevirtual

Definition at line 139 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.

Implemented in SkySafariClient, Imager, WatchDogClient, MyClient, MathPluginManagerClient, and LoaderClient.

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

Implemented in SkySafariClient, Imager, WatchDogClient, MyClient, MathPluginManagerClient, and LoaderClient.

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.

Implemented in SkySafariClient, Imager, WatchDogClient, MyClient, MathPluginManagerClient, and LoaderClient.

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.

Implemented in SkySafariClient, Imager, WatchDogClient, MyClient, LoaderClient, and MathPluginManagerClient.

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.

Implemented in SkySafariClient, Imager, WatchDogClient, MyClient, LoaderClient, and MathPluginManagerClient.

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

Implemented in SkySafariClient, Imager, WatchDogClient, MyClient, LoaderClient, and MathPluginManagerClient.

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.

Implemented in SkySafariClient, Imager, WatchDogClient, MyClient, LoaderClient, and MathPluginManagerClient.

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.

Implemented in SkySafariClient, Imager, WatchDogClient, MyClient, LoaderClient, and MathPluginManagerClient.

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.

Implemented in SkySafariClient, Imager, WatchDogClient, and MyClient.

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.

Implemented in SkySafariClient, Imager, WatchDogClient, MyClient, MathPluginManagerClient, and LoaderClient.

virtual void INDI::BaseMediator::serverConnected ( )
pure virtual

Emmited when the server is connected.

Implemented in SkySafariClient, Imager, WatchDogClient, MyClient, MathPluginManagerClient, and LoaderClient.

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.

Implemented in SkySafariClient, Imager, WatchDogClient, MyClient, MathPluginManagerClient, and LoaderClient.


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