Lumino
ln::RefObject Class Reference

参照カウントを持つオブジェクトのベースクラスです。 More...

#include <RefObject.hpp>

Inheritance diagram for ln::RefObject:
ln::BinaryReader ln::BinaryWriter ln::ByteBuffer ln::CommandLineCommandBase ln::CommandLineOption ln::CommandLinePositionalArgument ln::JsonDocument ln::JsonElement ln::Process ln::ReadOnlyList< TItem > ln::Stream ln::TextEncoding ln::TextReader ln::TextWriter ln::ReadOnlyList< AnimationTrackInstance > ln::ReadOnlyList< BindingSlot > ln::ReadOnlyList< CellDefinition > ln::ReadOnlyList< Char > ln::ReadOnlyList< DialogButton > ln::ReadOnlyList< Geometry > ln::ReadOnlyList< GridDefinitionData > ln::ReadOnlyList< Group > ln::ReadOnlyList< INotifyCollectionChangedHandler * > ln::ReadOnlyList< int > ln::ReadOnlyList< IWorldRenderingElement * > ln::ReadOnlyList< ln::AnimationKeyFrame > ln::ReadOnlyList< ln::ByteBuffer > ln::ReadOnlyList< ln::JsonElement * > ln::ReadOnlyList< ln::Matrix > ln::ReadOnlyList< ln::Ref< AssetModel > > ln::ReadOnlyList< ln::Ref< AutoTileset > > ln::ReadOnlyList< ln::Ref< DiagnosticsItem > > ln::ReadOnlyList< ln::Ref< EffectEmitter > > ln::ReadOnlyList< ln::Ref< FileSystemNode > > ln::ReadOnlyList< ln::Ref< Joint2D > > ln::ReadOnlyList< ln::Ref< ln::AnimationLayer > > ln::ReadOnlyList< ln::Ref< ln::AnimationState > > ln::ReadOnlyList< ln::Ref< ln::AnimationTrack > > ln::ReadOnlyList< ln::Ref< ln::AudioNode > > ln::ReadOnlyList< ln::Ref< ln::CommandLineCommand > > ln::ReadOnlyList< ln::Ref< ln::CommandLineOption > > ln::ReadOnlyList< ln::Ref< ln::CommandLinePositionalArgument > > ln::ReadOnlyList< ln::Ref< ln::InputGesture > > ln::ReadOnlyList< ln::Ref< ln::InterpreterCommand > > ln::ReadOnlyList< ln::Ref< ln::Joint > > ln::ReadOnlyList< ln::Ref< ln::Level > > ln::ReadOnlyList< ln::Ref< ln::Material > > ln::ReadOnlyList< ln::Ref< ln::MeshContainer > > ln::ReadOnlyList< ln::Ref< ln::MeshNode > > ln::ReadOnlyList< ln::Ref< ln::ParticleEmitterModel > > ln::ReadOnlyList< ln::Ref< ln::RenderView > > ln::ReadOnlyList< ln::Ref< ln::SamplerState > > ln::ReadOnlyList< ln::Ref< ln::Texture > > ln::ReadOnlyList< ln::Ref< ln::UIElement > > ln::ReadOnlyList< ln::Ref< ln::UIThumb > > ln::ReadOnlyList< ln::Ref< ln::UITreeItem2 > > ln::ReadOnlyList< ln::Ref< MeshBone > > ln::ReadOnlyList< ln::Ref< MeshBoneIK > > ln::ReadOnlyList< ln::Ref< MeshBoneIKChain > > ln::ReadOnlyList< ln::Ref< MeshPrimitive > > ln::ReadOnlyList< ln::Ref< MeshSkeleton > > ln::ReadOnlyList< ln::Ref< MeshTilemapLayer > > ln::ReadOnlyList< ln::Ref< MeshVoxelmapLayer > > ln::ReadOnlyList< ln::Ref< PhysicsObject > > ln::ReadOnlyList< ln::Ref< PhysicsObject2D > > ln::ReadOnlyList< ln::Ref< ProfilingItem > > ln::ReadOnlyList< ln::Ref< PropertyInfo > > ln::ReadOnlyList< ln::Ref< ShaderParameter2 > > ln::ReadOnlyList< ln::Ref< SpriteFrame > > ln::ReadOnlyList< ln::Ref< Task > > ln::ReadOnlyList< ln::Ref< TilemapLayer > > ln::ReadOnlyList< ln::Ref< UIAction > > ln::ReadOnlyList< ln::Ref< UIActiveTimer > > ln::ReadOnlyList< ln::Ref< UIAdorner > > ln::ReadOnlyList< ln::Ref< UICollectionItem > > ln::ReadOnlyList< ln::Ref< UICommand > > ln::ReadOnlyList< ln::Ref< UIStyleClass > > ln::ReadOnlyList< ln::Ref< UIStyleDecorator > > ln::ReadOnlyList< ln::Ref< UIStyleSheet > > ln::ReadOnlyList< ln::Ref< UITreeItem > > ln::ReadOnlyList< ln::Ref< UndoRedoCommand > > ln::ReadOnlyList< ln::Ref< ViewPropertyInfo > > ln::ReadOnlyList< ln::String > ln::ReadOnlyList< ln::UIElement * > ln::ReadOnlyList< ln::UIListItem * > ln::ReadOnlyList< ln::UITreeItem2 * > ln::ReadOnlyList< ln::VertexElement > ln::ReadOnlyList< ln::WeakRefPtr< AnimationClock > > ln::ReadOnlyList< ln::WorldObject * > ln::ReadOnlyList< Member > ln::ReadOnlyList< MeshBone * > ln::ReadOnlyList< MeshSection > ln::ReadOnlyList< MeshSection2 > ln::ReadOnlyList< OffscreenWorldRenderView * > ln::ReadOnlyList< PhysicsObject * > ln::ReadOnlyList< PhysicsObject2D * > ln::ReadOnlyList< PostEffect * > ln::ReadOnlyList< SamplerRegisterInfo > ln::ReadOnlyList< Section > ln::ReadOnlyList< std::shared_ptr< std::thread > > ln::ReadOnlyList< T > ln::ReadOnlyList< TextureRegisterInfo > ln::ReadOnlyList< Tile > ln::ReadOnlyList< UICollectionItem * > ln::ReadOnlyList< UIComboBoxItem * > ln::ReadOnlyList< UITreeItem * > ln::ReadOnlyList< UniformBufferRegisterInfo > ln::ReadOnlyList< UniformMemberInfo > ln::ReadOnlyList< VertexBufferAttribute > ln::ReadOnlyList< VertexBufferEntry > ln::ReadOnlyList< VisualStateSlot >

Protected Member Functions

virtual void finalize ()
 参照がなくなり、オブジェクトが削除されようとしているときに呼び出されます。実装コードでは仮想関数を呼び出すことができます。主にデストラクタの制限を回避するために使用します。
 

Detailed Description

参照カウントを持つオブジェクトのベースクラスです。

一般的なケースでは、ln::makeRef 関数によりインスタンスを作成し、RefObject 用のスマートポインタである Ref クラスを使用して参照を管理します。 参照を直接操作したい場合は RefObjectHelper クラスを使用します。


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