|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdasher.CModuleFactory
public abstract class CModuleFactory
A ModuleFactory is a factory capable of yielding one or more distinct CDasherModules, each associated with a friendly name and a unique identifier.
| Constructor Summary | |
|---|---|
CModuleFactory()
|
|
| Method Summary | |
|---|---|
abstract CDasherModule |
GetModule(long iID)
Retrieves the module associated with a given unique identifier |
abstract java.lang.String |
GetName(long iID)
Gets the name of a module by UID. |
abstract SFactoryInfo |
GetNext(SFactoryInfo info)
Given information about a previous module, returns a struct describing the next module. |
abstract int |
GetType(long iID)
Gets the type of a given module by UID. |
abstract boolean |
IsMore()
Are more modules available beyond those already yielded? |
abstract void |
Start()
Called when a factory is to be registered with a ModuleManager and will shortly be asked for its modules. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CModuleFactory()
| Method Detail |
|---|
public abstract void Start()
public abstract boolean IsMore()
public abstract SFactoryInfo GetNext(SFactoryInfo info)
In order to retrieve the first factory, a new/blank SFactoryInfo should be passed in.
Null should never be passed as a parameter.
info - SFactoryInfo describing the previous module or, to retrieve the first module, a blank SFactoryInfo.
public abstract CDasherModule GetModule(long iID)
iID - UID of the required module
public abstract java.lang.String GetName(long iID)
iID - UID of the requested module
public abstract int GetType(long iID)
iID - UID of the requested module
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||