Dali 3D User Interface Engine
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions
anonymous_namespace{utc-Dali-TypeRegistry.cpp}::MyTestCustomActor2 Class Reference
Inheritance diagram for anonymous_namespace{utc-Dali-TypeRegistry.cpp}::MyTestCustomActor2:
Inheritance graph
[legend]
Collaboration diagram for anonymous_namespace{utc-Dali-TypeRegistry.cpp}::MyTestCustomActor2:
Collaboration graph
[legend]

Public Member Functions

 MyTestCustomActor2 ()
 
virtual ~MyTestCustomActor2 ()
 
- Public Member Functions inherited from Dali::CustomActor
 CustomActor ()
 Create an uninitialized CustomActor handle. More...
 
 ~CustomActor ()
 Destructor. More...
 
CustomActorImplGetImplementation ()
 Retrieve the custom actor implementation. More...
 
const CustomActorImplGetImplementation () const
 Retrieve the custom actor implementation. More...
 
 CustomActor (CustomActorImpl &implementation)
 Create an initialised CustomActor. More...
 
 CustomActor (const CustomActor &copy)
 Copy constructor. More...
 
CustomActoroperator= (const CustomActor &rhs)
 Assignment operator. More...
 
 CustomActor (Internal::CustomActor *actor)
 This constructor is used internally to create additional CustomActor handles. More...
 
- Public Member Functions inherited from Dali::Actor
 Actor ()
 Create an uninitialized Actor; this can be initialized with Actor::New(). More...
 
 ~Actor ()
 Dali::Actor is intended as a base class. More...
 
 Actor (const Actor &copy)
 Copy constructor. More...
 
Actoroperator= (const Actor &rhs)
 Assignment operator. More...
 
const std::string & GetName () const
 Retrieve the Actor's name. More...
 
void SetName (const std::string &name)
 Sets the Actor's name. More...
 
unsigned int GetId () const
 Retrieve the unique ID of the actor. More...
 
bool IsRoot () const
 Query whether an actor is the root actor, which is owned by the Stage. More...
 
bool OnStage () const
 Query whether the actor is connected to the Stage. More...
 
bool IsLayer () const
 Query whether the actor is of class Dali::Layer. More...
 
Layer GetLayer ()
 Gets the layer in which the actor is present. More...
 
void Add (Actor child)
 Adds a child Actor to this Actor. More...
 
void Remove (Actor child)
 Removes a child Actor from this Actor. More...
 
void Unparent ()
 Removes an actor from its parent. More...
 
unsigned int GetChildCount () const
 Retrieve the number of children held by the actor. More...
 
Actor GetChildAt (unsigned int index) const
 Retrieve and child actor by index. More...
 
Actor FindChildByName (const std::string &actorName)
 Search through this actor's hierarchy for an actor with the given name. More...
 
Actor FindChildById (const unsigned int id)
 Search through this actor's hierarchy for an actor with the given unique ID. More...
 
Actor GetParent () const
 Retrieve the actor's parent. More...
 
void SetParentOrigin (const Vector3 &origin)
 Set the origin of an actor, within its parent's area. More...
 
Vector3 GetCurrentParentOrigin () const
 Retrieve the parent-origin of an actor. More...
 
void SetAnchorPoint (const Vector3 &anchorPoint)
 Set the anchor-point of an actor. More...
 
Vector3 GetCurrentAnchorPoint () const
 Retrieve the anchor-point of an actor. More...
 
void SetSize (float width, float height)
 Sets the size of an actor. More...
 
void SetSize (float width, float height, float depth)
 Sets the size of an actor. More...
 
void SetSize (const Vector2 &size)
 Sets the size of an actor. More...
 
void SetSize (const Vector3 &size)
 Sets the size of an actor. More...
 
Vector3 GetTargetSize () const
 Retrieve the actor's size. More...
 
Vector3 GetCurrentSize () const
 Retrieve the actor's size. More...
 
Vector3 GetNaturalSize () const
 Return the natural size of the actor. More...
 
