cocos2d-x  3.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ComRender Class Reference

#include <CCComRender.h>

Inheritance diagram for ComRender:
Component Ref

Public Member Functions

virtual void onEnter () override
virtual void onExit () override
virtual bool serialize (void *r) override
virtual cocos2d::NodegetNode ()
virtual void setNode (cocos2d::Node *node)
- Public Member Functions inherited from Component
virtual ~Component (void)
virtual bool init ()
virtual void update (float delta)
virtual bool isEnabled () const
virtual void setEnabled (bool b)
const std::string & getName () const
void setName (const std::string &name)
void setOwner (Node *pOwner)
NodegetOwner () const
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()

Static Public Member Functions

static ComRendercreate (void)
static ComRendercreate (cocos2d::Node *node, const char *comName)
- Static Public Member Functions inherited from Component
static Componentcreate (void)

Protected Member Functions

 ComRender (void)
 ComRender (cocos2d::Node *node, const char *comName)
virtual ~ComRender (void)
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from Component
Node_owner
std::string _name
bool _enabled
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 

Constructor & Destructor Documentation

ComRender ( void  )
protected
ComRender ( cocos2d::Node node,
const char *  comName 
)
protected
virtual ~ComRender ( void  )
protectedvirtual

Member Function Documentation

static ComRender* create ( void  )
static
static ComRender* create ( cocos2d::Node node,
const char *  comName 
)
static
virtual cocos2d::Node* getNode ( )
virtual
virtual void onEnter ( )
overridevirtual

Reimplemented from Component.

virtual void onExit ( )
overridevirtual

Reimplemented from Component.

virtual bool serialize ( void *  r)
overridevirtual

Reimplemented from Component.

virtual void setNode ( cocos2d::Node node)
virtual

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