ERY.AgateLib.Drivers.DriverInfo< T > Class Reference

Class which describes what's required to instantiate a driver. More...

List of all members.

Public Member Functions

 DriverInfo ()
 Constructs a DriverInfo<T> object.
 DriverInfo (Type myClass, T type)
 Constructs a DriverInfo<T> object.
 DriverInfo (Type myClass, T type, string name)
 Constructs a DriverInfo<T> object.
 DriverInfo (Type myClass, T type, string name, int priority)
 Constructs a DriverInfo<T> object.
override string ToString ()
 Returns the name of this driver.

Properties

TypeID [get, set]
 Gets or sets the driver type identifier.
Type MyClass [get, set]
 Type which should be instantiated to use the driver. This type must derive from a class deriving from DriverImplBase.
string Name [get, set]
 Name of the class to display to the user if asked to do so.
int Priority [get, set]
 Drivers which are registered are sorted by priority, and the highest priority is selected and used under usual conditions.


Detailed Description

Class which describes what's required to instantiate a driver.

<typeparam name="T">Type parameter which derives from DriverTypeIDBase. </typeparam>


Constructor & Destructor Documentation

ERY.AgateLib.Drivers.DriverInfo< T >.DriverInfo (  ) 

Constructs a DriverInfo<T> object.

ERY.AgateLib.Drivers.DriverInfo< T >.DriverInfo ( Type  myClass,
type 
)

Constructs a DriverInfo<T> object.

ERY.AgateLib.Drivers.DriverInfo< T >.DriverInfo ( Type  myClass,
type,
string  name 
)

Constructs a DriverInfo<T> object.

ERY.AgateLib.Drivers.DriverInfo< T >.DriverInfo ( Type  myClass,
type,
string  name,
int  priority 
)

Constructs a DriverInfo<T> object.


Member Function Documentation

override string ERY.AgateLib.Drivers.DriverInfo< T >.ToString (  ) 

Returns the name of this driver.

Returns:


Property Documentation

T ERY.AgateLib.Drivers.DriverInfo< T >.TypeID [get, set]

Gets or sets the driver type identifier.

Type ERY.AgateLib.Drivers.DriverInfo< T >.MyClass [get, set]

Type which should be instantiated to use the driver. This type must derive from a class deriving from DriverImplBase.

string ERY.AgateLib.Drivers.DriverInfo< T >.Name [get, set]

Name of the class to display to the user if asked to do so.

int ERY.AgateLib.Drivers.DriverInfo< T >.Priority [get, set]

Drivers which are registered are sorted by priority, and the highest priority is selected and used under usual conditions.


The documentation for this class was generated from the following file:
AgateLib
Awesome Game and Tool Engine Library
SourceForge.net Logo