![]() |
VR-Forces 5.0.3 Developer's Guide
|
Admin content which contains the list of art parts, their parameters, and limits for a particular entity. This is the response to the DtRequestArtPartsAdmin message.

Classes | |
| struct | CurrentMinAndMax |
Public Types | |
| typedef std::map< int, CurrentMinAndMax > | ParamInfo |
| typedef std::map< int, ParamInfo > | PartParamInfo |
Public Member Functions | |
| DtArtPartsAdmin () | |
| DtArtPartsAdmin (const DtArtPartsAdmin &orig) | |
| const DtArtPartsAdmin & | operator= (const DtArtPartsAdmin &orig) |
| virtual | ~DtArtPartsAdmin () |
| virtual bool | init () |
| virtual const DtAdminContentMessageType & | type () const |
| virtual void | addArtPart (int partType) |
| virtual void | setArtPartParam (int partType, int paramType, double current, double min, double max) |
| virtual void | clearArtParts () |
| virtual DtAdminContent * | clone () const |
| virtual DtString | stringRep () const |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
| virtual const PartParamInfo & | artParts () const |
| virtual PartParamInfo & | artParts () |
| virtual const ParamInfo & | artPartParams (int partType) const |
| virtual ParamInfo & | artPartParams (int partType) |
Public Member Functions inherited from DtAdminContent | |
| virtual | ~DtAdminContent () |
| virtual char * | netRep () |
Static Public Member Functions | |
| static DtAdminContent * | create () |
Static Public Member Functions inherited from DtAdminContent | |
| static void | addAdminContentCreatorFcn (const DtAdminContentMessageType &contentName, DtAdminContentCreatorFcn fcn) |
| static void | setFactory (DtAdminContentFactory *factory) |
| static DtAdminContentFactory * | factory () |
| static bool | isTypeRegistered (const DtAdminContentMessageType &type) |
Protected Attributes | |
| PartParamInfo | myArtPartParams |
Protected Attributes inherited from DtAdminContent | |
| char * | myNetRep |
Additional Inherited Members | |
Protected Member Functions inherited from DtAdminContent | |
| DtAdminContent () | |
| DtAdminContent (const DtAdminContent &orig) | |
| const DtAdminContent & | operator= (const DtAdminContent &orig) |
| virtual char * | createNetworkBuffer () |
Static Protected Attributes inherited from DtAdminContent | |
| static DtAdminContentFactory * | myFactory |
| typedef std::map<int, CurrentMinAndMax> DtArtPartsAdmin::ParamInfo |
| typedef std::map<int, ParamInfo> DtArtPartsAdmin::PartParamInfo |
| DtArtPartsAdmin::DtArtPartsAdmin | ( | ) |
default constructor
| DtArtPartsAdmin::DtArtPartsAdmin | ( | const DtArtPartsAdmin & | orig | ) |
copy constructor
|
virtual |
destructor
| const DtArtPartsAdmin& DtArtPartsAdmin::operator= | ( | const DtArtPartsAdmin & | orig | ) |
assignment operator; same as copy costructor.
|
static |
Creator function. Returns new instance of this class.
|
virtual |
Call after construction.
Reimplemented from DtAdminContent.
|
virtual |
Implements DtAdminContent.
|
virtual |
Direct access to the list of articulated parts and parameters.
|
virtual |
Direct access to the list of articulated parts and parameters.
|
virtual |
Add an additional articulated part to the end of the list.
Direct access to the list of parameters for an articulated part.
Direct access to the list of parameters for an articulated part.
|
virtual |
Sets or adds an articulated parameter value.
|
virtual |
Clear the current art part list.
|
virtual |
Make a copy of this content. Returns a pointer to a newly created copy of this class.
Implements DtAdminContent.
|
virtual |
Get a readable string representation of this content.
Implements DtAdminContent.
|
virtual |
Reimplemented from DtAdminContent.
|
virtual |
Decodes content from buffer.
Reimplemented from DtAdminContent.
|
virtual |
Encodes content into buffer.
Reimplemented from DtAdminContent.
|
protected |
The list of available parts and their parameters.