Inheritance diagram for code::IndexBase:

Not directly used except by IndexFactory.
Public Member Functions | |
| virtual | ~IndexBase () |
| IndexBase (std::vector< SmartPtr< ActionListener > > listeners, double ratio, const TimeInterval &maximumHistory) | |
| IndexBase () | |
| const URL & | getURL () const |
| This will be set by IndexFactory if the Index is created using IndexFactory::createIndex. | |
| void | setURL (const URL &u) |
| Pass in complete URL, i.e. | |
| void | copyListenersFrom (const ActionSource &other) |
| copy all the listeners from the other source (replacing our own) | |
| size_t | getNumListeners () const |
| returns the number of listeners linked to this source. | |
| std::string | getDir () |
| Returns a source-specific disk directory. | |
| void | addActionListener (SmartPtr< ActionListener > lstnr) |
| Subscribe lstnr such that it receives all events from this ActionSource. | |
| void | addActionListener (const std::string &event_type, SmartPtr< ActionListener > lstnr) |
| Subscribe lstnr such that it receives only this event type from this ActionSource. | |
| void | removeActionListener (SmartPtr< ActionListener > lstner) |
| Unsubscribe lstnr such that it no longer receives events from this ActionSource. | |
| void | removeActionListener (const std::string &eventType, SmartPtr< ActionListener > lstner) |
| Unsubscribe the listener so that it does not respond to the the event type noted. | |
| void | fireActionPerformed (const ActionEvent &e) |
| Convenience function for subclasses to notify ActionListeners of events. | |
| void | fireActionPerformed (const ActionEvent *e) |
| Convenience function for subclasses to notify ActionListeners of events. | |
| void | fireActionPerformed (const std::string &type) |
| Convenience function for subclasses to notify ActionListeners of events. | |
Protected Attributes | |
| double | simulationRatio |
| TimeInterval | ageoffInterval |
| URL | url |
| virtual code::IndexBase::~IndexBase | ( | ) | [virtual] |
| code::IndexBase::IndexBase | ( | std::vector< SmartPtr< ActionListener > > | listeners, | |
| double | ratio, | |||
| const TimeInterval & | maximumHistory | |||
| ) |
| code::IndexBase::IndexBase | ( | ) |
| void code::ActionSource::addActionListener | ( | const std::string & | event_type, | |
| SmartPtr< ActionListener > | lstnr | |||
| ) | [inline, inherited] |
Subscribe lstnr such that it receives only this event type from this ActionSource.
| evt_type | the event type we are subscribing to | |
| lstnr | the action listener to be subscribed. |
| void code::ActionSource::addActionListener | ( | SmartPtr< ActionListener > | lstnr | ) | [inline, inherited] |
Subscribe lstnr such that it receives all events from this ActionSource.
| l | the action listener to be subscribed. |
| void code::ActionSource::copyListenersFrom | ( | const ActionSource & | other | ) | [inline, inherited] |
copy all the listeners from the other source (replacing our own)
| void code::ActionSource::fireActionPerformed | ( | const std::string & | type | ) | [inline, inherited] |
Convenience function for subclasses to notify ActionListeners of events.
| type | the type of the ActionEvent to be passed along to the action listeners. |
| void code::ActionSource::fireActionPerformed | ( | const ActionEvent * | e | ) | [inline, inherited] |
Convenience function for subclasses to notify ActionListeners of events.
| actionEvent | the event to be passed along to the action listeners. |
| void code::ActionSource::fireActionPerformed | ( | const ActionEvent & | e | ) | [inline, inherited] |
Convenience function for subclasses to notify ActionListeners of events.
| actionEvent | the event to be passed along to the action listeners. |
| std::string code::ActionSource::getDir | ( | ) | [inline, inherited] |
Returns a source-specific disk directory.
Default implementation does nothing --- this should be overridden.
| size_t code::ActionSource::getNumListeners | ( | ) | const [inline, inherited] |
returns the number of listeners linked to this source.
| const URL& code::IndexBase::getURL | ( | ) | const [inline] |
| void code::ActionSource::removeActionListener | ( | const std::string & | eventType, | |
| SmartPtr< ActionListener > | lstner | |||
| ) | [inline, inherited] |
Unsubscribe the listener so that it does not respond to the the event type noted.
This works only if the listener was added via addActionListener( type, SmartPtr )
| type | The event type | |
| lstnr | The listener to remove |
| void code::ActionSource::removeActionListener | ( | SmartPtr< ActionListener > | lstner | ) | [inline, inherited] |
Unsubscribe lstnr such that it no longer receives events from this ActionSource.
| lstnr | the action listener to be unsubscribed. |
| void code::IndexBase::setURL | ( | const URL & | u | ) | [inline] |
Pass in complete URL, i.e.
"rssd://karnak/data/realtiem/radar/multi/code_index.lb&protocol=xmllb" This is called by IndexFactory::createIndex
TimeInterval code::IndexBase::ageoffInterval [protected] |
double code::IndexBase::simulationRatio [protected] |
URL code::IndexBase::url [protected] |
1.4.7