DSComponent |
public:
DSComponent ( DSHashTable * hash );
Create a component object.
- hash
- Specifies a HashTable where components should register themselves.
DSComponent |
public:
DSComponent ( DSTSHashTable * hash );
Create a component object.
- hash
- Specifies a TSHashTable where components should register themselves.
DSComponent |
public:
DSComponent ( DSList * list );
Create a component object.
- hash
- Specifies a List where components should register themselves.
loadComponentsPrefixes |
public:
int loadComponentsPrefixed ( char * dir, char * key_symbol, char * value_symbol, BOOL with_prefix=TRUE );
Registers a directory of components into the hashtable.
- 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. As of 1.5.2, a negative type indicates a load failure.
- 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.
~DSComponent |
public:
~DSComponent (void);
Destroy a Thread object. If a thread has been initiated, it is not terminated.
(Last Updated 9/24/2004)