void SetPosition (float x, float y)
 Sets the position of the actor. More...
 
void SetPosition (float x, float y, float z)
 Sets the position of the Actor. More...
 
void SetPosition (const Vector3 &position)
 Sets the position of the Actor. More...
 
void SetX (float x)
 Set the position of an actor along the X-axis. More...
 
void SetY (float y)
 Set the position of an actor along the Y-axis. More...
 
void SetZ (float z)
 Set the position of an actor along the Z-axis. More...
 
void TranslateBy (const Vector3 &distance)
 Translate an actor relative to its existing position. More...
 
Vector3 GetCurrentPosition () const
 Retrieve the position of the Actor. More...
 
Vector3 GetCurrentWorldPosition () const
 Retrieve the world-position of the Actor. More...
 
void SetPositionInheritanceMode (PositionInheritanceMode mode)
 Set the actors position inheritance mode. More...
 
PositionInheritanceMode GetPositionInheritanceMode () const
 Returns the actors position inheritance mode. More...
 
void SetOrientation (const Degree &angle, const Vector3 &axis)
 Sets the orientation of the Actor. More...
 
void SetOrientation (const Radian &angle, const Vector3 &axis)
 Sets the orientation of the Actor. More...
 
void SetOrientation (const Quaternion &orientation)
 Sets the orientation of the Actor. More...
 
void RotateBy (const Degree &angle, const Vector3 &axis)
 Apply a relative rotation to an actor. More...
 
void RotateBy (const Radian &angle, const Vector3 &axis)
 Apply a relative rotation to an actor. More...
 
void RotateBy (const Quaternion &relativeRotation)
 Apply a relative rotation to an actor. More...
 
Quaternion GetCurrentOrientation () const
 Retreive the Actor's orientation. More...
 
void SetInheritOrientation (bool inherit)
 Set whether a child actor inherits it's parent's orientation. More...
 
bool IsOrientationInherited () const
 Returns whether the actor inherits its parent's orientation. More...
 
Quaternion GetCurrentWorldOrientation () const
 Retrieve the world-orientation of the Actor. More...
 
void SetScale (float scale)
 Set the scale factor applied to an actor. More...
 
void SetScale (float scaleX, float scaleY, float scaleZ)
 Set the scale factor applied to an actor. More...
 
void SetScale (const Vector3 &scale)
 Set the scale factor applied to an actor. More...
 
void ScaleBy (const Vector3 &relativeScale)
 Apply a relative scale to an actor. More...
 
Vector3 GetCurrentScale () const
 Retrieve the scale factor applied to an actor. More...
 
Vector3 GetCurrentWorldScale () const
 Retrieve the world-scale of the Actor. More...
 
void SetInheritScale (bool inherit)
 Set whether a child actor inherits it's parent's scale. More...
 
bool IsScaleInherited () const
 Returns whether the actor inherits its parent's scale. More...
 
Matrix GetCurrentWorldMatrix () const
 Retrieves the world-matrix of the actor. More...
 
void SetVisible (bool visible)
 Sets the visibility flag of an actor. More...
 
bool IsVisible () const
 Retrieve the visibility flag of an actor. More...
 
void SetOpacity (float opacity)
 Sets the opacity of an actor. More...
 
float GetCurrentOpacity () const
 Retrieve the actor's opacity. More...
 
void SetColor (const Vector4 &color)
 Sets the actor's color; this is an RGBA value. More...
 
Vector4 GetCurrentColor () const
 Retrieve the actor's color. More...
 
void SetColorMode (ColorMode colorMode)
 Sets the actor's color mode. More...
 
ColorMode GetColorMode () const
 Returns the actor's color mode. More...
 
Vector4 GetCurrentWorldColor () const
 Retrieve the world-color of the Actor, where each component is clamped within the 0->1 range. More...
 
void SetDrawMode (DrawMode::Type drawMode)
 Set how the actor and its children should be drawn. More...
 
DrawMode::Type GetDrawMode () const
 Query how the actor and its children will be drawn. More...
 
