#include <HistogramAttribute.h>
Inheritance diagram for HistogramAttribute< T >:

Public Member Functions | |
| HistogramAttribute (const PacketAttribute &f, const T boundaries[], int count, bool finite=false) | |
| HistogramAttribute (const PacketFilter &filter, const PacketAttribute &f, const T boundaries[], int count, bool finite=false) | |
| HistogramAttribute (const PacketAttribute &f, const T start, const T end, const T interval, bool finite=false) | |
| HistogramAttribute (const PacketFilter &filter, const PacketAttribute &f, const T start, const T end, const T interval, bool finite=false) | |
| HistogramAttribute (const HistogramAttribute< T > &toCopy) | |
| HistogramAttribute & | operator= (const HistogramAttribute< T > &rhs) |
|
virtual HistogramAttribute< T > * | clone (void) const |
| virtual void | handlePassedPacket (TraceIterator &packet) |
| Notify the attribute of a new packet to be included in the computation. | |
| virtual std::string | toString (void) const |
| Output a string representation of the histogram. | |
| int | getType (void) |
| virtual const Attribute & | getAttrib (const std::string &ident) const throw ( UnknownAttributeException ) |
| Get a subattribute of this attribute. | |
| virtual void | linkToAggregate (Aggregate &parent) |
| Notify the Attribute that it is being linked to a particular aggregate. | |
| virtual void | compute (void) |
| Compute the value of the attribute. | |
| virtual void | reset (void) throw ( NotResettableException ) |
| Reset the value of the attribute. | |
| virtual void | handlePacket (TraceIterator &newPkt) |
Static Public Attributes | |
| static const int | TYPE_UNKNOWN = 0 |
| static const int | TYPE_SCALAR = 1 |
| static const int | TYPE_DISTRIB = 17 |
| static const int | TYPE_HISTOGRAM = 25 |
| static const int | TYPE_ARRAY = 33 |
| static const int | TYPE_SET = 34 |
Protected Attributes | |
| Aggregate * | aggr |
| int | attribType |
| bool | dirty |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Attribute &attrib) |
|
|
Compute the value of the attribute. Used to update an offline attribute. Reimplemented in ArithmeticAttribute< lType, rType, resType >, ByteCountAttribute, DurationAttribute, and SumAttribute< T >. |
|
|
checks the packet against the filter and calls handlePassedPacket if it passes or if the filter is NULL Implements PacketListener. |
|
||||||||||
|
Notify the attribute of a new packet to be included in the computation. For an online attribute, update the attribute. For an offline attribute, set the dirty bit. (default) Reimplemented from Attribute. |
|
|
Notify the Attribute that it is being linked to a particular aggregate.
Reimplemented in ArithmeticAttribute< lType, rType, resType >, and SumAttribute< T >. |
|
|
Reset the value of the attribute.
Reimplemented in SumAttribute< T >. |
|
|
array |
|
|
statistical distribution |
|
|
histogram |
|
|
single-valued type |
|
|
set |
|
|
unknown type |
1.4.2