MyGUI  3.2.1
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
MyGUI::LayerNode Class Reference

#include <MyGUI_LayerNode.h>

+ Inheritance diagram for MyGUI::LayerNode:

Public Types

typedef RTTIBase Base
 
typedef LayerNode RTTIBase
 
- Public Types inherited from MyGUI::ILayerNode
typedef RTTIBase Base
 
typedef ILayerNode RTTIBase
 
- Public Types inherited from MyGUI::IObject
typedef IObject RTTIBase
 

Public Member Functions

virtual const std::string & getTypeName () const
 
virtual bool isType (const std::type_info &_type) const
 
template<typename Type >
bool isType () const
 
 LayerNode (ILayer *_layer, ILayerNode *_parent=0)
 
virtual ~LayerNode ()
 
virtual ILayergetLayer () const
 
virtual ILayerNodegetParent () const
 
virtual ILayerNodecreateChildItemNode ()
 
virtual void destroyChildItemNode (ILayerNode *_node)
 
virtual void upChildItemNode (ILayerNode *_node)
 
virtual EnumeratorILayerNode getEnumerator () const
 
virtual size_t getLayerNodeCount () const
 
virtual ILayerNodegetLayerNodeAt (size_t _index) const
 
virtual void attachLayerItem (ILayerItem *_item)
 
virtual void detachLayerItem (ILayerItem *_item)
 
virtual RenderItemaddToRenderItem (ITexture *_texture, bool _firstQueue, bool _manualRender)
 
virtual void outOfDate (RenderItem *_item)
 
virtual ILayerItemgetLayerItemByPoint (int _left, int _top) const
 
virtual void renderToTarget (IRenderTarget *_target, bool _update)
 
virtual void resizeView (const IntSize &_viewSize)
 
virtual float getNodeDepth ()
 
bool isOutOfDate () const
 
- Public Member Functions inherited from MyGUI::ILayerNode
template<typename Type >
bool isType () const
 
virtual ~ILayerNode ()
 
- Public Member Functions inherited from MyGUI::IObject
template<typename Type >
bool isType () const
 
template<typename Type >
Type * castType (bool _throw=true)
 
template<typename Type >
const Type * castType (bool _throw=true) const
 
 IObject ()
 
virtual ~IObject ()
 

Static Public Member Functions

static const std::string & getClassTypeName ()
 
- Static Public Member Functions inherited from MyGUI::ILayerNode
static const std::string & getClassTypeName ()
 
- Static Public Member Functions inherited from MyGUI::IObject
static const std::string & getClassTypeName ()
 

Protected Member Functions

void updateCompression ()
 

Protected Attributes

VectorRenderItem mFirstRenderItems
 
VectorRenderItem mSecondRenderItems
 
VectorLayerItem mLayerItems
 
VectorILayerNode mChildItems
 
ILayerNodemParent
 
ILayermLayer
 
bool mOutOfDate
 
float mDepth
 

Detailed Description

Definition at line 22 of file MyGUI_LayerNode.h.

Member Typedef Documentation

Definition at line 25 of file MyGUI_LayerNode.h.

Definition at line 25 of file MyGUI_LayerNode.h.

Constructor & Destructor Documentation

MyGUI::LayerNode::LayerNode ( ILayer _layer,
ILayerNode _parent = 0 
)
explicit

Definition at line 17 of file MyGUI_LayerNode.cpp.

MyGUI::LayerNode::~LayerNode ( )
virtual

Definition at line 25 of file MyGUI_LayerNode.cpp.

Member Function Documentation

RenderItem * MyGUI::LayerNode::addToRenderItem ( ITexture _texture,
bool  _firstQueue,
bool  _manualRender 
)
virtual

Implements MyGUI::ILayerNode.

Definition at line 144 of file MyGUI_LayerNode.cpp.

void MyGUI::LayerNode::attachLayerItem ( ILayerItem _item)
virtual

Implements MyGUI::ILayerNode.

Definition at line 242 of file MyGUI_LayerNode.cpp.

ILayerNode * MyGUI::LayerNode::createChildItemNode ( )
virtual

Implements MyGUI::ILayerNode.

Definition at line 40 of file MyGUI_LayerNode.cpp.

void MyGUI::LayerNode::destroyChildItemNode ( ILayerNode _node)
virtual

Implements MyGUI::ILayerNode.

Definition at line 50 of file MyGUI_LayerNode.cpp.

void MyGUI::LayerNode::detachLayerItem ( ILayerItem _item)
virtual

Implements MyGUI::ILayerNode.

