Dali 3D User Interface Engine
Classes | Namespaces | Macros | Enumerations | Functions
Dali_core_common
Collaboration diagram for Dali_core_common:

Classes

struct  Dali::CompileTimeAssertBool< x >
 
struct  Dali::CompileTimeAssertBool< true >
 Bool Template to test condition Specialize for true, but not for false .0. More...
 
struct  Dali::CompileTimeAssertInt< x >
 Template to wrap conditional template CompileTimeAsserBool .0. 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...
 

Namespaces

namespace  Dali::ParentOrigin
 ParentOrigin constants.
 
namespace  Dali::AnchorPoint
 AnchorPoint constants.
 
namespace  Dali::Color
 Color Constants.
 
namespace  Dali::Math
 Math constants .0.
 
namespace  Dali::DALI_INTERNAL
 

Macros

#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. More...
 

Enumerations

enum  Dali::LoadingState { Dali::ResourceLoading, Dali::ResourceLoadingSucceeded, Dali::ResourceLoadingFailed }
 The status during resource loading operations. More...
 
enum  Dali::ViewMode { Dali::MONO, Dali::STEREO_HORIZONTAL, Dali::STEREO_VERTICAL, Dali::STEREO_INTERLACED }
 Stereoscopic view modes .0. More...
 

Functions

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

Detailed Description

Macro Definition 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. .0

Definition at line 45 of file compile-time-assert.h.

Referenced by Dali::TizenPlatform::anonymous_namespace{loader-ktx.cpp}::CheckFileIdentifier(), Dali::TizenPlatform::LoadBitmapFromKtx(), UtcConditionalWaitNonCopyable(), UtcDaliMutexNonCopyable(), UtcDaliPixelDataNonCopyable(), and UtcDaliThreadNonCopyable().

Enumeration Type Documentation

The status during resource loading operations.

.0

Enumerator
ResourceLoading 

The resource is loading .0.

ResourceLoadingSucceeded 

The resource loaded successfully .0.

ResourceLoadingFailed 

The resource failed to load .0.

Definition at line 35 of file loading-state.h.

Stereoscopic view modes .0.

Enumerator
MONO 

Monoscopic (single camera). This is the default .0.

STEREO_HORIZONTAL 

Stereoscopic. Frame buffer is split horizontally with the left and right camera views in their respective sides. .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. .0.

STEREO_INTERLACED 

.19

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

Definition at line 32 of file view-mode.h.

Function Documentation

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

Method to log assertion message in DALI_ASSERT_ALWAYS macro below.

.0

Parameters
[in]locationWhere the assertion occurred
[in]conditionThe assertion condition

Definition at line 142 of file dali-common.cpp.

References DALI_LOG_ERROR_NOFN.

template<typename T , typename U >
bool Dali::operator!= ( IntrusivePtr< T >const &  lhs,
IntrusivePtr< U >const &  rhs 
)
inline

Comparison overrides of objects wrapped by intrusive pointers.

.0

Parameters
[in]lhsIntrusive pointer to compare with
[in]rhsIntrusive pointer to compare against
Returns
True if the pointers point at different objects

Definition at line 263 of file intrusive-ptr.h.

References Dali::IntrusivePtr< T >::Get().

Here is the call graph for this function:

template<typename T , typename U >
bool Dali::operator!= ( IntrusivePtr< T >const &  lhs,
U *  rhs 
)
inline

Comparison overrides of objects wrapped by intrusive pointers.

.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

Definition at line 291 of file intrusive-ptr.h.

References Dali::IntrusivePtr< T >::Get().

Here is the call graph for this function:

template<typename T , typename U >
bool Dali::operator!= ( T *  lhs,
IntrusivePtr< U >const &  rhs 
)
inline

Comparison overrides of objects wrapped by intrusive pointers.

.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

Definition at line 319 of file intrusive-ptr.h.

References Dali::IntrusivePtr< T >::Get().

Here is the call graph for this function:

template<typename T , typename U >
bool Dali::operator== ( IntrusivePtr< T >const &  lhs,
IntrusivePtr< U >const &  rhs 
)
inline

Comparison overrides of objects wrapped by intrusive pointers.

.0

Parameters
[in]lhsIntrusive pointer to compare with
[in]rhsIntrusive pointer to compare against
Returns
True if the pointers point at the same object

Definition at line 249 of file intrusive-ptr.h.

References Dali::IntrusivePtr< T >::Get().

Referenced by Dali::operator!=().

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T , typename U >
bool Dali::operator== ( IntrusivePtr< T >const &  lhs,
U *  rhs 
)
inline

Comparison overrides of objects wrapped by intrusive pointers.

.0

Parameters
[in]lhsIntrusive pointer to compare with
[in]rhsObject to compare against
Returns
True if the intrusive pointer points at the specified object

Definition at line 277 of file intrusive-ptr.h.

References Dali::IntrusivePtr< T >::Get().

Here is the call graph for this function:

template<typename T , typename U >
bool Dali::operator== ( T *  lhs,
IntrusivePtr< U >const &  rhs 
)
inline

Comparison overrides of objects wrapped by intrusive pointers.

.0

Parameters
[in]lhsObject to compare with
[in]rhsIntrusive pointer to compare against
Returns
True if the intrusive pointer points at the specified object

Definition at line 305 of file intrusive-ptr.h.

References Dali::IntrusivePtr< T >::Get().

Here is the call graph for this function:

Dali Docs Home
Read more about Dali