VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
actuatorComponentDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: actCompDesc.h,v $ $Revision: 1.11 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #ifndef DtActuatorComponentDescriptor_H_
16 #define DtActuatorComponentDescriptor_H_
17 
20 #include <vlpi/disEnums.h>
21 
23 
48 {
49 public:
50 
51  typedef std::set<DtArtPartType> ArtPartTypeSet;
52 
54  DtActuatorComponentDescriptor(const DtString& componentName,
55  DtReaderWriterRegistry* parentRegistry = NULL);
56  DtActuatorComponentDescriptor(const DtSymbolString& componentName,
57  DtReaderWriterRegistry* parentRegistry = NULL);
58 
61  DtReaderWriterRegistry* parentRegistry = NULL);
62 
66 
68  virtual ~DtActuatorComponentDescriptor() override;
69 
72  virtual DtString type() const override;
73 
74  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
75 
78  virtual void setDefaultArtPartDescriptorList(const DtSimArtPartDescriptorList&
79  artPartDescriptorList);
80  virtual const DtSimArtPartDescriptorList& defaultArtPartDescriptorList() const;
81  virtual DtSimArtPartDescriptorList& defaultArtPartDescriptorList();
83 
86  virtual void setArtPartTypes(const ArtPartTypeSet& partTypes);
87  virtual const ArtPartTypeSet& artPartTypes() const;
88  virtual DtArtPartType firstArtPartType() const;
90 
92  virtual void postGetSelf() override;
93 
96 
97 protected:
100 
101 protected:
105 
115 
117 
121 };
122 
123 #endif
124 
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
ArtPartTypeSet myArtPartTypes
List of configured articulated parts types associated with this actuator. Populated from myDefaultArt...
Definition: actuatorComponentDescriptor.h:120
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
virtual void postGetSelf()
Called after either version of getSelf (mtl or environment). Default is no-op.
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtSimArtPartDescriptorList myDefaultArtPartDescriptorList
Parameter Name: default-art-part-list Parameter Description: This parameter describes the default art...
Definition: actuatorComponentDescriptor.h:114
Instances of DtSimArtPartDescriptorList are lists of DtSimArtPartDescriptors. This is an optional par...
Definition: simArtPartDescriptorList.h:16
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
static DtComponentDescriptor * creator()
std::set< DtArtPartType > ArtPartTypeSet
Definition: actuatorComponentDescriptor.h:51

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)