Dali 3D User Interface Engine
Classes | Namespaces | Functions | Variables
utc-Dali-TypeRegistry.cpp File Reference
#include <iostream>
#include <stdlib.h>
#include <limits>
#include <dali/public-api/dali-core.h>
#include <dali-test-suite-utils.h>
#include <dali/integration-api/events/long-press-gesture-event.h>
#include <dali/integration-api/events/pan-gesture-event.h>
#include <dali/integration-api/events/pinch-gesture-event.h>
#include <dali/integration-api/events/tap-gesture-event.h>
#include <dali/integration-api/events/touch-event-integ.h>
#include <dali/integration-api/events/hover-event-integ.h>
Include dependency graph for utc-Dali-TypeRegistry.cpp:

Go to the source code of this file.

Classes

struct  anonymous_namespace{utc-Dali-TypeRegistry.cpp}::SignalData
 
struct  anonymous_namespace{utc-Dali-TypeRegistry.cpp}::GestureReceivedFunctor
 
struct  anonymous_namespace{utc-Dali-TypeRegistry.cpp}::Impl::MyTestCustomActor
 
class  anonymous_namespace{utc-Dali-TypeRegistry.cpp}::MyTestCustomActor
 
class  anonymous_namespace{utc-Dali-TypeRegistry.cpp}::MyTestCustomActor2
 
struct  anonymous_namespace{utc-Dali-TypeRegistry.cpp}::CustomTestFunctor
 
class  anonymous_namespace{utc-Dali-TypeRegistry.cpp}::TestConnectionTracker
 

Namespaces

namespace  anonymous_namespace{utc-Dali-TypeRegistry.cpp}
 
namespace  anonymous_namespace{utc-Dali-TypeRegistry.cpp}::Impl
 

Functions

Integration::LongPressGestureEvent anonymous_namespace{utc-Dali-TypeRegistry.cpp}::GenerateLongPress (Gesture::State state, unsigned int numberOfTouches, Vector2 point)
 
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)
 
Integration::PinchGestureEvent anonymous_namespace{utc-Dali-TypeRegistry.cpp}::GeneratePinch (Gesture::State state, float scale, float speed, Vector2 centerpoint)
 
Integration::TapGestureEvent anonymous_namespace{utc-Dali-TypeRegistry.cpp}::GenerateTap (Gesture::State state, unsigned int numberOfTaps, unsigned int numberOfTouches, Vector2 point)
 
BaseHandle anonymous_namespace{utc-Dali-TypeRegistry.cpp}::CreateCustomInit (void)
 
BaseHandle anonymous_namespace{utc-Dali-TypeRegistry.cpp}::CreateCustomNamedInit (void)
 
const std::string anonymous_namespace{utc-Dali-TypeRegistry.cpp}::scriptedName ("PopupStyle")
 
void anonymous_namespace{utc-Dali-TypeRegistry.cpp}::SetProperty (BaseObject *object, Property::Index propertyIndex, const Property::Value &value)
 
Property::Value anonymous_namespace{utc-Dali-TypeRegistry.cpp}::GetProperty (BaseObject *object, Property::Index propertyIndex)
 
BaseHandle anonymous_namespace{utc-Dali-TypeRegistry.cpp}::CreateCustom (void)
 
bool anonymous_namespace{utc-Dali-TypeRegistry.cpp}::DoConnectSignalCustom (BaseObject *object, ConnectionTrackerInterface *tracker, const std::string &signalName, FunctorDelegate *functor)
 
bool anonymous_namespace{utc-Dali-TypeRegistry.cpp}::DoConnectSignalCustomFailure (BaseObject *object, ConnectionTrackerInterface *tracker, const std::string &signalName, FunctorDelegate *functor)
 
static void anonymous_namespace{utc-Dali-TypeRegistry.cpp}::ResetFunctorCounts ()
 
bool anonymous_namespace{utc-Dali-TypeRegistry.cpp}::DoActionCustom (BaseObject *object, const std::string &actionName, const Property::Map &)
 
BaseHandle anonymous_namespace{utc-Dali-TypeRegistry.cpp}::CreateNamedActorType ()
 
int UtcDaliTypeRegistryGetP (void)
 
int UtcDaliTypeRegistryConstructorP (void)
 
int UtcDaliTypeRegistryCopyConstructorP (void)
 
int UtcDaliTypeRegistryAssignmentOperatorP (void)
 
int UtcDaliTypeRegistryAssignP (void)
 
int UtcDaliTypeRegistryGetTypeInfoFromTypeNameP (void)
 
int UtcDaliTypeRegistryGetTypeInfoFromTypeNameN (void)
 
int UtcDaliTypeRegistryGetTypeInfoFromTypeIdP (void)
 
int UtcDaliTypeRegistryGetTypeInfoFromTypeIdN (void)
 
int UtcDaliTypeRegistryGetTypeNameCountP (void)
 
int UtcDaliTypeRegistryGetTypeNamesP (void)
 
int UtcDaliTypeRegistryTypeRegistrationNotCallingCreateOnInitP (void)
 
int UtcDaliTypeRegistryTypeRegistrationCallingCreateOnInitP (void)
 
int UtcDaliTypeRegistryTypeRegistrationForNamedTypeP (void)
 
int UtcDaliTypeRegistryRegisteredNameP (void)
 
int UtcDaliTypeRegistrySignalConnectorTypeP (void)
 
int UtcDaliTypeRegistrySignalConnectorTypeN (void)
 
int UtcDaliTypeRegistryTypeActionP (void)
 
int UtcDaliTypeRegistryTypeActionN (void)
 
int UtcDaliTypeRegistryPropertyRegistrationP (void)
 
int UtcDaliTypeRegistryPropertyRegistrationN (void)
 
int UtcDaliTypeRegistryAnimatablePropertyRegistrationP (void)
 
int UtcDaliTypeRegistryAnimatablePropertyRegistrationN (void)
 
int UtcDaliTypeRegistryAnimatablePropertyRegistrationWithDefaultP (void)
 
int UtcDaliTypeRegistryAnimatablePropertyRegistrationWithDefaultN (void)
 
int UtcDaliTypeRegistryAnimatablePropertyComponentRegistrationP (void)
 
int UtcDaliTypeRegistryAnimatablePropertyComponentRegistrationN (void)
 
int UtcDaliTypeRegistryActionViaBaseHandle (void)
 
int UtcDaliPropertyRegistrationFunctions (void)
 
int UtcDaliPropertyRegistrationAddSameIndex (void)
 
int UtcDaliPropertyRegistrationPropertyWritable (void)
 
int UtcDaliPropertyRegistrationPropertyAnimatable (void)
 
int UtcDaliPropertyRegistrationInvalidGetAndSet (void)
 
int UtcDaliLongPressGestureDetectorTypeRegistry (void)
 
int UtcDaliPanGestureDetectorTypeRegistry (void)
 
int UtcDaliPinchGestureDetectorTypeRegistry (void)
 
int UtcDaliTapGestureDetectorTypeRegistry (void)
 
int UtcDaliTypeRegistryNamedType (void)
 
int UtcDaliTypeInfoGetActionNameP (void)
 
int UtcDaliTypeInfoGetActionNameN (void)
 
int UtcDaliTypeInfoGetSignalNameP (void)
 
int UtcDaliTypeInfoGetSignalNameN (void)
 

Variables

static bool anonymous_namespace{utc-Dali-TypeRegistry.cpp}::CreateCustomInitCalled = false
 
static bool anonymous_namespace{utc-Dali-TypeRegistry.cpp}::CreateCustomNamedInitCalled = false
 
static TypeRegistration anonymous_namespace{utc-Dali-TypeRegistry.cpp}::scriptedType (scriptedName, typeid(Dali::CustomActor), CreateCustomNamedInit)
 
bool anonymous_namespace{utc-Dali-TypeRegistry.cpp}::setPropertyCalled = false
 
bool anonymous_namespace{utc-Dali-TypeRegistry.cpp}::getPropertyCalled = false
 
static TypeRegistration anonymous_namespace{utc-Dali-TypeRegistry.cpp}::customTypeInit (typeid(MyTestCustomActor2), typeid(Dali::CustomActor), CreateCustomInit, true)
 
static std::string anonymous_namespace{utc-Dali-TypeRegistry.cpp}::lastSignalConnectionCustom
 
static std::string anonymous_namespace{utc-Dali-TypeRegistry.cpp}::lastActionCustom
 
static TypeRegistration anonymous_namespace{utc-Dali-TypeRegistry.cpp}::customType1 (typeid(MyTestCustomActor), typeid(Dali::CustomActor), CreateCustom)
 
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 const int anonymous_namespace{utc-Dali-TypeRegistry.cpp}::TEST_SIGNAL_COUNT = 2
 
static TypeAction anonymous_namespace{utc-Dali-TypeRegistry.cpp}::customAction1 (customType1,"act1", DoActionCustom)
 
static const int anonymous_namespace{utc-Dali-TypeRegistry.cpp}::TEST_ACTION_COUNT = 1
 
TypeRegistration anonymous_namespace{utc-Dali-TypeRegistry.cpp}::namedActorType ("MyNamedActor", typeid(Dali::Actor), CreateNamedActorType)
 
PropertyRegistration anonymous_namespace{utc-Dali-TypeRegistry.cpp}::namedActorPropertyOne (namedActorType,"propName", PROPERTY_REGISTRATION_START_INDEX, Property::BOOLEAN,&SetProperty,&GetProperty)
 

Function Documentation

int UtcDaliLongPressGestureDetectorTypeRegistry ( void  )
int UtcDaliPanGestureDetectorTypeRegistry ( void  )
int UtcDaliPinchGestureDetectorTypeRegistry ( void  )
int UtcDaliPropertyRegistrationAddSameIndex ( void  )
int UtcDaliPropertyRegistrationFunctions ( void  )
int UtcDaliPropertyRegistrationInvalidGetAndSet ( void  )
int UtcDaliPropertyRegistrationPropertyAnimatable ( void  )
int UtcDaliPropertyRegistrationPropertyWritable ( void  )
int UtcDaliTapGestureDetectorTypeRegistry ( void  )
int UtcDaliTypeInfoGetActionNameN ( void  )
int UtcDaliTypeInfoGetActionNameP ( void  )
int UtcDaliTypeInfoGetSignalNameN ( void  )
int UtcDaliTypeInfoGetSignalNameP ( void  )
int UtcDaliTypeRegistryActionViaBaseHandle ( void  )
int UtcDaliTypeRegistryAnimatablePropertyComponentRegistrationN ( void  )
int UtcDaliTypeRegistryAnimatablePropertyComponentRegistrationP ( void  )
int UtcDaliTypeRegistryAnimatablePropertyRegistrationN ( void  )
int UtcDaliTypeRegistryAnimatablePropertyRegistrationP ( void  )
int UtcDaliTypeRegistryAnimatablePropertyRegistrationWithDefaultN ( void  )
int UtcDaliTypeRegistryAnimatablePropertyRegistrationWithDefaultP ( void  )
int UtcDaliTypeRegistryAssignmentOperatorP ( void  )

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

References DALI_TEST_CHECK, END_TEST, Dali::TypeRegistry::Get(), Dali::TypeInfo::GetName(), and Dali::TypeRegistry::GetTypeInfo().

Here is the call graph for this function:

int UtcDaliTypeRegistryAssignP ( void  )

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

References DALI_TEST_CHECK, END_TEST, Dali::TypeRegistry::Get(), Dali::TypeInfo::GetName(), and Dali::TypeRegistry::GetTypeInfo().

Here is the call graph for this function:

int UtcDaliTypeRegistryConstructorP ( void  )

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

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliTypeRegistryCopyConstructorP ( void  )

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

References DALI_TEST_CHECK, END_TEST, Dali::TypeRegistry::Get(), Dali::TypeInfo::GetName(), and Dali::TypeRegistry::GetTypeInfo().

Here is the call graph for this function:

int UtcDaliTypeRegistryGetP ( void  )

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

References DALI_TEST_CHECK, END_TEST, and Dali::TypeRegistry::Get().

Here is the call graph for this function:

int UtcDaliTypeRegistryGetTypeInfoFromTypeIdN ( void  )

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

References DALI_TEST_CHECK, END_TEST, Dali::TypeRegistry::Get(), and Dali::TypeRegistry::GetTypeInfo().

Here is the call graph for this function:

int UtcDaliTypeRegistryGetTypeInfoFromTypeIdP ( void  )
int UtcDaliTypeRegistryGetTypeInfoFromTypeNameN ( void  )

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

References DALI_TEST_CHECK, END_TEST, Dali::TypeRegistry::Get(), and Dali::TypeRegistry::GetTypeInfo().

Here is the call graph for this function:

int UtcDaliTypeRegistryGetTypeInfoFromTypeNameP ( void  )
int UtcDaliTypeRegistryGetTypeNameCountP ( void  )
int UtcDaliTypeRegistryGetTypeNamesP ( void  )
int UtcDaliTypeRegistryNamedType ( void  )
int UtcDaliTypeRegistryPropertyRegistrationN ( void  )
int UtcDaliTypeRegistryPropertyRegistrationP ( void  )
int UtcDaliTypeRegistryRegisteredNameP ( void  )
int UtcDaliTypeRegistrySignalConnectorTypeN ( void  )
int UtcDaliTypeRegistrySignalConnectorTypeP ( void  )
int UtcDaliTypeRegistryTypeActionN ( void  )
int UtcDaliTypeRegistryTypeActionP ( void  )
int UtcDaliTypeRegistryTypeRegistrationCallingCreateOnInitP ( void  )
int UtcDaliTypeRegistryTypeRegistrationForNamedTypeP ( void  )
int UtcDaliTypeRegistryTypeRegistrationNotCallingCreateOnInitP ( void  )
Dali Docs Home
Read more about Dali