Tizen Native API
4.0
|
This is used to issue a notification upon a condition of the property being met. More...
Public Types | |
enum | NotifyMode |
Enumeration for description of how to check condition. More... | |
Public Member Functions | |
PropertyNotification () | |
Creates an uninitialized PropertyNotification; this can be initialized with PropertyNotification::New(). | |
~PropertyNotification () | |
Destructor. | |
PropertyNotification (const PropertyNotification &handle) | |
This copy constructor is required for (smart) pointer semantics. | |
PropertyNotification & | operator= (const PropertyNotification &rhs) |
This assignment operator is required for (smart) pointer semantics. | |
PropertyCondition | GetCondition () |
Gets the condition of this notification. | |
const PropertyCondition & | GetCondition () const |
Gets the condition of this notification. | |
Dali::Handle | GetTarget () const |
Gets the target handle that this notification is observing. | |
Property::Index | GetTargetProperty () const |
Gets the target handle's property index that this notification is observing. | |
void | SetNotifyMode (NotifyMode mode) |
Sets the Notification mode. | |
NotifyMode | GetNotifyMode () |
Retrieves the current Notification mode. | |
bool | GetNotifyResult () const |
Gets the result of the last condition check that caused a signal emit, useful when using NotifyOnChanged mode and need to know what it changed to. | |
PropertyNotifySignalType & | NotifySignal () |
Connects to this signal to be notified when the notification has occurred. | |
Static Public Member Functions | |
static PropertyNotification | DownCast (BaseHandle handle) |
Downcasts a handle to PropertyNotification handle. |
This is used to issue a notification upon a condition of the property being met.
For example checking if Actor::POSITION_X > 100.0.
Enumeration for description of how to check condition.
Creates an uninitialized PropertyNotification; this can be initialized with PropertyNotification::New().
Calling member functions with an uninitialized Dali::Object is not allowed.
Destructor.
This is non-virtual since derived Handle types must not contain data or virtual methods.
Dali::PropertyNotification::PropertyNotification | ( | const PropertyNotification & | handle | ) |
This copy constructor is required for (smart) pointer semantics.
[in] | handle | A reference to the copied handle |
static PropertyNotification Dali::PropertyNotification::DownCast | ( | BaseHandle | handle | ) | [static] |
Downcasts a handle to PropertyNotification handle.
If handle points to a PropertyNotification object, the downcast produces valid handle. If not, the returned handle is left uninitialized.
[in] | handle | to An object |
Gets the condition of this notification.
const PropertyCondition& Dali::PropertyNotification::GetCondition | ( | ) | const |
Gets the condition of this notification.
Retrieves the current Notification mode.
bool Dali::PropertyNotification::GetNotifyResult | ( | ) | const |
Gets the result of the last condition check that caused a signal emit, useful when using NotifyOnChanged mode and need to know what it changed to.
Gets the target handle that this notification is observing.
Gets the target handle's property index that this notification is observing.
Connects to this signal to be notified when the notification has occurred.
PropertyNotification& Dali::PropertyNotification::operator= | ( | const PropertyNotification & | rhs | ) |
This assignment operator is required for (smart) pointer semantics.
[in] | rhs | A reference to the copied handle |
void Dali::PropertyNotification::SetNotifyMode | ( | NotifyMode | mode | ) |
Sets the Notification mode.
This determines how the property notification should respond to the result of a condition.
[in] | mode | Notification mode (Default is PropertyNotification::NotifyOnTrue) |