OMNeT++ Simulation Library  5.6.1
cMultiFingerprintCalculator Class Reference

#include <cfingerprint.h>

Description

This class calculates multiple fingerprints simultaneously.

The calculator can be configured similarly to the cSingleFingerprintCalculator class, but in this case each option is a comma separated list.

Inheritance diagram for cMultiFingerprintCalculator:
cFingerprintCalculator cObject noncopyable

Public Member Functions

virtual cMultiFingerprintCalculatordup () const override
 
virtual std::string str () const override
 
virtual void initialize (const char *expectedFingerprints, cConfiguration *cfg, int index=-1) override
 
virtual bool checkFingerprint () const override
 
- Public Member Functions inherited from cFingerprintCalculator
virtual ~cFingerprintCalculator ()
 
- 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 cObjectgetThisPtr () const
 
virtual _OPPDEPRECATED std::string info () const
 
virtual _OPPDEPRECATED std::string detailedInfo () const
 
virtual void parsimPack (cCommBuffer *buffer) const
 
virtual void parsimUnpack (cCommBuffer *buffer)
 
virtual cObjectgetOwner () const
 
virtual bool isOwnedObject () const
 
virtual void forEachChild (cVisitor *v)
 
cObjectfindObject (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)
 

Member Function Documentation

◆ dup()

virtual cMultiFingerprintCalculator* dup ( ) const
inlineoverridevirtual

Should be redefined in subclasses to create an exact copy of this object. The default implementation just throws an error, to indicate that the method was not redefined.

Reimplemented from cObject.

References cObject::dup().

◆ str()

virtual std::string str ( ) const
overridevirtual

Produce a one-line description of the object. The string is displayed at various places e.g. in graphical user interfaces.

Reimplemented from cObject.

◆ initialize()

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

Initialization.

Implements cFingerprintCalculator.

◆ checkFingerprint()

virtual bool checkFingerprint ( ) const
overridevirtual

Compare computed fingerprint with the expected one, and throw error if it doesn't match.

Implements cFingerprintCalculator.


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