#include <StateChangeNotifierInterface.h>
Public Member Functions | |
virtual void | addListener (StateChangeListenerInterface *listener)=0 |
Register a listener with the StateChangeNotifier. | |
virtual void | removeListener (StateChangeListenerInterface *listener)=0 |
Remove a listener from the StateChangeNotifier. | |
virtual bool | isListening (StateChangeListenerInterface *listener)=0 |
Checks to see if a particular listener is registered with the StateChangeNotifier. | |
virtual bool | setMode (StateChangeMode_e mode)=0 |
Sets the mode in which state changes are propagated to the registered listeners. | |
virtual StateChangeMode_e | mode ()=0 |
virtual | ~StateChangeNotifierInterface () |
virtual tecplot::toolbox::StateChangeNotifierInterface::~StateChangeNotifierInterface | ( | ) | [inline, virtual] |
virtual void tecplot::toolbox::StateChangeNotifierInterface::addListener | ( | StateChangeListenerInterface * | listener | ) | [pure virtual] |
Register a listener with the StateChangeNotifier.
listener | Pointer to the listener class that has implemented the StateChangeListenerInterface |
OutOfMemoryException | OutOfMemoryException is thrown if listener could not be added. |
Implemented in tecplot::toolbox::StateChangeNotifier.
virtual void tecplot::toolbox::StateChangeNotifierInterface::removeListener | ( | StateChangeListenerInterface * | listener | ) | [pure virtual] |
Remove a listener from the StateChangeNotifier.
listener | Pointer to the listener class that has implemented the StateChangeListenerInterface |
Implemented in tecplot::toolbox::StateChangeNotifier.
virtual bool tecplot::toolbox::StateChangeNotifierInterface::isListening | ( | StateChangeListenerInterface * | listener | ) | [pure virtual] |
Checks to see if a particular listener is registered with the StateChangeNotifier.
listener | Pointer to the listener class that has implemented the StateChangeListenerInterface |
Implemented in tecplot::toolbox::StateChangeNotifier.
virtual bool tecplot::toolbox::StateChangeNotifierInterface::setMode | ( | StateChangeMode_e | mode | ) | [pure virtual] |
Sets the mode in which state changes are propagated to the registered listeners.
mode | Mode you want state changes propagated to your listeners. Choose either StateChangeMode_v80, StateChangeMode_v100, or StateChangeMode_v113. See the section "Sending State Changes" in the "ADK User's Manual" for a complete description of the differences between these options. |
Implemented in tecplot::toolbox::StateChangeNotifier.
virtual StateChangeMode_e tecplot::toolbox::StateChangeNotifierInterface::mode | ( | ) | [pure virtual] |
Implemented in tecplot::toolbox::StateChangeNotifier.