public:
DSComponent(DSHashTable * hash);
Create a component object.
Name Description hash Specifies a HashTable where components should register themselves.
public:
DSComponent(DSTSHashTable * hash);
Create a component object.
Name Description hash Specifies a TSHashTable where components should register themselves.
public:
DSComponent(DSList * list);
Create a component object.
Name Description hash Specifies a List where components should register themselves.
public:
int loadComponentsPrefixed(char * dir, char * key_symbol, char * value_symbol, BOOL with_prefix=TRUE);
Registers a directory of components into the hashtable.
Result: The number of components successfully loaded.
Name Description dir Specifies the directory to be searched for components. key_symbol Specifies the exported symbol in the components to return the type of the component. value_symbol Specifies the name of the exported symbol that should be called (by the application) and will be entered into the value field of the HashTable. with_prefix Specifies if symbols when loaded should be prefixed by their library name, ie., function func in library liblib.so would be liblib_func if TRUE, otherwise just func.
public:
~DSComponent();
Destroy a Thread object. If a thread has been initiated, it is not terminated.
Generated with HeaderDoc - © 2000 Apple Computer, Inc. (Last Updated 9/29/2003)