OMNeT++ API 6.1
Discrete Event Simulation Library
cFingerprintCalculator Class Referenceabstract

Description

This class defines the interface for fingerprint calculators.

See also
cSimulation::getFingerprintCalculator()
Inheritance diagram for cFingerprintCalculator:
[legend]

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 cObjectgetThisPtr () const
 
virtual std::string str () const
 
virtual std::ostream & printOn (std::ostream &os) const
 
virtual cObjectdup () const
 
virtual void parsimPack (cCommBuffer *buffer) const
 
virtual void parsimUnpack (cCommBuffer *buffer)
 
virtual cObjectgetOwner () const
 
virtual bool isOwnedObject () const
 
virtual bool isSoftOwner () const
 
virtual void forEachChild (cVisitor *v)
 
cObjectfindObject (const char *name, bool deep=true)
 
virtual cClassDescriptorgetDescriptor () 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)
 

Member Function Documentation

◆ initialize()

virtual void initialize ( const char *  expectedFingerprints,
cConfiguration cfg,
int  index = -1 
)
pure virtual

Initialization.

Implemented in cMultiFingerprintCalculator, and cSingleFingerprintCalculator.

◆ checkFingerprint()

virtual bool checkFingerprint ( ) const
pure virtual

Compares the computed fingerprint with the expected one, and returns true if they match, and false otherwise.

Implemented in cMultiFingerprintCalculator, and cSingleFingerprintCalculator.


The documentation for this class was generated from the following file: