Tizen Native API  6.5
Dali::BaseSignal::EmitGuard Struct Reference

Used to guard against nested Emit() calls. More...

Public Member Functions

 EmitGuard (bool &flag)
 Creates the guard.
 ~EmitGuard ()
 Non-virtual destructor.
bool ErrorOccurred ()
 Determines if an error occurred.

Public Attributes

bool * mFlag
 Pointer to the emit guard flag.

Detailed Description

Used to guard against nested Emit() calls.

Since:
3.0, DALi version 1.0.0

Constructor & Destructor Documentation

Creates the guard.

Since:
3.0, DALi version 1.0.0
Parameters:
[in,out]flagThis flag will be set to true during Emit() calls

Non-virtual destructor.

Since:
3.0, DALi version 1.0.0

Member Function Documentation

Determines if an error occurred.

Since:
3.0, DALi version 1.0.0
Returns:
True if an error occurred i.e. if Emit() was called during Emit()