DSComponent



Member Functions

DSComponent

	public:

DSComponent(DSHashTable * hash);

Create a component object.

Parameters

NameDescription
hashSpecifies a HashTable where components should register themselves.

DSComponent

	public:

DSComponent(DSTSHashTable * hash);

Create a component object.

Parameters

NameDescription
hashSpecifies a TSHashTable where components should register themselves.

DSComponent

	public:

DSComponent(DSList * list);

Create a component object.

Parameters

NameDescription
hashSpecifies a List where components should register themselves.

loadcomponents

	public:

int loadcomponents(char * dir, char * key_symbol, char * value_symbol);

Registers a directory of components into the hashtable.

Parameters

NameDescription
dirSpecifies the directory to be searched for components.
key_symbolSpecifies the exported symbol in the components to return the type of the component.
value_symbolSpecifies the name of the exported symbol that should be called (by the application) and will be entered into the value field of the HashTable.
Result: The number of components successfully loaded.

~DSComponent

	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/7/2003)