#include <CCComponent.h>
Public Member Functions | |
| virtual | ~Component (void) |
| virtual bool | init () |
| virtual void | onEnter () |
| virtual void | onExit () |
| virtual void | update (float delta) |
| virtual bool | serialize (void *r) |
| virtual bool | isEnabled () const |
| virtual void | setEnabled (bool b) |
| const std::string & | getName () const |
| void | setName (const std::string &name) |
| void | setOwner (Node *pOwner) |
| Node * | getOwner () const |
Public Member Functions inherited from Ref | |
| void | retain () |
| Retains the ownership. More... | |
| void | release () |
| Release the ownership immediately. More... | |
| local | release () |
| Release the ownership immediately. More... | |
| Ref * | autorelease () |
| Release 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 Component * | create (void) |
Protected Member Functions | |
| Component (void) | |
Protected Member Functions inherited from Ref | |
| Ref () | |
| Constructor. More... | |
| Ref () | |
| Constructor. More... | |
Protected Attributes | |
| Node * | _owner |
| std::string | _name |
| bool | _enabled |
| ccScriptType | _scriptType |
| type of script binding, lua or javascript More... | |
Protected Attributes inherited from Ref | |
| unsigned int | _referenceCount |
| count of references More... | |
|
protected |
|
virtual |
|
static |
| const std::string& getName | ( | ) | const |
| Node* getOwner | ( | ) | const |
|
virtual |
Reimplemented in ComController, ComAttribute, and ComAudio.
|
virtual |
Reimplemented in ComController, and ComAudio.
|
virtual |
Reimplemented in ComController, ComAudio, and ComRender.
|
virtual |
Reimplemented in ComController, ComAudio, and ComRender.
|
virtual |
Reimplemented in ComAudio, ComRender, and ComAttribute.
|
virtual |
Reimplemented in ComController, and ComAudio.
| void setName | ( | const std::string & | name) |
| void setOwner | ( | Node * | pOwner) |
|
virtual |
Reimplemented in ComController.
|
protected |
|
protected |
|
protected |
|
protected |
type of script binding, lua or javascript