PSEvt::HistI Class Reference
[PSEvt package]

Class defining a history interface. More...

#include <HistI.h>

Inheritance diagram for PSEvt::HistI:

PSEvt::ProxyDictHist List of all members.

Public Member Functions

virtual ~HistI ()
virtual long totalUpdates () const =0
 implement to provide number of updates
virtual long updates (const EventKey &key) const =0
 implement to provide total number of updates for a key.

Detailed Description

Class defining a history interface.

This class supports a simple history interface, total number of updates, and total number of updates for a specific EventKey.

See also:
ProxyDictI
Version:
$Id:
Author:
David Schneider

Definition at line 52 of file HistI.h.


Constructor & Destructor Documentation

virtual PSEvt::HistI::~HistI (  )  [inline, virtual]

Definition at line 56 of file HistI.h.


Member Function Documentation

virtual long PSEvt::HistI::totalUpdates (  )  const [pure virtual]

implement to provide number of updates

Derived classes can provide a simple history mechanism by overriding this class and returning the number of updates

Returns:
total number of updates

Implemented in PSEvt::ProxyDictHist.

virtual long PSEvt::HistI::updates ( const EventKey key  )  const [pure virtual]

implement to provide total number of updates for a key.

Derived classes can implement this to provide a simple history on a key - the total number of updates

Parameters:
[in] key EventKey to get updates for
Returns:
number of updates

Implemented in PSEvt::ProxyDictHist.


The documentation for this class was generated from the following file:
Generated on 19 Dec 2016 for PSANAclasses by  doxygen 1.4.7