ModemObserver Class Referenceabstract

Modem Observer class.

#include <iModem.h>

Public Member Functions

virtual void updateModemState (const std::string &modemid, const dpyModem::ModemState &state)=0
 Method called with every modem state change. More...
 
virtual void processModemWarningEvent (const std::string &modemid, const dpyModem::ModemWarning &warning)=0
 Method called on modem warning events. More...
 
virtual void updateSimList (const std::string &modemid, const std::string &simid, const dpyModem::ListEvent &event)=0
 Method called when a sim is inserted or removed from a modem. More...
 
virtual ~ModemObserver ()
 Destructor.
 

Member Function Documentation

virtual void processModemWarningEvent ( const std::string &  modemid,
const dpyModem::ModemWarning warning 
)
pure virtual
Parameters
modemid
warning
virtual void updateModemState ( const std::string &  modemid,
const dpyModem::ModemState state 
)
pure virtual
Parameters
modemid
state
virtual void updateSimList ( const std::string &  modemid,
const std::string &  simid,
const dpyModem::ListEvent event 
)
pure virtual
Parameters
modemid
simid
event