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

#include <MyGUI_SharedLayer.h>

+ Inheritance diagram for MyGUI::SharedLayer:

Public Types

typedef RTTIBase Base
 
typedef SharedLayer RTTIBase
 
- Public Types inherited from MyGUI::ILayer
typedef RTTIBase Base
 
typedef ILayer RTTIBase
 
- Public Types inherited from MyGUI::ISerializable
typedef RTTIBase Base
 
typedef ISerializable 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
 
 SharedLayer ()
 
virtual ~SharedLayer ()
 
virtual void deserialization (xml::ElementPtr _node, Version _version)
 
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 ILayerItemgetLayerItemByPoint (int _left, int _top) const
 
virtual IntPoint getPosition (int _left, int _top) const
 
virtual const IntSizegetSize () const
 
virtual void renderToTarget (IRenderTarget *_target, bool _update)
 
virtual void resizeView (const IntSize &_viewSize)
 
bool isOutOfDate () const
 
- Public Member Functions inherited from MyGUI::ILayer
template<typename Type >
bool isType () const
 
 ILayer ()
 
virtual ~ILayer ()
 
const std::string & getName () const
 
- Public Member Functions inherited from MyGUI::ISerializable
template<typename Type >
bool isType () const
 
 ISerializable ()
 
virtual ~ISerializable ()
 
virtual void serialization (xml::ElementPtr _node, Version _version)
 
- 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::ILayer
static const std::string & getClassTypeName ()
 
- Static Public Member Functions inherited from MyGUI::ISerializable
static const std::string & getClassTypeName ()
 
- Static Public Member Functions inherited from MyGUI::IObject
static const std::string & getClassTypeName ()
 

Protected Attributes

bool mIsPick
 
SharedLayerNodemChildItem
 
bool mOutOfDate
 
IntSize mViewSize
 
- Protected Attributes inherited from MyGUI::ILayer
std::string mName
 

Detailed Description

Definition at line 18 of file MyGUI_SharedLayer.h.

Member Typedef Documentation

Definition at line 21 of file MyGUI_SharedLayer.h.

Definition at line 21 of file MyGUI_SharedLayer.h.

Constructor & Destructor Documentation

MyGUI::SharedLayer::SharedLayer ( )

Definition at line 16 of file MyGUI_SharedLayer.cpp.

MyGUI::SharedLayer::~SharedLayer ( )
virtual

Definition at line 24 of file MyGUI_SharedLayer.cpp.

Member Function Documentation

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

Implements MyGUI::ILayer.

Definition at line 53 of file MyGUI_SharedLayer.cpp.

void MyGUI::SharedLayer::deserialization ( xml::ElementPtr  _node,
Version  _version 
)
virtual

Reimplemented from MyGUI::ISerializable.

Definition at line 29 of file MyGUI_SharedLayer.cpp.

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

Implements MyGUI::ILayer.

Definition at line 65 of file MyGUI_SharedLayer.cpp.

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

Definition at line 21 of file MyGUI_SharedLayer.h.

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

Implements MyGUI::ILayer.

Definition at line 129 of file MyGUI_SharedLayer.cpp.

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

Implements MyGUI::ILayer.

Definition at line 94 of file MyGUI_SharedLayer.cpp.

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

Implements MyGUI::ILayer.

Definition at line 152 of file MyGUI_SharedLayer.cpp.

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

Implements MyGUI::ILayer.

Definition at line 147 of file MyGUI_SharedLayer.cpp.

IntPoint MyGUI::SharedLayer::getPosition ( int  _left,
int  _top 
) const
virtual

Implements MyGUI::ILayer.

Definition at line 108 of file MyGUI_SharedLayer.cpp.

const IntSize & MyGUI::SharedLayer::getSize ( ) const
virtual

Implements MyGUI::ILayer.

Definition at line 160 of file MyGUI_SharedLayer.cpp.

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

Get type name as string

Reimplemented from MyGUI::ILayer.

Definition at line 21 of file MyGUI_SharedLayer.h.

bool MyGUI::SharedLayer::isOutOfDate ( ) const

Definition at line 165 of file MyGUI_SharedLayer.cpp.

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

Compare with selected type

Reimplemented from MyGUI::ILayer.

Definition at line 21 of file MyGUI_SharedLayer.h.

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

Compare with selected type

Definition at line 21 of file MyGUI_SharedLayer.h.

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

Implements MyGUI::ILayer.

Definition at line 113 of file MyGUI_SharedLayer.cpp.

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

Implements MyGUI::ILayer.

Definition at line 121 of file MyGUI_SharedLayer.cpp.

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

Implements MyGUI::ILayer.

Definition at line 84 of file MyGUI_SharedLayer.cpp.

Field Documentation

SharedLayerNode* MyGUI::SharedLayer::mChildItem
protected

Definition at line 60 of file MyGUI_SharedLayer.h.

bool MyGUI::SharedLayer::mIsPick
protected

Definition at line 59 of file MyGUI_SharedLayer.h.

bool MyGUI::SharedLayer::mOutOfDate
protected

Definition at line 61 of file MyGUI_SharedLayer.h.

IntSize MyGUI::SharedLayer::mViewSize
protected

Definition at line 62 of file MyGUI_SharedLayer.h.


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