This class defines the interface for fingerprint calculators.
Public Member Functions | |
Constructor, destructor. | |
virtual | ~cFingerprintCalculator () |
virtual void | initialize (const char *expectedFingerprints, cConfiguration *cfg, int index=-1)=0 |
Updating the fingerprint value | |
virtual void | addEvent (cEvent *event)=0 |
virtual void | addScalarResult (const cComponent *component, const char *name, double value)=0 |
virtual void | addStatisticResult (const cComponent *component, const char *name, const cStatistic *value)=0 |
virtual void | registerVectorResult (void *vechandle, const cComponent *component, const char *name)=0 |
virtual void | addVectorResult (void *vechandle, const simtime_t &t, double value)=0 |
virtual void | addVisuals ()=0 |
virtual void | addExtraData (const char *data, size_t length)=0 |
virtual void | addExtraData (char data)=0 |
virtual void | addExtraData (short data)=0 |
virtual void | addExtraData (int data)=0 |
virtual void | addExtraData (long data)=0 |
virtual void | addExtraData (long long data)=0 |
virtual void | addExtraData (unsigned char data)=0 |
virtual void | addExtraData (unsigned short data)=0 |
virtual void | addExtraData (unsigned int data)=0 |
virtual void | addExtraData (unsigned long data)=0 |
virtual void | addExtraData (unsigned long long data)=0 |
virtual void | addExtraData (double data)=0 |
virtual void | addExtraData (const char *data)=0 |
virtual bool | checkFingerprint () const =0 |
Public Member Functions inherited from cObject | |
cObject () | |
cObject (const cObject &other)=default | |
virtual | ~cObject () |
virtual const char * | getClassName () const |
virtual const char * | getName () const |
bool | isName (const char *s) const |
virtual const char * | getFullName () const |
virtual std::string | getFullPath () const |
virtual std::string | getClassAndFullName () const |
virtual std::string | getClassAndFullPath () const |
const cObject * | getThisPtr () const |
virtual std::string | str () const |
virtual std::ostream & | printOn (std::ostream &os) const |
virtual cObject * | dup () const |
virtual void | parsimPack (cCommBuffer *buffer) const |
virtual void | parsimUnpack (cCommBuffer *buffer) |
virtual cObject * | getOwner () const |
virtual bool | isOwnedObject () const |
virtual bool | isSoftOwner () const |
virtual void | forEachChild (cVisitor *v) |
cObject * | findObject (const char *name, bool deep=true) |
virtual cClassDescriptor * | getDescriptor () const |
void | copyNotSupported () const |
Additional Inherited Members | |
Protected Member Functions inherited from cObject | |
virtual void | take (cOwnedObject *obj) |
virtual void | drop (cOwnedObject *obj) |
void | dropAndDelete (cOwnedObject *obj) |
|
pure virtual |
Initialization.
Implemented in cMultiFingerprintCalculator, and cSingleFingerprintCalculator.
|
pure virtual |
Compares the computed fingerprint with the expected one, and returns true if they match, and false otherwise.
Implemented in cMultiFingerprintCalculator, and cSingleFingerprintCalculator.