In file /home/blah/darwin2k/src/d2k/d2kcore/componentDB.h:abstract base class for discrete components
Inheritance:
Public Fields
-
int index
- index in global list of components
-
char name[COMPONENT_NAME_LEN]
- the name of the specific component
-
ptrList* dependencies
- dependencies on other components
-
symbolTableEntry* dependencyRefs
- references to the names of components on which this component depends
Public Methods
-
component(const component &other)
- copy constructor
-
component& operator=(const component &other)
- assignment operator
-
~component(void)
- destructor
-
virtual int readValues(symbolTableEntry* valueList) = 0
- reads values from a symbol table
-
int hasDependencies(void) const
- indicates whether the component has dependencies on other components
-
int readValue(double &val, const char* name, symbolTableEntry* &list, int quiet = 0)
- reads a floating point value from a list of symbols
-
int readValue(int &val, const char* name, symbolTableEntry* &list, int quiet = 0)
- reads an integer value from a list of symbols
-
int readValue(char val[COMPONENT_STR_LEN], const char* name, symbolTableEntry* &list, int quiet = 0)
- reads a string value from a list of symbols
-
void checkAndFreeSymbols(symbolTableEntry* entry)
- checks for unused symbols in a list of symbols and frees them
Public Fields
-
static int staticClassID
-
int objectID
-
int verboseLevel
Public Methods
-
virtual const char* className(void) const
-
virtual synObject* copy(void) const
-
virtual int isOfType(int typeNum, int derivedOk)
-
static int setStaticClassID(void)
-
virtual int classID(void) const
Documentation
abstract base class for discrete components
- int index
- index in global list of components
- char name[COMPONENT_NAME_LEN]
- the name of the specific component
- ptrList* dependencies
- dependencies on other components
- symbolTableEntry* dependencyRefs
- references to the names of components on which this component depends
- component(const component &other)
- copy constructor
- component& operator=(const component &other)
- assignment operator
- ~component(void)
- destructor
- virtual int readValues(symbolTableEntry* valueList) = 0
- reads values from a symbol table
- int hasDependencies(void) const
- indicates whether the component has dependencies on other components
- int readValue(double &val, const char* name, symbolTableEntry* &list, int quiet = 0)
- reads a floating point value from a list of symbols
- int readValue(int &val, const char* name, symbolTableEntry* &list, int quiet = 0)
- reads an integer value from a list of symbols
- int readValue(char val[COMPONENT_STR_LEN], const char* name, symbolTableEntry* &list, int quiet = 0)
- reads a string value from a list of symbols
- void checkAndFreeSymbols(symbolTableEntry* entry)
- checks for unused symbols in a list of symbols and frees them
- Direct child classes:
- rotaryActuator
linearActuator
gearBox
fileGeometry
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.