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

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

Public Member Functions

 EmitGuard (bool &flag)
 Create the guard.
 ~EmitGuard ()
 Non-virtual destructor.
bool ErrorOccurred ()
 Determine if an error occured.

Public Attributes

bool * mFlag
 Pointer to the emit guard flag.

Detailed Description

Used to guard against nested Emit() calls.

Since :
2.4

Constructor & Destructor Documentation

Create the guard.

Since :
2.4
Parameters:
[in,out]flagThis flag will be set to true during Emit() calls.

Non-virtual destructor.

Since :
2.4

Member Function Documentation

Determine if an error occured.

Since :
2.4
Returns:
True if an error occurred i.e. if Emit() was called during Emit()