Dali 3D User Interface Engine
Namespaces | Classes | Functions | Variables
anonymous_namespace{utc-Dali-TypeRegistry.cpp} Namespace Reference

Namespaces

namespace  Impl
 

Classes

struct  SignalData
 
struct  GestureReceivedFunctor
 
class  MyTestCustomActor
 
class  MyTestCustomActor2
 
struct  CustomTestFunctor
 
class  TestConnectionTracker
 

Functions

Integration::LongPressGestureEvent GenerateLongPress (Gesture::State state, unsigned int numberOfTouches, Vector2 point)
 
Integration::PanGestureEvent GeneratePan (Gesture::State state, Vector2 previousPosition, Vector2 currentPosition, unsigned long timeDelta, unsigned int numberOfTouches=1, unsigned int time=1u)
 
Integration::PinchGestureEvent GeneratePinch (Gesture::State state, float scale, float speed, Vector2 centerpoint)
 
Integration::TapGestureEvent GenerateTap (Gesture::State state, unsigned int numberOfTaps, unsigned int numberOfTouches, Vector2 point)
 
BaseHandle CreateCustomInit (void)
 
BaseHandle CreateCustomNamedInit (void)
 
const std::string scriptedName ("PopupStyle")
 
void SetProperty (BaseObject *object, Property::Index propertyIndex, const Property::Value &value)
 
Property::Value GetProperty (BaseObject *object, Property::Index propertyIndex)
 
BaseHandle CreateCustom (void)
 
bool DoConnectSignalCustom (BaseObject *object, ConnectionTrackerInterface *tracker, const std::string &signalName, FunctorDelegate *functor)
 
bool DoConnectSignalCustomFailure (BaseObject *object, ConnectionTrackerInterface *tracker, const std::string &signalName, FunctorDelegate *functor)
 
static void ResetFunctorCounts ()
 
bool DoActionCustom (BaseObject *object, const std::string &actionName, const Property::Map &)
 
BaseHandle CreateNamedActorType ()
 

Variables

static bool CreateCustomInitCalled = false
 
static bool CreateCustomNamedInitCalled = false
 
static TypeRegistration scriptedType (scriptedName, typeid(Dali::CustomActor), CreateCustomNamedInit)
 
bool setPropertyCalled = false
 
bool getPropertyCalled = false
 
static TypeRegistration customTypeInit (typeid(MyTestCustomActor2), typeid(Dali::CustomActor), CreateCustomInit, true)
 
static std::string lastSignalConnectionCustom
 
static std::string lastActionCustom
 
static TypeRegistration customType1 (typeid(MyTestCustomActor), typeid(Dali::CustomActor), CreateCustom)
 
static SignalConnectorType customSignalConnector1 (customType1,"sig1", DoConnectSignalCustom)
 
static SignalConnectorType customSignalConnector2 (customType1,"sig2", DoConnectSignalCustomFailure)
 
static const int TEST_SIGNAL_COUNT = 2
 
static TypeAction customAction1 (customType1,"act1", DoActionCustom)
 
static const int TEST_ACTION_COUNT = 1
 
TypeRegistration namedActorType ("MyNamedActor", typeid(Dali::Actor), CreateNamedActorType)
 
PropertyRegistration namedActorPropertyOne (namedActorType,"propName", PROPERTY_REGISTRATION_START_INDEX, Property::BOOLEAN,&SetProperty,&GetProperty)
 

Function Documentation

BaseHandle anonymous_namespace{utc-Dali-TypeRegistry.cpp}::CreateCustom ( void  )

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

References Dali::WeightObject::New().

Here is the call graph for this function:

BaseHandle anonymous_namespace{utc-Dali-TypeRegistry.cpp}::CreateCustomInit ( void  )

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

BaseHandle anonymous_namespace{utc-Dali-TypeRegistry.cpp}::CreateCustomNamedInit ( void  )

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

BaseHandle anonymous_namespace{utc-Dali-TypeRegistry.cpp}::CreateNamedActorType ( )

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

References Dali::Actor::New(), and Dali::Actor::SetName().

Here is the call graph for this function:

bool anonymous_namespace{utc-Dali-TypeRegistry.cpp}::DoActionCustom ( BaseObject object,
const std::string &  actionName,
const Property::Map &   
)

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

bool anonymous_namespace{utc-Dali-TypeRegistry.cpp}::DoConnectSignalCustom ( BaseObject object,
ConnectionTrackerInterface tracker,
const std::string &  signalName,
FunctorDelegate functor 
)

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

References Dali::DownCast(), and anonymous_namespace{utc-Dali-TypeRegistry.cpp}::MyTestCustomActor::GetCustomSignal().

