#include <cpar.h>
Inheritance diagram for cModulePar:
This is specialized version of cPar: it is capable of logging parameter changes to file.
NOTE: dup() creates only a cPar, NOT a cModulePar!
Public Member Functions | |
Constructors, destructor, assignment. | |
cModulePar (const cPar &other) | |
cModulePar (const char *name=NULL) | |
cModulePar (const char *name, cPar &other) | |
virtual | ~cModulePar () |
cModulePar & | operator= (const cModulePar &otherpar) |
Redefined cObject member functions | |
virtual cPolymorphic * | dup () const |
virtual std::string | fullPath () const |
virtual const char * | fullPath (char *buffer, int bufsize) const |
Redefined cPar member functions | |
virtual void | afterChange () |
Set/get owner module. | |
void | setOwnerModule (cModule *om) |
cModule * | ownerModule () const |
Friends | |
class | cModule |
|
Constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Destructor.
|
|
Calls owner module's handleParameterChange() method.
Reimplemented from cPar. |
|
Creates and returns an exact copy of this object. See cObject for more details. Reimplemented from cPar. |
|
The original fullPath() method is redefined to hide the internal array (a cArray) used to store the parameter objects.
Reimplemented from cObject. |
|
Redefined. (Reason: a C++ rule that overloaded virtual methods must be redefined together.) Reimplemented from cObject. |
|
Assignment operator. The name member doesn't get copied; see cObject's operator=() for more details. |
|
Returns a pointer to the module which has this cPar as module parameter.
|
|
Sets a pointer to the module which has this cPar as module parameter.
|