OMNeT++ API 6.1
Discrete Event Simulation Library
cResultRecorderType Class Reference

Description

Registers a cResultRecorder.

Inheritance diagram for cResultRecorderType:
[legend]

Public Member Functions

 cResultRecorderType (const char *name, const char *className, const char *description=nullptr)
 
cResultRecordercreate () const
 
const char * getDescription () const
 
- Public Member Functions inherited from cNoncopyableOwnedObject
 cNoncopyableOwnedObject (const char *name=nullptr, bool namepooling=true)
 
virtual cNoncopyableOwnedObjectdup () const override
 
- Public Member Functions inherited from cOwnedObject
 cOwnedObject ()
 
 cOwnedObject (const char *name, bool namepooling=true)
 
 cOwnedObject (const cOwnedObject &obj)
 
virtual ~cOwnedObject ()
 
cOwnedObjectoperator= (const cOwnedObject &o)
 
virtual cObjectgetOwner () const override
 
virtual bool isOwnedObject () const override
 
- Public Member Functions inherited from cNamedObject
 cNamedObject ()
 
 cNamedObject (const char *name, bool namepooling=true)
 
 cNamedObject (const cNamedObject &obj)
 
virtual ~cNamedObject ()
 
cNamedObjectoperator= (const cNamedObject &o)
 
virtual void setName (const char *s)
 
virtual const char * getName () const override
 
virtual void setNamePooling (bool b)
 
virtual bool getNamePooling ()
 
- Public Member Functions inherited from cObject
 cObject ()
 
 cObject (const cObject &other)=default
 
virtual ~cObject ()
 
virtual const char * getClassName () 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 bool isSoftOwner () const
 
virtual void forEachChild (cVisitor *v)
 
cObjectfindObject (const char *name, bool deep=true)
 
virtual cClassDescriptorgetDescriptor () const
 
void copyNotSupported () const
 

Static Public Member Functions

static cResultRecorderTypefind (const char *name)
 
static cResultRecorderTypeget (const char *name)
 
- Static Public Member Functions inherited from cOwnedObject
static long getTotalObjectCount ()
 
static long getLiveObjectCount ()
 
static void resetObjectCounters ()
 
static cSoftOwnergetOwningContext ()
 

Additional Inherited Members

- Protected Member Functions inherited from cObject
virtual void take (cOwnedObject *obj)
 
virtual void drop (cOwnedObject *obj)
 
void dropAndDelete (cOwnedObject *obj)
 

Constructor & Destructor Documentation

◆ cResultRecorderType()

cResultRecorderType ( const char *  name,
const char *  className,
const char *  description = nullptr 
)

Constructor.

Member Function Documentation

◆ create()

cResultRecorder* create ( ) const

Creates an instance of this result recorder type.

◆ getDescription()

const char* getDescription ( ) const
inline

Returns the documentation of this result recorder.

◆ find()

static cResultRecorderType* find ( const char *  name)
static

Finds the factory object for the given name. The class must have been registered previously with the Register_ResultRecorder() macro.

◆ get()

static cResultRecorderType* get ( const char *  name)
static

Like find(), but throws an error if the object was not found.


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