C# Class Axiom.Components.Paging.PageManager

Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Свойство Type Description
mCameraList List
mContentCollectionFactories IPageContentCollectionFactory>.Dictionary
mContentFactories IPageContentFactory>.Dictionary
mDebugDisplayLvl uint
mEventRouter EventRouter
mGrid2DPageStrategy Grid2PageStrategy
mPageProvider PageProvider
mPageResourceGroup string
mQueue PageRequestQueue
mSimpleCollectionFactory SimplePageContentCollectionFactory
mStrategies PageStrategy>.Dictionary
mWorldNameGenerator NameGenerator
mWorlds PageWorld>.Dictionary

Méthodes publiques

Méthode Description
AddCamera ( Camera c ) : void

AddContentCollectionFactory ( IPageContentCollectionFactory f ) : void

AddContentFactory ( IPageContentFactory f ) : void

AddStrategy ( Axiom.Components.Paging.PageStrategy strategy ) : void

AttachWorld ( PageWorld world ) : void

Attach a pre-created PagedWorld instance to this manager.

CreateContent ( string typeName ) : PageContent

CreateContentCollection ( string typeName ) : Axiom.Components.Paging.PageContentCollection

CreateWorld ( ) : PageWorld

CreateWorld ( string name ) : PageWorld

Create a new PagedWorld instance.

DestroyContent ( PageContent c ) : void

DestroyContentenCollection ( Axiom.Components.Paging.PageContentCollection coll ) : void

DestroyWorld ( PageWorld world ) : void

Destroy a world.

DestroyWorld ( string name ) : void

Destroy a world.

DetachWorld ( PageWorld world ) : void

Detach a PagedWorld instance from this manager (note: the caller then becomes responsible for the correct destruction of this instance)

GetContentCollectionFactory ( string name ) : IPageContentCollectionFactory

GetContentFactory ( string name ) : IPageContentFactory

GetStrategy ( string stratName ) : Axiom.Components.Paging.PageStrategy

GetWorld ( string name ) : PageWorld

HasCamera ( Camera c ) : bool

LoadProcedualPage ( Page page, PagedWorldSection section ) : bool

LoadWorld ( Stream stream ) : PageWorld

LoadWorld ( Stream stream, string name ) : PageWorld

LoadWorld ( string fileName ) : PageWorld

LoadWorld ( string fileName, string name ) : PageWorld

PageManager ( ) : System

The PageManager is the entry point through which you load all PagedWorld instances, and the place where PageStrategy instances and factory classes are registered to customise the paging behaviour.

PrepareProcedualPage ( Page page, PagedWorldSection section ) : bool

ReadPageStream ( PageID pageId, PagedWorldSection section ) : StreamSerializer

ReadWorldStream ( string fileName ) : StreamSerializer

RemoveCamera ( Camera c ) : void

RemoveContentCollectionFactory ( IPageContentCollectionFactory f ) : void

RemoveContentFactory ( IPageContentFactory f ) : void

RemoveStrategy ( Axiom.Components.Paging.PageStrategy strategy ) : void

SaveWorld ( PageWorld world, Stream stream ) : void

SaveWorld ( PageWorld world, string fileName ) : void

UnPrepareProcedualPage ( Page page, PagedWorldSection section ) : bool

UnloadProcedualPage ( Page page, PagedWorldSection section ) : bool

WritePageStream ( PageID pageId, PagedWorldSection section ) : StreamSerializer

WriteWorldStream ( string fileName ) : StreamSerializer

Méthodes protégées

Méthode Description
CreateStandardContentFactories ( ) : void

CreateStandardStrategies ( ) : void

Method Details

AddCamera() public méthode

public AddCamera ( Camera c ) : void
c Axiom.Core.Camera
Résultat void

AddContentCollectionFactory() public méthode

public AddContentCollectionFactory ( IPageContentCollectionFactory f ) : void
f IPageContentCollectionFactory
Résultat void

AddContentFactory() public méthode

public AddContentFactory ( IPageContentFactory f ) : void
f IPageContentFactory
Résultat void

AddStrategy() public méthode

public AddStrategy ( Axiom.Components.Paging.PageStrategy strategy ) : void
strategy Axiom.Components.Paging.PageStrategy
Résultat void

AttachWorld() public méthode

Attach a pre-created PagedWorld instance to this manager.
public AttachWorld ( PageWorld world ) : void
world PageWorld
Résultat void

CreateContent() public méthode

public CreateContent ( string typeName ) : PageContent
typeName string
Résultat PageContent

CreateContentCollection() public méthode

public CreateContentCollection ( string typeName ) : Axiom.Components.Paging.PageContentCollection
typeName string
Résultat Axiom.Components.Paging.PageContentCollection

CreateStandardContentFactories() protected méthode

protected CreateStandardContentFactories ( ) : void
Résultat void

CreateStandardStrategies() protected méthode

protected CreateStandardStrategies ( ) : void
Résultat void

CreateWorld() public méthode

public CreateWorld ( ) : PageWorld
Résultat PageWorld

CreateWorld() public méthode

