Tizen Native API

Common classes for using DALi. More...

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 its 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
 The status during resource loading operations. More...
enum  Dali::ViewMode
 Stereoscopic view modes. More...

Defines

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

Common classes for using DALi.


Define Documentation

#define DALI_COMPILE_TIME_ASSERT (   x)    typedef CompileTimeAssertInt< sizeof( 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

Enumeration Type Documentation

The status during resource loading operations.

Since :
2.4
Enumerator:
ResourceLoading 

The resource is loading.

Since :
2.4
ResourceLoadingSucceeded 

The resource loaded successfully.

Since :
2.4
ResourceLoadingFailed 

The resource failed to load.

Since :
2.4

Stereoscopic view modes.

Since :
2.4
Enumerator:
MONO 

Monoscopic (single camera). This is the default.

Since :
2.4
STEREO_HORIZONTAL 

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

Since :
2.4
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
STEREO_INTERLACED 

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

Since :
2.4

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
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
Parameters:
i]lhs Intrusive pointer to compare with
i]rhs Intrusive 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
Parameters:
i]lhs Intrusive pointer to compare with
i]rhs Intrusive 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
Parameters:
i]lhs Object to compare with
i]rhs Intrusive 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
Parameters:
i]lhs Intrusive pointer to compare with
i]rhs Intrusive 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
Parameters:
i]lhs Intrusive pointer to compare with
i]rhs Object 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
Parameters:
i]lhs Object to compare with
i]rhs Intrusive pointer to compare against
Returns:
True if the intrusive pointer points at the specified object