![]() |
VR-Forces 4.8 Class Documentation
|
Admin content which contains the list of art parts, their parameters, and limits for a particular entity. More...

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