Dali 3D User Interface Engine
List of all members | Static Public Member Functions | Static Private Member Functions
Dali::Internal::SceneGraph::Outside Class Reference

Outside condition class, Checks if a Property is "Outside" the two arguments: More...

#include <property-condition-functions.h>

Static Public Member Functions

static ConditionFunction GetFunction (Property::Type valueType)
 

Static Private Member Functions

static bool EvalBoolean (const Dali::PropertyInput &value, PropertyNotification::RawArgumentContainer &arg)
 Checks if bool is Outside. More...
 
static bool EvalInteger (const Dali::PropertyInput &value, PropertyNotification::RawArgumentContainer &arg)
 Checks if integer is Outside. More...
 
static bool EvalFloat (const Dali::PropertyInput &value, PropertyNotification::RawArgumentContainer &arg)
 Checks if float is Outside. More...
 
static bool EvalVector2 (const Dali::PropertyInput &value, PropertyNotification::RawArgumentContainer &arg)
 Checks if Vector2.Length() is Outside. More...
 
static bool EvalVector3 (const Dali::PropertyInput &value, PropertyNotification::RawArgumentContainer &arg)
 Checks if Vector3.Length() is Outside. More...
 
static bool EvalVector4 (const Dali::PropertyInput &value, PropertyNotification::RawArgumentContainer &arg)
 Checks if Vector4.Length() is Outside. More...
 
static bool EvalDefault (const Dali::PropertyInput &value, PropertyNotification::RawArgumentContainer &arg)
 Default check for other types. More...
 

Detailed Description

Outside condition class, Checks if a Property is "Outside" the two arguments:

bool => false (0.0) or true (1.0) is outside arg0. float => value is outside arg0 and arg1. Vector2 => 2 dimensional length of vector is outside arg0 and arg1. Vector3 => 3 dimensional length of vector is outside arg0 and arg1. Vector4 => 4 dimensional length of vector is outside arg0 and arg1. Default => return false.

Definition at line 306 of file property-condition-functions.h.

Member Function Documentation

bool Dali::Internal::SceneGraph::Outside::EvalBoolean ( const Dali::PropertyInput value,
PropertyNotification::RawArgumentContainer arg 
)
staticprivate

Checks if bool is Outside.

Parameters
[in]valueThe value being examined.
[in]argThe supplied arguments for the condition.
Returns
Condition result (true if condition met, false if not)

Definition at line 349 of file property-condition-functions.cpp.

References Dali::PropertyInput::GetBoolean().

Referenced by GetFunction().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Dali::Internal::SceneGraph::Outside::EvalDefault ( const Dali::PropertyInput value,
PropertyNotification::RawArgumentContainer arg 
)
staticprivate

Default check for other types.

Parameters
[in]valueThe value being examined.
[in]argThe supplied arguments for the condition.
Returns
Condition result (true if condition met, false if not)

Definition at line 385 of file property-condition-functions.cpp.

Referenced by GetFunction().

Here is the caller graph for this function:

bool Dali::Internal::SceneGraph::Outside::EvalFloat ( const Dali::PropertyInput value,
PropertyNotification::RawArgumentContainer arg 
)
staticprivate

Checks if float is Outside.

Parameters
[in]valueThe value being examined.
[in]argThe supplied arguments for the condition.
Returns
Condition result (true if condition met, false if not)

Definition at line 361 of file property-condition-functions.cpp.

References Dali::PropertyInput::GetFloat().

Referenced by GetFunction().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Dali::Internal::SceneGraph::Outside::EvalInteger ( const Dali::PropertyInput value,
PropertyNotification::RawArgumentContainer arg 
)
staticprivate

Checks if integer is Outside.

Parameters
[in]valueThe value being examined.
[in]argThe supplied arguments for the condition.
Returns
Condition result (true if condition met, false if not)

Definition at line 355 of file property-condition-functions.cpp.

References Dali::PropertyInput::GetInteger().

Referenced by GetFunction().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Dali::Internal::SceneGraph::Outside::EvalVector2 ( const Dali::PropertyInput value,
PropertyNotification::RawArgumentContainer arg 
)
staticprivate

Checks if Vector2.Length() is Outside.

Parameters
[in]valueThe value being examined.
[in]argThe supplied arguments for the condition.
Returns
Condition result (true if condition met, false if not)

Definition at line 367 of file property-condition-functions.cpp.

References Dali::PropertyInput::GetVector2(), and Dali::Vector2::LengthSquared().

Referenced by GetFunction().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Dali::Internal::SceneGraph::Outside::EvalVector3 ( const Dali::PropertyInput value,
PropertyNotification::RawArgumentContainer arg 
)
staticprivate

Checks if Vector3.Length() is Outside.

Parameters
[in]valueThe value being examined.
[in]argThe supplied arguments for the condition.
Returns
Condition result (true if condition met, false if not)

Definition at line 373 of file property-condition-functions.cpp.

References Dali::PropertyInput::GetVector3(), and Dali::Vector3::LengthSquared().

Referenced by GetFunction().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Dali::Internal::SceneGraph::Outside::EvalVector4 ( const Dali::PropertyInput value,
PropertyNotification::RawArgumentContainer arg 
)
staticprivate

Checks if Vector4.Length() is Outside.

Parameters
[in]valueThe value being examined.
[in]argThe supplied arguments for the condition.
Returns
Condition result (true if condition met, false if not)

Definition at line 379 of file property-condition-functions.cpp.

References Dali::PropertyInput::GetVector4(), and Dali::Vector4::LengthSquared().

Referenced by GetFunction().

Here is the call graph for this function:

Here is the caller graph for this function:

ConditionFunction Dali::Internal::SceneGraph::Outside::GetFunction ( Property::Type  valueType)
static
Returns
function pointer to the correct condition function, based on the type of value being examined.

Definition at line 303 of file property-condition-functions.cpp.

References Dali::Property::BOOLEAN, EvalBoolean(), EvalDefault(), EvalFloat(), EvalInteger(), EvalVector2(), EvalVector3(), EvalVector4(), Dali::Property::FLOAT, Dali::Property::INTEGER, Dali::Property::VECTOR2, Dali::Property::VECTOR3, and Dali::Property::VECTOR4.

Referenced by Dali::Internal::SceneGraph::PropertyNotification::PropertyNotification().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Dali Docs Home
Read more about Dali