Definition at line 250 of file MyGUI_LayerNode.cpp.

static const std::string& MyGUI::LayerNode::getClassTypeName ( )
inlinestatic

Definition at line 25 of file MyGUI_LayerNode.h.

EnumeratorILayerNode MyGUI::LayerNode::getEnumerator ( ) const
virtual

Implements MyGUI::ILayerNode.

Definition at line 273 of file MyGUI_LayerNode.cpp.

ILayer * MyGUI::LayerNode::getLayer ( ) const
virtual

Implements MyGUI::ILayerNode.

Definition at line 312 of file MyGUI_LayerNode.cpp.

ILayerItem * MyGUI::LayerNode::getLayerItemByPoint ( int  _left,
int  _top 
) const
virtual

Implements MyGUI::ILayerNode.

Definition at line 124 of file MyGUI_LayerNode.cpp.

ILayerNode * MyGUI::LayerNode::getLayerNodeAt ( size_t  _index) const
virtual

Implements MyGUI::ILayerNode.

Definition at line 283 of file MyGUI_LayerNode.cpp.

size_t MyGUI::LayerNode::getLayerNodeCount ( ) const
virtual

Implements MyGUI::ILayerNode.

Definition at line 278 of file MyGUI_LayerNode.cpp.

float MyGUI::LayerNode::getNodeDepth ( )
virtual

Implements MyGUI::ILayerNode.

Definition at line 345 of file MyGUI_LayerNode.cpp.

ILayerNode * MyGUI::LayerNode::getParent ( ) const
virtual

Implements MyGUI::ILayerNode.

Definition at line 317 of file MyGUI_LayerNode.cpp.

virtual const std::string& MyGUI::LayerNode::getTypeName ( ) const
inlinevirtual

Get type name as string

Reimplemented from MyGUI::ILayerNode.

Reimplemented in MyGUI::SharedLayerNode.

Definition at line 25 of file MyGUI_LayerNode.h.

bool MyGUI::LayerNode::isOutOfDate ( ) const

Definition at line 322 of file MyGUI_LayerNode.cpp.

template<typename Type >
bool MyGUI::LayerNode::isType ( ) const
inline

Compare with selected type

Definition at line 25 of file MyGUI_LayerNode.h.

virtual bool MyGUI::LayerNode::isType ( const std::type_info &  _type) const
inlinevirtual

Compare with selected type

Reimplemented from MyGUI::ILayerNode.

Reimplemented in MyGUI::SharedLayerNode.

Definition at line 25 of file MyGUI_LayerNode.h.

void MyGUI::LayerNode::outOfDate ( RenderItem _item)
virtual

Implements MyGUI::ILayerNode.

Definition at line 266 of file MyGUI_LayerNode.cpp.

void MyGUI::LayerNode::renderToTarget ( IRenderTarget _target,
bool  _update 
)
virtual

Implements MyGUI::ILayerNode.

Definition at line 84 of file MyGUI_LayerNode.cpp.

void MyGUI::LayerNode::resizeView ( const IntSize _viewSize)
virtual

Implements MyGUI::ILayerNode.

Definition at line 116 of file MyGUI_LayerNode.cpp.

void MyGUI::LayerNode::upChildItemNode ( ILayerNode _node)
virtual

Implements MyGUI::ILayerNode.

Definition at line 67 of file MyGUI_LayerNode.cpp.

void MyGUI::LayerNode::updateCompression ( )
protected

Definition at line 290 of file MyGUI_LayerNode.cpp.

Field Documentation

VectorILayerNode MyGUI::LayerNode::mChildItems
protected

Definition at line 87 of file MyGUI_LayerNode.h.

float MyGUI::LayerNode::mDepth
protected

Definition at line 92 of file MyGUI_LayerNode.h.

VectorRenderItem MyGUI::LayerNode::mFirstRenderItems
protected

Definition at line 79 of file MyGUI_LayerNode.h.

ILayer* MyGUI::LayerNode::mLayer
protected

Definition at line 90 of file MyGUI_LayerNode.h.

VectorLayerItem MyGUI::LayerNode::mLayerItems
protected

Definition at line 84 of file MyGUI_LayerNode.h.

bool MyGUI::LayerNode::mOutOfDate
protected

Definition at line 91 of file MyGUI_LayerNode.h.

ILayerNode* MyGUI::LayerNode::mParent
protected

Definition at line 89 of file MyGUI_LayerNode.h.

VectorRenderItem MyGUI::LayerNode::mSecondRenderItems
protected

Definition at line 80 of file MyGUI_LayerNode.h.


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