#include <CCPUDynamicAttribute.h>
Public Types | |
enum | DynamicAttributeType { DAT_FIXED, DAT_RANDOM, DAT_CURVED, DAT_OSCILLATE } |
Public Member Functions | |
PUDynamicAttribute (void) | |
Constructor. More... | |
virtual | ~PUDynamicAttribute (void) |
Destructor. More... | |
virtual float | getValue (float x=0)=0 |
Virtual function that needs to be implemented by its childs. More... | |
DynamicAttributeType | getType (void) const |
Todo. More... | |
void | setType (DynamicAttributeType type) |
Todo. More... | |
bool | isValueChangedExternally (void) const |
Returns true if one of the attributes was changed by an external source. More... | |
virtual void | copyAttributesTo (PUDynamicAttribute *dynamicAttribute)=0 |
local | copyAttributesTo ( local dynamicAttribute) |
virtual PUDynamicAttribute * | clone ()=0 |
var | clone () |
local | clone () |
Public Member Functions inherited from Ref | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Destructor. More... | |
Protected Attributes | |
DynamicAttributeType | _type |
bool | _valueChangedExternally |
Protected Attributes inherited from Ref | |
unsigned int | _referenceCount |
count of references More... | |
local | _referenceCount |
count of references More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Ref | |
Ref () | |
Constructor. More... | |
Ref () | |
Constructor. More... | |
enum DynamicAttributeType |
local DynamicAttributeType |
PUDynamicAttribute | ( | void | ) |
Constructor.
var PUDynamicAttribute | ( | ) |
Constructor.
local PUDynamicAttribute | ( | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Destructor.
|
virtual |
Destructor.
|
pure virtual |
Implemented in PUDynamicAttributeOscillate, PUDynamicAttributeCurved, PUDynamicAttributeRandom, and PUDynamicAttributeFixed.
|
pure virtual |
Implemented in PUDynamicAttributeOscillate, PUDynamicAttributeCurved, PUDynamicAttributeRandom, and PUDynamicAttributeFixed.
|
pure virtual |
Implemented in PUDynamicAttributeOscillate, PUDynamicAttributeCurved, PUDynamicAttributeRandom, and PUDynamicAttributeFixed.
|
pure virtual |
Implemented in PUDynamicAttributeOscillate, PUDynamicAttributeCurved, PUDynamicAttributeRandom, and PUDynamicAttributeFixed.
|
pure virtual |
Implemented in PUDynamicAttributeOscillate, PUDynamicAttributeCurved, PUDynamicAttributeRandom, and PUDynamicAttributeFixed.
|
pure virtual |
Implemented in PUDynamicAttributeOscillate, PUDynamicAttributeCurved, PUDynamicAttributeRandom, and PUDynamicAttributeFixed.
DynamicAttributeType getType | ( | void | ) | const |
Todo.
var getType | ( | ) |
Todo.
local getType | ( | ) |
Todo.
|
pure virtual |
Virtual function that needs to be implemented by its childs.
Implemented in PUDynamicAttributeOscillate, PUDynamicAttributeCurved, PUDynamicAttributeRandom, and PUDynamicAttributeFixed.
|
pure virtual |
Virtual function that needs to be implemented by its childs.
Implemented in PUDynamicAttributeOscillate, PUDynamicAttributeCurved, PUDynamicAttributeRandom, and PUDynamicAttributeFixed.
|
pure virtual |
Virtual function that needs to be implemented by its childs.
Implemented in PUDynamicAttributeOscillate, PUDynamicAttributeCurved, PUDynamicAttributeRandom, and PUDynamicAttributeFixed.
bool isValueChangedExternally | ( | void | ) | const |
Returns true if one of the attributes was changed by an external source.
var isValueChangedExternally | ( | ) |
Returns true if one of the attributes was changed by an external source.
local isValueChangedExternally | ( | ) |
Returns true if one of the attributes was changed by an external source.
void setType | ( | DynamicAttributeType | type | ) |
Todo.
var setType | ( | var | type | ) |
Todo.
local setType | ( | local | type | ) |
Todo.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |