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