OMNeT++ Simulation Library
5.6.1
|
#include <cfingerprint.h>
This class defines the interface for fingerprint calculators.
Public Member Functions | |
virtual void | initialize (const char *expectedFingerprints, cConfiguration *cfg, int index=-1)=0 |
virtual bool | checkFingerprint () const =0 |
Constructor, destructor. | |
virtual | ~cFingerprintCalculator () |
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 | addVectorResult (const cComponent *component, const char *name, const simtime_t &t, double value)=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 |
Public Member Functions inherited from cObject | |
cObject () | |
cObject (const cObject &other) | |
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 |
const cObject * | getThisPtr () const |
virtual std::string | str () const |
virtual _OPPDEPRECATED std::string | info () const |
virtual _OPPDEPRECATED std::string | detailedInfo () 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 void | forEachChild (cVisitor *v) |
cObject * | findObject (const char *name, bool deep=true) |
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 |
Compare computed fingerprint with the expected one, and throw error if it doesn't match.
Implemented in cMultiFingerprintCalculator, and cSingleFingerprintCalculator.