61 virtual void addArtPart(
int partType);
65 virtual const ParamInfo& artPartParams(
int partType)
const;
66 virtual ParamInfo& artPartParams(
int partType);
70 virtual void setArtPartParam(
int partType,
int paramType,
double current,
71 double min,
double max);
74 virtual void clearArtParts();
87 virtual bool setFromNet(
const char* contentBuffer,
88 unsigned contentSize);
100 namespace DtBufferSerialize
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer. Base class does nothing and return...
std::map< int, CurrentMinAndMax > ParamInfo
Definition: artPartsAdmin.h:30
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
virtual int netRepSize() const
double max
Definition: artPartsAdmin.h:27
virtual DtAdminContent * clone() const =0
Make a copy of this content. Returns a pointer to a newly created copy of this class. Derived classes must override this function to create and return an instance of the derived type.
Definition: vrfObjectMessageTypeTemplate.h:24
double min
Definition: artPartsAdmin.h:26
const DtAdminContent & operator=(const DtAdminContent &orig)
assignment operator; same as copy costructor.
double current
Definition: artPartsAdmin.h:25
Admin content which contains the list of art parts, their parameters, and limits for a particular ent...
Definition: artPartsAdmin.h:19
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer. buffer must have at least the number of bytes returned...
std::map< int, ParamInfo > PartParamInfo
Definition: artPartsAdmin.h:31
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
Definition: artPartsAdmin.h:23
virtual bool init()
Base class init does nothing, but this will be called by create, in case any other deriving class nee...
DtAdminContent.
Definition: adminContent.h:23
virtual const DtAdminContentMessageType & type() const =0
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...
virtual DtString stringRep() const =0
Get a readable string representation of this content. Derived classes must implement this function...
PartParamInfo myArtPartParams
The list of available parts and their parameters.
Definition: artPartsAdmin.h:96