![]() |
Paradox Game Engine
v1.0.0 beta06
|
Base class for a framework component. More...
Public Member Functions | |
void | Dispose () |
override string | ToString () |
Public Attributes | |
PropertyContainer | Tags |
Gets the attached properties to this component. More... | |
Protected Member Functions | |
ComponentBase () | |
Initializes a new instance of the ComponentBase class. More... | |
ComponentBase (string name) | |
Initializes a new instance of the ComponentBase class. More... | |
virtual void | OnNameChanged () |
Called when Name property was changed. More... | |
virtual void | Destroy () |
Disposes of object resources. More... | |
Properties | |
long | Id [get, set] |
string | Name [get, set] |
Gets or sets the name of this component. More... | |
bool | IsDisposed [get, set] |
Has the component been disposed or not yet. More... | |
![]() | |
long | Id [get] |
Gets the id of this component. More... | |
string | Name [get] |
Gets the name of this component. More... | |
![]() | |
int | ReferenceCount [get] |
Gets the reference count of this instance. More... | |
![]() | |
ObjectCollector | Collector [get] |
Gets the collector. More... | |
Base class for a framework component.
Definition at line 12 of file ComponentBase.cs.
|
protected |
Initializes a new instance of the ComponentBase class.
Definition at line 22 of file ComponentBase.cs.
|
protected |
Initializes a new instance of the ComponentBase class.
name | The name attached to this component |
Definition at line 31 of file ComponentBase.cs.
References SiliconStudio.Core.Diagnostics.ComponentTracker.Enable.
|
protectedvirtual |
Disposes of object resources.
Reimplemented in SiliconStudio.Paradox.Games.GameBase, SiliconStudio.Paradox.Games.GraphicsDeviceManager, SiliconStudio.Paradox.Audio.AudioEngine, SiliconStudio.Paradox.Audio.SoundEffect, SiliconStudio.Paradox.Effects.Images.ImageEffectContext, SiliconStudio.Paradox.Game, SiliconStudio.Paradox.Graphics.Texture, SiliconStudio.Paradox.UI.UISystem, SiliconStudio.Paradox.Graphics.SpriteFont, SiliconStudio.Paradox.ScriptContext, SiliconStudio.Paradox.Graphics.GraphicsDevice, SiliconStudio.Paradox.Engine.AudioSystem, SiliconStudio.Paradox.Graphics.GraphicsResourceBase, SiliconStudio.Paradox.Graphics.VertexArrayObject, SiliconStudio.Paradox.Graphics.RasterizerState, SiliconStudio.Paradox.Graphics.RenderTarget, SiliconStudio.Paradox.Graphics.BlendState, SiliconStudio.Paradox.Graphics.SamplerState, SiliconStudio.Paradox.Audio.SoundInstanceBase, SiliconStudio.Paradox.Graphics.DepthStencilBuffer, and SiliconStudio.Paradox.Physics.Bullet2PhysicsSystem.
Definition at line 122 of file ComponentBase.cs.
References SiliconStudio.Core.Diagnostics.ComponentTracker.Enable.
void SiliconStudio.Core.ComponentBase.Dispose | ( | ) |
Definition at line 104 of file ComponentBase.cs.
References SiliconStudio.Core.Diagnostics.Destroy.
|
protectedvirtual |
Called when Name property was changed.
Definition at line 71 of file ComponentBase.cs.
override string SiliconStudio.Core.ComponentBase.ToString | ( | ) |
Definition at line 139 of file ComponentBase.cs.
PropertyContainer SiliconStudio.Core.ComponentBase.Tags |
Gets the attached properties to this component.
Definition at line 147 of file ComponentBase.cs.
Referenced by SiliconStudio.Paradox.Effects.Modules.Renderers.LightingGroupInfo.GetOrCreate().
|
getset |
Definition at line 42 of file ComponentBase.cs.
|
getset |
Has the component been disposed or not yet.
Definition at line 117 of file ComponentBase.cs.
Referenced by SiliconStudio.Paradox.Audio.SoundMusic.Load(), and SiliconStudio.Paradox.Audio.SoundEffect.Load().
|
getset |
Gets or sets the name of this component.
The name.
Definition at line 54 of file ComponentBase.cs.
Referenced by SiliconStudio.Paradox.Effects.RenderSystem.Draw().