Here is the call graph for this function:

bool anonymous_namespace{utc-Dali-TypeRegistry.cpp}::DoConnectSignalCustomFailure ( BaseObject object,
ConnectionTrackerInterface tracker,
const std::string &  signalName,
FunctorDelegate functor 
)

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

Integration::LongPressGestureEvent anonymous_namespace{utc-Dali-TypeRegistry.cpp}::GenerateLongPress ( Gesture::State  state,
unsigned int  numberOfTouches,
Vector2  point 
)

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

Integration::PanGestureEvent anonymous_namespace{utc-Dali-TypeRegistry.cpp}::GeneratePan ( Gesture::State  state,
Vector2  previousPosition,
Vector2  currentPosition,
unsigned long  timeDelta,
unsigned int  numberOfTouches = 1,
unsigned int  time = 1u 
)

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

Integration::PinchGestureEvent anonymous_namespace{utc-Dali-TypeRegistry.cpp}::GeneratePinch ( Gesture::State  state,
float  scale,
float  speed,
Vector2  centerpoint 
)

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

Integration::TapGestureEvent anonymous_namespace{utc-Dali-TypeRegistry.cpp}::GenerateTap ( Gesture::State  state,
unsigned int  numberOfTaps,
unsigned int  numberOfTouches,
Vector2  point 
)

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

Property::Value anonymous_namespace{utc-Dali-TypeRegistry.cpp}::GetProperty ( BaseObject object,
Property::Index  propertyIndex 
)
static void anonymous_namespace{utc-Dali-TypeRegistry.cpp}::ResetFunctorCounts ( )
static

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

const std::string anonymous_namespace{utc-Dali-TypeRegistry.cpp}::scriptedName ( "PopupStyle"  )

Referenced by UtcDaliTypeRegistryRegisteredNameP().

Here is the caller graph for this function:

void anonymous_namespace{utc-Dali-TypeRegistry.cpp}::SetProperty ( BaseObject object,
Property::Index  propertyIndex,
const Property::Value &  value 
)

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

Variable Documentation

bool anonymous_namespace{utc-Dali-TypeRegistry.cpp}::CreateCustomInitCalled = false
static

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

bool anonymous_namespace{utc-Dali-TypeRegistry.cpp}::CreateCustomNamedInitCalled = false
static

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

TypeAction anonymous_namespace{utc-Dali-TypeRegistry.cpp}::customAction1(customType1,"act1", DoActionCustom)
static
SignalConnectorType anonymous_namespace{utc-Dali-TypeRegistry.cpp}::customSignalConnector1(customType1,"sig1", DoConnectSignalCustom)
static
SignalConnectorType anonymous_namespace{utc-Dali-TypeRegistry.cpp}::customSignalConnector2(customType1,"sig2", DoConnectSignalCustomFailure)
static
TypeRegistration anonymous_namespace{utc-Dali-TypeRegistry.cpp}::customType1(typeid(MyTestCustomActor), typeid(Dali::CustomActor), CreateCustom)
static
TypeRegistration anonymous_namespace{utc-Dali-TypeRegistry.cpp}::customTypeInit(typeid(MyTestCustomActor2), typeid(Dali::CustomActor), CreateCustomInit, true)
static
bool anonymous_namespace{utc-Dali-TypeRegistry.cpp}::getPropertyCalled = false

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

std::string anonymous_namespace{utc-Dali-TypeRegistry.cpp}::lastActionCustom
static

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

std::string anonymous_namespace{utc-Dali-TypeRegistry.cpp}::lastSignalConnectionCustom
static

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

PropertyRegistration anonymous_namespace{utc-Dali-TypeRegistry.cpp}::namedActorPropertyOne(namedActorType,"propName", PROPERTY_REGISTRATION_START_INDEX, Property::BOOLEAN,&SetProperty,&GetProperty)
TypeRegistration anonymous_namespace{utc-Dali-TypeRegistry.cpp}::namedActorType("MyNamedActor", typeid(Dali::Actor), CreateNamedActorType)
TypeRegistration anonymous_namespace{utc-Dali-TypeRegistry.cpp}::scriptedType(scriptedName, typeid(Dali::CustomActor), CreateCustomNamedInit)
static
bool anonymous_namespace{utc-Dali-TypeRegistry.cpp}::setPropertyCalled = false

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

const int anonymous_namespace{utc-Dali-TypeRegistry.cpp}::TEST_ACTION_COUNT = 1
static

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

const int anonymous_namespace{utc-Dali-TypeRegistry.cpp}::TEST_SIGNAL_COUNT = 2
static

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

Dali Docs Home
Read more about Dali