void SetSensitive (bool sensitive)
 Sets whether an actor should emit touch or hover signals; see SignalTouch() and SignalHover(). More...
 
bool IsSensitive () const
 Query whether an actor emits touch or hover event signals. More...
 
bool ScreenToLocal (float &localX, float &localY, float screenX, float screenY) const
 Converts screen coordinates into the actor's coordinate system using the default camera. More...
 
void SetLeaveRequired (bool required)
 Sets whether the actor should receive a notification when touch or hover motion events leave the boundary of the actor. More...
 
bool GetLeaveRequired () const
 This returns whether the actor requires touch or hover events whenever touch or hover motion events leave the boundary of the actor. More...
 
void SetKeyboardFocusable (bool focusable)
 Sets whether the actor should be focusable by keyboard navigation. More...
 
bool IsKeyboardFocusable () const
 Returns whether the actor is focusable by keyboard navigation. More...
 
void SetResizePolicy (ResizePolicy::Type policy, Dimension::Type dimension)
 Set the resize policy to be used for the given dimension(s). More...
 
ResizePolicy::Type GetResizePolicy (Dimension::Type dimension) const
 Return the resize policy used for a single dimension. More...
 
void SetSizeScalePolicy (SizeScalePolicy::Type policy)
 Set the policy to use when setting size with size negotiation. More...
 
SizeScalePolicy::Type GetSizeScalePolicy () const
 Return the size scale policy in use. More...
 
void SetSizeModeFactor (const Vector3 &factor)
 Sets the relative to parent size factor of the actor. More...
 
Vector3 GetSizeModeFactor () const
 Retrieve the relative to parent size factor of the actor. More...
 
float GetHeightForWidth (float width)
 Calculate the height of the actor given a width. More...
 
float GetWidthForHeight (float height)
 Calculate the width of the actor given a height. More...
 
float GetRelayoutSize (Dimension::Type dimension) const
 Return the value of negotiated dimension for the given dimension. More...
 
void SetPadding (const Padding &padding)
 Set the padding for use in layout. More...
 
void GetPadding (Padding &paddingOut) const
 Return the value of the padding. More...
 
void SetMinimumSize (const Vector2 &size)
 Set the minimum size an actor can be assigned in size negotiation. More...
 
Vector2 GetMinimumSize ()
 Return the minimum relayout size. More...
 
void SetMaximumSize (const Vector2 &size)
 Set the maximum size an actor can be assigned in size negotiation. More...
 
Vector2 GetMaximumSize ()
 Return the maximum relayout size. More...
 
int GetHierarchyDepth ()
 Get depth in the hierarchy for the actor. More...
 
unsigned int AddRenderer (Renderer &renderer)
 Add a renderer to this actor. More...
 
unsigned int GetRendererCount () const
 Get the number of renderers on this actor. More...
 
Renderer GetRendererAt (unsigned int index)
 Get a Renderer by index. More...
 
void RemoveRenderer (Renderer &renderer)
 Remove an renderer from the actor. More...
 
void RemoveRenderer (unsigned int index)
 Remove an renderer from the actor by index. More...
 
TouchSignalTypeTouchedSignal ()
 This signal is emitted when touch input is received. More...
 
HoverSignalTypeHoveredSignal ()
 This signal is emitted when hover input is received. More...
 
WheelEventSignalTypeWheelEventSignal ()
 This signal is emitted when wheel event is received. More...
 
OnStageSignalTypeOnStageSignal ()
 This signal is emitted after the actor has been connected to the stage. More...
 
OffStageSignalTypeOffStageSignal ()
 This signal is emitted after the actor has been disconnected from the stage. More...
 
OnRelayoutSignalTypeOnRelayoutSignal ()
 This signal is emitted after the size has been set on the actor during relayout. More...
 
DALI_INTERNAL Actor (Internal::Actor *actor)
 This constructor is used by Actor::New() methods. More...
 
