cmsgpar.h Source File¶
|
API
|
cmsgpar.h
Buffer for the communications layer of parallel simulation.
Definition ccommbuffer.h:42
cXMLElement * xmlValue()
virtual void beforeChange()
bool equalsTo(cMsgPar *par)
cMsgPar & setDoubleValue(MathFunc2Args f, double p1, double p2)
bool isNumeric() const
cMsgPar & setDoubleValue(cStatistic *res)
cMsgPar & setLongValue(long l)
bool isConstant() const
cMsgPar & setDoubleValue(MathFunc3Args f, double p1, double p2, double p3)
cMsgPar & setDoubleValue(double d)
virtual void parsimPack(cCommBuffer *buffer) const override
const char * stringValue()
void * pointerValue()
cMsgPar & setDoubleValue(MathFuncNoArg f)
virtual void afterChange()
virtual void parsimUnpack(cCommBuffer *buffer) override
void convertToConst()
bool hasChanged()
cMsgPar & setObjectValue(cOwnedObject *obj)
void configPointer(VoidDelFunc delfunc, VoidDupFunc dupfunc, size_t itemsize=0)
double doubleValue()
cMsgPar & operator=(const cMsgPar &otherpar)
cMsgPar(const char *name, cMsgPar &other)
cMsgPar & setDoubleValue(MathFunc1Arg f, double p1)
char getType() const
long longValue()
virtual bool parse(const char *text, char type='?')
cMsgPar & setXMLValue(cXMLElement *node)
virtual void forEachChild(cVisitor *v) override
cMsgPar & setDoubleValue(MathFunc4Args f, double p1, double p2, double p3, double p4)
virtual std::string str() const override
virtual ~cMsgPar()
cOwnedObject * getObjectValue()
cMsgPar & setBoolValue(bool b)
cMsgPar(const cMsgPar &other)
bool boolValue()
cMsgPar & setPointerValue(void *ptr)
cMsgPar & setStringValue(const char *s)
cMsgPar(const char *name=nullptr)
cStatistic is an abstract class for computing statistical properties of a random variable.
Definition cstatistic.h:35
Enables traversing the tree of (cObject-rooted) simulation objects.
Definition cvisitor.h:57
Represents an XML element in an XML configuration file.
Definition cxmlelement.h:76
double(* MathFunc4Args)(double, double, double, double)
Prototype for mathematical functions taking four arguments.
Definition cnedmathfunction.h:73
double(* MathFunc2Args)(double, double)
Prototype for mathematical functions taking two arguments.
Definition cnedmathfunction.h:57
double(* MathFunc1Arg)(double)
Prototype for mathematical functions taking one argument.
Definition cnedmathfunction.h:49
double(* MathFunc)(...)
Prototype for mathematical functions.
Definition cnedmathfunction.h:33
double(* MathFunc3Args)(double, double, double)
Prototype for mathematical functions taking three arguments.
Definition cnedmathfunction.h:65
double(* MathFuncNoArg)()
Prototype for mathematical functions taking no arguments.
Definition cnedmathfunction.h:41
Generated on for API by