Create a new PagedWorld instance.
public CreateWorld ( string name ) : PageWorld
name string name Optionally give a name to the world (if no name is given, one /// will be generated).
Résultat PageWorld

DestroyContent() public méthode

public DestroyContent ( PageContent c ) : void
c PageContent
Résultat void

DestroyContentenCollection() public méthode

public DestroyContentenCollection ( Axiom.Components.Paging.PageContentCollection coll ) : void
coll Axiom.Components.Paging.PageContentCollection
Résultat void

DestroyWorld() public méthode

Destroy a world.
public DestroyWorld ( PageWorld world ) : void
world PageWorld
Résultat void

DestroyWorld() public méthode

Destroy a world.
public DestroyWorld ( string name ) : void
name string
Résultat void

DetachWorld() public méthode

Detach a PagedWorld instance from this manager (note: the caller then becomes responsible for the correct destruction of this instance)
public DetachWorld ( PageWorld world ) : void
world PageWorld
Résultat void

GetContentCollectionFactory() public méthode

public GetContentCollectionFactory ( string name ) : IPageContentCollectionFactory
name string
Résultat IPageContentCollectionFactory

GetContentFactory() public méthode

public GetContentFactory ( string name ) : IPageContentFactory
name string
Résultat IPageContentFactory

GetStrategy() public méthode

public GetStrategy ( string stratName ) : Axiom.Components.Paging.PageStrategy
stratName string
Résultat Axiom.Components.Paging.PageStrategy

GetWorld() public méthode

public GetWorld ( string name ) : PageWorld
name string
Résultat PageWorld

HasCamera() public méthode

public HasCamera ( Camera c ) : bool
c Axiom.Core.Camera
Résultat bool

LoadProcedualPage() public méthode

public LoadProcedualPage ( Page page, PagedWorldSection section ) : bool
page Page
section PagedWorldSection
Résultat bool

LoadWorld() public méthode

public LoadWorld ( Stream stream ) : PageWorld
stream Stream
Résultat PageWorld

LoadWorld() public méthode

public LoadWorld ( Stream stream, string name ) : PageWorld
stream Stream
name string
Résultat PageWorld

LoadWorld() public méthode

public LoadWorld ( string fileName ) : PageWorld
fileName string
Résultat PageWorld

LoadWorld() public méthode

public LoadWorld ( string fileName, string name ) : PageWorld
fileName string
name string
Résultat PageWorld

PageManager() public méthode

The PageManager is the entry point through which you load all PagedWorld instances, and the place where PageStrategy instances and factory classes are registered to customise the paging behaviour.
public PageManager ( ) : System
Résultat System

PrepareProcedualPage() public méthode

public PrepareProcedualPage ( Page page, PagedWorldSection section ) : bool
page Page
section PagedWorldSection
Résultat bool

ReadPageStream() public méthode

public ReadPageStream ( PageID pageId, PagedWorldSection section ) : StreamSerializer
pageId PageID
section PagedWorldSection
Résultat Axiom.Serialization.StreamSerializer

ReadWorldStream() public méthode

public ReadWorldStream ( string fileName ) : StreamSerializer
fileName string
Résultat Axiom.Serialization.StreamSerializer

RemoveCamera() public méthode

public RemoveCamera ( Camera c ) : void
c Axiom.Core.Camera
Résultat void

RemoveContentCollectionFactory() public méthode

public RemoveContentCollectionFactory ( IPageContentCollectionFactory f ) : void
f IPageContentCollectionFactory
Résultat void

RemoveContentFactory() public méthode

public RemoveContentFactory ( IPageContentFactory f ) : void
f IPageContentFactory
Résultat void

RemoveStrategy() public méthode

public RemoveStrategy ( Axiom.Components.Paging.PageStrategy strategy ) : void
strategy Axiom.Components.Paging.PageStrategy
Résultat void

SaveWorld() public méthode

public SaveWorld ( PageWorld world, Stream stream ) : void
world PageWorld
stream Stream
Résultat void

SaveWorld() public méthode

public SaveWorld ( PageWorld world, string fileName ) : void
world PageWorld
fileName string
Résultat void

UnPrepareProcedualPage() public méthode

public UnPrepareProcedualPage ( Page page, PagedWorldSection section ) : bool
page Page
section PagedWorldSection
Résultat bool

UnloadProcedualPage() public méthode

public UnloadProcedualPage ( Page page, PagedWorldSection section ) : bool
page Page
section PagedWorldSection
Résultat bool

WritePageStream() public méthode

public WritePageStream ( PageID pageId, PagedWorldSection section ) : StreamSerializer
pageId PageID
section PagedWorldSection
Résultat Axiom.Serialization.StreamSerializer

WriteWorldStream() public méthode

public WriteWorldStream ( string fileName ) : StreamSerializer
fileName string
Résultat Axiom.Serialization.StreamSerializer

Property Details

mCameraList protected_oe property

protected List mCameraList
Résultat List

mContentCollectionFactories protected_oe property

protected Dictionary mContentCollectionFactories
Résultat IPageContentCollectionFactory>.Dictionary

mContentFactories protected_oe property

protected Dictionary mContentFactories
Résultat IPageContentFactory>.Dictionary

mDebugDisplayLvl protected_oe property

protected uint mDebugDisplayLvl
Résultat uint

mEventRouter protected_oe property

protected EventRouter mEventRouter
Résultat EventRouter

mGrid2DPageStrategy protected_oe property

protected Grid2PageStrategy,Axiom.Components.Paging mGrid2DPageStrategy
Résultat Grid2PageStrategy

mPageProvider protected_oe property

protected PageProvider,Axiom.Components.Paging mPageProvider
Résultat PageProvider

mPageResourceGroup protected_oe property

protected string mPageResourceGroup
Résultat string

mQueue protected_oe property

protected PageRequestQueue,Axiom.Components.Paging mQueue
Résultat PageRequestQueue

mSimpleCollectionFactory protected_oe property

protected SimplePageContentCollectionFactory,Axiom.Components.Paging mSimpleCollectionFactory
Résultat SimplePageContentCollectionFactory

mStrategies protected_oe property

protected Dictionary mStrategies
Résultat PageStrategy>.Dictionary

mWorldNameGenerator protected_oe property

protected NameGenerator mWorldNameGenerator
Résultat NameGenerator

mWorlds protected_oe property

protected Dictionary mWorlds
Résultat PageWorld>.Dictionary