AgateLib.Drivers.DriverInfo< T > Class Template 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

template<T>
class AgateLib::Drivers::DriverInfo< T >

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

Template Parameters:
T Type parameter which derives from DriverTypeIDBase.

Constructor & Destructor Documentation

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

Constructs a DriverInfo<T> object.

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

Constructs a DriverInfo<T> object.

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

Constructs a DriverInfo<T> object.

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

Constructs a DriverInfo<T> object.


Member Function Documentation

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

Returns the name of this driver.

Returns:


Property Documentation

template<T >
Type 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.

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

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

template<T >
int 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.

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

Gets or sets the driver type identifier.


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