- Public Member Functions inherited from Dali::Handle
 Handle (Dali::Internal::Object *handle)
 This constructor is used by Dali New() methods. More...
 
 Handle ()
 This constructor provides an uninitialized Dali::Handle. More...
 
 ~Handle ()
 Dali::Handle is intended as a base class. More...
 
 Handle (const Handle &handle)
 This copy constructor is required for (smart) pointer semantics. More...
 
Handleoperator= (const Handle &rhs)
 This assignment operator is required for (smart) pointer semantics. More...
 
bool Supports (Capability capability) const
 Query whether an handle supports a given capability. More...
 
unsigned int GetPropertyCount () const
 Query how many properties are provided by an handle. More...
 
std::string GetPropertyName (Property::Index index) const
 Query the name of a property. More...
 
Property::Index GetPropertyIndex (const std::string &name) const
 Query the index of a property. More...
 
bool IsPropertyWritable (Property::Index index) const
 Query whether a property can be set using SetProperty(). More...
 
bool IsPropertyAnimatable (Property::Index index) const
 Query whether a writable property can be the target of an animation or constraint. More...
 
bool IsPropertyAConstraintInput (Property::Index index) const
 Query whether a property can be used as in input to a constraint. More...
 
Property::Type GetPropertyType (Property::Index index) const
 Query the type of a property. More...
 
void SetProperty (Property::Index index, const Property::Value &propertyValue)
 Set the value of an existing property. More...
 
Property::Index RegisterProperty (const std::string &name, const Property::Value &propertyValue)
 Register a new animatable property. More...
 
Property::Index RegisterProperty (const std::string &name, const Property::Value &propertyValue, Property::AccessMode accessMode)
 Register a new property. More...
 
Property::Value GetProperty (Property::Index index) const
 Retrieve a property value. More...
 
template<typename T >
GetProperty (Property::Index index) const
 Convenience function for obtaining a property of a known type. More...
 
void GetPropertyIndices (Property::IndexContainer &indices) const
 Retrieve all the property indices for this object (including custom properties). More...
 
PropertyNotification AddPropertyNotification (Property::Index index, const PropertyCondition &condition)
 Add a property notification to this object. More...
 
PropertyNotification AddPropertyNotification (Property::Index index, int componentIndex, const PropertyCondition &condition)
 Add a property notification to this object. More...
 
void RemovePropertyNotification (Dali::PropertyNotification propertyNotification)
 Remove a property notification from this object. More...
 
void RemovePropertyNotifications ()
 Remove all property notifications from this object. More...
 
void RemoveConstraints ()
 Remove all constraints from an Object. More...
 
void RemoveConstraints (unsigned int tag)
 Remove all the constraint from the Object with a matching tag. More...
 
- Public Member Functions inherited from Dali::BaseHandle
 BaseHandle (Dali::BaseObject *handle)
 This constructor is used by Dali New() methods. More...
 
 BaseHandle ()
 This constructor provides an uninitialized Dali::BaseHandle. More...
 
 ~BaseHandle ()
 Dali::BaseHandle is intended as a base class. More...
 
 BaseHandle (const BaseHandle &handle)
 This copy constructor is required for (smart) pointer semantics. More...
 
BaseHandleoperator= (const BaseHandle &rhs)
 This assignment operator is required for (smart) pointer semantics. More...
 
template<class T >
bool ConnectSignal (ConnectionTrackerInterface *connectionTracker, const std::string &signalName, const T &functor)
 Connects a void() functor to a specified signal. More...
 
bool DoAction (const std::string &actionName, const Property::Map &attributes)
 Perform action on this object with the given action name and attributes. More...
 
const std::string & GetTypeName () const
 Returns the type name for the Handle. More...
 
bool GetTypeInfo (Dali::TypeInfo &info) const
 Returns the type info for the Handle. More...
 
BaseObjectGetBaseObject ()
 Retrieve the internal Dali resource. More...
 
const BaseObjectGetBaseObject () const
 Retrieve the internal Dali resource. More...
 
void Reset ()
 Resets the handle. More...
 
 operator BooleanType () const
 Converts an handle to a BooleanType. More...
 
bool operator== (const BaseHandle &rhs) const
 Equality operator overload. More...
 
bool operator!= (const BaseHandle &rhs) const
 Inequality operator overload. More...
 
Dali::RefObjectGetObjectPtr () const
 Get the reference counted object pointer. More...
 

Static Public Member Functions

static MyTestCustomActor2 New ()
 
static MyTestCustomActor2 DownCast (BaseHandle handle)
 
- Static Public Member Functions inherited from Dali::CustomActor
static CustomActor DownCast (BaseHandle handle)
 Downcast a handle to CustomActor handle. More...
 
- Static Public Member Functions inherited from Dali::Actor
static Actor New ()
 Create an initialized Actor. More...
 
static Actor DownCast (BaseHandle handle)
 Downcast a handle to Actor handle. More...
 
- Static Public Member Functions inherited from Dali::Handle
static Handle New ()
 Create a new object. More...
 
static Handle DownCast (BaseHandle handle)
 Downcast to a handle. More...
 

Private Member Functions

 MyTestCustomActor2 (Internal::CustomActor *internal)
 
 MyTestCustomActor2 (Impl::MyTestCustomActor &impl)
 

Additional Inherited Members

- Public Types inherited from Dali::Actor
typedef Signal< bool(Actor,
const TouchEvent &)> 
TouchSignalType
 Touch signal type .0. More...
 
typedef Signal< bool(Actor,
const HoverEvent &)> 
HoverSignalType
 Hover signal type .0. More...
 
typedef Signal< bool(Actor,
const WheelEvent &) > 
WheelEventSignalType
 Wheel signal type .0. More...
 
typedef Signal< void(Actor) > OnStageSignalType
 Stage connection signal type .0. More...
 
typedef Signal< void(Actor) > OffStageSignalType
 Stage disconnection signal type .0. More...
 
typedef Signal< void(Actor) > OnRelayoutSignalType
 Called when the actor is relaid out .0. More...
 
- Protected Member Functions inherited from Dali::BaseHandle
void ThisIsSaferThanReturningVoidStar () const
 Used by the safe bool idiom. More...
 

Detailed Description

Definition at line 355 of file utc-Dali-TypeRegistry.cpp.

Constructor & Destructor Documentation

anonymous_namespace{utc-Dali-TypeRegistry.cpp}::MyTestCustomActor2::MyTestCustomActor2 ( )
inline

Definition at line 359 of file utc-Dali-TypeRegistry.cpp.

virtual anonymous_namespace{utc-Dali-TypeRegistry.cpp}::MyTestCustomActor2::~MyTestCustomActor2 ( )
inlinevirtual

Definition at line 368 of file utc-Dali-TypeRegistry.cpp.

anonymous_namespace{utc-Dali-TypeRegistry.cpp}::MyTestCustomActor2::MyTestCustomActor2 ( Internal::CustomActor *  internal)
inlineprivate

Definition at line 394 of file utc-Dali-TypeRegistry.cpp.

anonymous_namespace{utc-Dali-TypeRegistry.cpp}::MyTestCustomActor2::MyTestCustomActor2 ( Impl::MyTestCustomActor impl)
inlineprivate

Definition at line 399 of file utc-Dali-TypeRegistry.cpp.

Member Function Documentation

static MyTestCustomActor2 anonymous_namespace{utc-Dali-TypeRegistry.cpp}::MyTestCustomActor2::DownCast ( BaseHandle  handle)
inlinestatic

Definition at line 372 of file utc-Dali-TypeRegistry.cpp.

References Dali::CustomActor::DownCast(), Dali::CustomActor::GetImplementation(), and Dali::CustomActorImpl::GetOwner().

Here is the call graph for this function:

static MyTestCustomActor2 anonymous_namespace{utc-Dali-TypeRegistry.cpp}::MyTestCustomActor2::New ( void  )
inlinestatic

Definition at line 363 of file utc-Dali-TypeRegistry.cpp.


The documentation for this class was generated from the following file:
Dali Docs Home
Read more about Dali