WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
DirectOutput.Cab.Toys.ToyList Class Reference

List of IToy objects More...

Inheritance diagram for DirectOutput.Cab.Toys.ToyList:
DirectOutput.General.Generic.NamedItemList< IToy >

Public Member Functions

void WriteXml (XmlWriter writer)
 Serializes the IToy objects in this list to Xml. IEffect objects are serialized as the contained objects. The enclosing tags represent the object type WriteXml is part of the IXmlSerializable interface. More...
 
void ReadXml (XmlReader reader)
 Deserializes the IToy objects in the XmlReader The IToy objects are deserialized using the object name in the enclosing tags. ReadXml is part of the IXmlSerializable interface. More...
 
System.Xml.Schema.XmlSchema GetSchema ()
 Method is required by the IXmlSerializable interface More...
 
void Init (Cabinet Cabinet)
 Initializes all IToy objects in the list More...
 
void Reset ()
 Resets all toys in the list. More...
 
void Finish ()
 Finishes all toys in the list. More...
 
void UpdateOutputs ()
 Updates the outputs of all toys implementing the IToyUpdatable interface. More...
 
- Public Member Functions inherited from DirectOutput.General.Generic.NamedItemList< IToy >
bool Contains (string Name)
 Checks if a INamedItem object with the specified name exists in the list. More...
 
new void Sort ()
 Sorts the NamedItemList by the Name of the items. More...
 
 NamedItemList ()
 Initializes a new instance of the NamedItemList<T> class. More...
 
 NamedItemList (IEnumerable< T > EnumerableList)
 Initializes a new instance of the NamedItemList<T> class. More...
 

Additional Inherited Members

- Properties inherited from DirectOutput.General.Generic.NamedItemList< IToy >
this[string Name] [get]
 Indexer returning the Item with the specified name. More...
 

Detailed Description

List of IToy objects

Definition at line 13 of file ToyList.cs.

Member Function Documentation

void DirectOutput.Cab.Toys.ToyList.Finish ( )

Finishes all toys in the list.

Definition at line 119 of file ToyList.cs.

System.Xml.Schema.XmlSchema DirectOutput.Cab.Toys.ToyList.GetSchema ( )

Method is required by the IXmlSerializable interface

Returns
Returns always null

Definition at line 87 of file ToyList.cs.

void DirectOutput.Cab.Toys.ToyList.Init ( Cabinet  Cabinet)

Initializes all IToy objects in the list

Parameters
CabinetCabinet object to which the IToy objects in the list belong.

Definition at line 94 of file ToyList.cs.

void DirectOutput.Cab.Toys.ToyList.ReadXml ( XmlReader  reader)

Deserializes the IToy objects in the XmlReader The IToy objects are deserialized using the object name in the enclosing tags. ReadXml is part of the IXmlSerializable interface.

Definition at line 40 of file ToyList.cs.

void DirectOutput.Cab.Toys.ToyList.Reset ( )

Resets all toys in the list.

Definition at line 106 of file ToyList.cs.

void DirectOutput.Cab.Toys.ToyList.UpdateOutputs ( )

Updates the outputs of all toys implementing the IToyUpdatable interface.

Definition at line 131 of file ToyList.cs.

void DirectOutput.Cab.Toys.ToyList.WriteXml ( XmlWriter  writer)

Serializes the IToy objects in this list to Xml. IEffect objects are serialized as the contained objects. The enclosing tags represent the object type WriteXml is part of the IXmlSerializable interface.

Definition at line 22 of file ToyList.cs.


The documentation for this class was generated from the following file: