cocos2d-x  3.3
 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
 NA NA More...
 
virtual void onExit () override
 NA NA More...
 
virtual bool serialize (void *r) override
 
virtual cocos2d::NodegetNode ()
 
virtual void setNode (cocos2d::Node *node)
 
- Public Member Functions inherited from Component
virtual ~Component (void)
 NA NA More...
 
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 ()
 NA NA More...
 

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)
 ctor More...
 
 ComRender (cocos2d::Node *node, const char *comName)
 
virtual ~ComRender (void)
 NA NA More...
 
- 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

ctor

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

NA NA

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

NA NA

Reimplemented from Component.

virtual void onExit ( )
overridevirtual

NA NA

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: