Tizen Native API  3.0

Common classes for using DALi.

Classes

struct  Dali::CompileTimeAssertBool< true >
 Bool Template to test condition Specialize for true, but not for false. More...
struct  Dali::CompileTimeAssertInt< x >
 Template to wrap conditional template CompileTimeAsserBool. More...
class  Dali::DaliException
 Exception class for Dali Core library - Raised by assertions in codebase. More...
class  Dali::VectorBase
 Base class to handle the memory of simple vector. More...
class  Dali::VectorAlgorithms< IsTrivial >
 Vector algorithm variant for trivial types. More...
class  Dali::VectorAlgorithms< false >
 Vector algorithm variant for complex types. More...
class  Dali::Vector< T, IsTrivialType >
 Vector class with minimum space allocation when it's empty. More...
class  Dali::IntrusivePtr< T >
 Templated intrusive pointer class. More...
class  Dali::Stage
 The Stage is a top-level object used for displaying a tree of Actors. More...
struct  Dali::BasicTypes< Type >
 Basic type traits that every type has by default. More...
struct  Dali::TypeTraits< Type >
 Type traits. More...

Functions

void Dali::DaliAssertMessage (const char *location, const char *condition)
 Method to log assertion message in DALI_ASSERT_ALWAYS macro below.
template<typename T , typename U >
bool Dali::operator== (IntrusivePtr< T >const &lhs, IntrusivePtr< U >const &rhs)
 Comparison overrides of objects wrapped by intrusive pointers.
template<typename T , typename U >
bool Dali::operator!= (IntrusivePtr< T >const &lhs, IntrusivePtr< U >const &rhs)
 Comparison overrides of objects wrapped by intrusive pointers.
template<typename T , typename U >
bool Dali::operator== (IntrusivePtr< T >const &lhs, U *rhs)
 Comparison overrides of objects wrapped by intrusive pointers.
template<typename T , typename U >
bool Dali::operator!= (IntrusivePtr< T >const &lhs, U *rhs)
 Comparison overrides of objects wrapped by intrusive pointers.
template<typename T , typename U >
bool Dali::operator== (T *lhs, IntrusivePtr< U >const &rhs)
 Comparison overrides of objects wrapped by intrusive pointers.
template<typename T , typename U >
bool Dali::operator!= (T *lhs, IntrusivePtr< U >const &rhs)
 Comparison overrides of objects wrapped by intrusive pointers.

Namespaces

namespace  Dali::ParentOrigin
 

ParentOrigin constants.


namespace  Dali::AnchorPoint
 

AnchorPoint constants.


namespace  Dali::Color
 

Color Constants.


namespace  Dali::Math
 

Math constants.


Enumerations

enum  Dali::LoadingState
 Enumeration for the status during resource loading operations. More...
enum  Dali::ViewMode
 Enumeration for stereoscopic view modes. More...

Defines

#define DALI_COMPILE_TIME_ASSERT(x)   typedef Dali::CompileTimeAssertInt< sizeof( Dali::CompileTimeAssertBool< ( x ) > ) > CompileTimeAssertType __attribute__((__unused__))
 Use DALI_COMPILE_TIME_ASSERT to test expressions at compile time.

Define Documentation

#define DALI_COMPILE_TIME_ASSERT (   x)    typedef Dali::CompileTimeAssertInt< sizeof( Dali::CompileTimeAssertBool< ( x ) > ) > CompileTimeAssertType __attribute__((__unused__))

Use DALI_COMPILE_TIME_ASSERT to test expressions at compile time.

If x is false, then 'sizeof' will be attempted with incomplete type.

Since:
2.4, DALi version 1.0.0

Enumeration Type Documentation

Enumeration for the status during resource loading operations.

Since:
2.4, DALi version 1.0.0
Enumerator:
ResourceLoading 

The resource is loading.

Since:
2.4, DALi version 1.0.0
ResourceLoadingSucceeded 

The resource loaded successfully.

Since:
2.4, DALi version 1.0.0
ResourceLoadingFailed 

The resource failed to load.

Since:
2.4, DALi version 1.0.0

Enumeration for stereoscopic view modes.

Since:
2.4, DALi version 1.0.0
Remarks:
Viewmode is supported in mobile applications only.
Enumerator:
MONO 

Monoscopic (single camera). This is the default.

Since:
2.4, DALi version 1.0.0
STEREO_HORIZONTAL 

Stereoscopic. Frame buffer is split horizontally with the left and right camera views in their respective sides.

Since:
2.4, DALi version 1.0.0
STEREO_VERTICAL 

Stereoscopic. Frame buffer is split vertically with the left camera view at the top and the right camera view at the bottom.

Since:
2.4, DALi version 1.0.0
STEREO_INTERLACED 

Stereoscopic. Left/Right camera views are rendered into the framebuffer on alternate frames.

Deprecated:
Deprecated since 3.0, DALi version 1.1.19
Since:
2.4, DALi version 1.0.0

Function Documentation

void Dali::DaliAssertMessage ( const char *  location,
const char *  condition 
)

Method to log assertion message in DALI_ASSERT_ALWAYS macro below.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]locationWhere the assertion occurred
[in]conditionThe assertion condition
template<typename T , typename U >
bool Dali::operator!= ( IntrusivePtr< T >const &  lhs,
IntrusivePtr< U >const &  rhs 
)

Comparison overrides of objects wrapped by intrusive pointers.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]lhsIntrusive pointer to compare with
[in]rhsIntrusive pointer to compare against
Returns:
True if the pointers point at different objects
template<typename T , typename U >
bool Dali::operator!= ( IntrusivePtr< T >const &  lhs,
U *  rhs 
)

Comparison overrides of objects wrapped by intrusive pointers.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]lhsIntrusive pointer to compare with
[in]rhsIntrusive pointer to compare against
Returns:
True if the intrusive pointer doesn't point at the specified object
template<typename T , typename U >
bool Dali::operator!= ( T *  lhs,
IntrusivePtr< U >const &  rhs 
)

Comparison overrides of objects wrapped by intrusive pointers.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]lhsObject to compare with
[in]rhsIntrusive pointer to compare against
Returns:
True if the intrusive pointer doesn't point at the specified object
template<typename T , typename U >
bool Dali::operator== ( IntrusivePtr< T >const &  lhs,
IntrusivePtr< U >const &  rhs 
)

Comparison overrides of objects wrapped by intrusive pointers.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]lhsIntrusive pointer to compare with
[in]rhsIntrusive pointer to compare against
Returns:
True if the pointers point at the same object
template<typename T , typename U >
bool Dali::operator== ( IntrusivePtr< T >const &  lhs,
U *  rhs 
)

Comparison overrides of objects wrapped by intrusive pointers.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]lhsIntrusive pointer to compare with
[in]rhsObject to compare against
Returns:
True if the intrusive pointer points at the specified object
template<typename T , typename U >
bool Dali::operator== ( T *  lhs,
IntrusivePtr< U >const &  rhs 
)

Comparison overrides of objects wrapped by intrusive pointers.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]lhsObject to compare with
[in]rhsIntrusive pointer to compare against
Returns:
True if the intrusive pointer points at the specified object