typedef result (Container::*methodType)(const Control &control);
static methodType container_addcontrolp;
DECLARE_COMMON_VARIABLE;
+ int blockresult;
+ bool bfiltering = false;
result ret;
GET_REAL_FUNC_TIZEN(_ZN5Tizen2Ui9Container10AddControlERKNS0_7ControlE, LIBOSP_UIFW, container_addcontrolp);
- probeBlockStart();
- if(unlikely(IsRegisteredFrameAnimatorEventListener == false))
+ if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, OPT_ALWAYSON)) != 0)
{
- char *type = NULL, *classname = NULL;
- if(likely(find_uiobject_hash((void*)this, &type, &classname) == 1)) // there is entry in object hash
+ if(unlikely(IsRegisteredFrameAnimatorEventListener == false))
{
- if(strcmp(type, "Frame") == 0)
+ char *type = NULL, *classname = NULL;
+ if(likely(find_uiobject_hash((void*)this, &type, &classname) == 1)) // there is entry in object hash
{
- FrameAnimator* fa = ((Frame*)this)->GetFrameAnimator();
- if(fa != NULL)
- {
- fa->AddFrameAnimatorEventListener(GetFrameAnimatorEventListener());
- IsRegisteredFrameAnimatorEventListener = true;
- }
- else // frame is not yet constructed
+ if(strcmp(type, "Frame") == 0)
{
+ FrameAnimator* fa = ((Frame*)this)->GetFrameAnimator();
+ if(fa != NULL)
+ {
+ fa->AddFrameAnimatorEventListener(GetFrameAnimatorEventListener());
+ IsRegisteredFrameAnimatorEventListener = true;
+ }
+ else // frame is not yet constructed
+ {
+ }
}
}
}
+ preBlockEnd();
}
- probeBlockEnd();
ret = (this->*container_addcontrolp)(control);
- probeBlockStart();
- if(ret == E_SUCCESS)
+ if(postBlockBegin(blockresult))
{
- IsInTouchMode();
- control.IsInTouchMode();
-
- if(isOptionEnabled(OPT_UI))
+ if(ret == E_SUCCESS)
{
- setProbePoint(&probeInfo);
- INIT_LOG;
- APPEND_LOG_BASIC_NAME(LC_UICREATE, "AddControl");
- APPEND_LOG_COMMON_NONE(CALLER_ADDRESS);
- APPEND_LOG_CONTROL_TIZEN(this);
- APPEND_LOG_CONTROL_TIZEN(&control);
- printLog(&log, MSG_LOG);
+ IsInTouchMode();
+ control.IsInTouchMode();
+
+ if(isOptionEnabled(OPT_UI))
+ {
+ setProbePoint(&probeInfo);
+ INIT_LOG;
+ APPEND_LOG_BASIC_NAME(LC_UICREATE, "AddControl");
+ APPEND_LOG_COMMON_NONE(CALLER_ADDRESS);
+ APPEND_LOG_CONTROL_TIZEN(this);
+ APPEND_LOG_CONTROL_TIZEN(&control);
+ printLog(&log, MSG_LOG);
+ }
}
+ postBlockEnd();
}
- probeBlockEnd();
return ret;
}
typedef result (Container::*methodType)(Control* control);
static methodType container_addcontrolp;
DECLARE_COMMON_VARIABLE;
+ int blockresult;
+ bool bfiltering = false;
result ret;
GET_REAL_FUNC_TIZEN(_ZN5Tizen2Ui9Container10AddControlEPNS0_7ControlE, LIBOSP_UIFW, container_addcontrolp);
- probeBlockStart();
- if(unlikely(IsRegisteredFrameAnimatorEventListener == false))
+ if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, OPT_ALWAYSON)) != 0)
{
- char *type = NULL, *classname = NULL;
- if(likely(find_uiobject_hash((void*)this, &type, &classname) == 1)) // there is entry in object hash
+ if(unlikely(IsRegisteredFrameAnimatorEventListener == false))
{
- if(strcmp(type, "Frame") == 0)
+ char *type = NULL, *classname = NULL;
+ if(likely(find_uiobject_hash((void*)this, &type, &classname) == 1)) // there is entry in object hash
{
- FrameAnimator* fa = ((Frame*)this)->GetFrameAnimator();
- if(fa != NULL)
- {
- fa->AddFrameAnimatorEventListener(GetFrameAnimatorEventListener());
- IsRegisteredFrameAnimatorEventListener = true;
- }
- else // frame is not yet constructed
+ if(strcmp(type, "Frame") == 0)
{
+ FrameAnimator* fa = ((Frame*)this)->GetFrameAnimator();
+ if(fa != NULL)
+ {
+ fa->AddFrameAnimatorEventListener(GetFrameAnimatorEventListener());
+ IsRegisteredFrameAnimatorEventListener = true;
+ }
+ else // frame is not yet constructed
+ {
+ }
}
}
}
+ preBlockEnd();
}
- probeBlockEnd();
ret = (this->*container_addcontrolp)(control);
- probeBlockStart();
- if(ret == E_SUCCESS)
+ if(postBlockBegin(blockresult))
{
- IsInTouchMode();
- control->IsInTouchMode();
-
- if(isOptionEnabled(OPT_UI))
+ if(ret == E_SUCCESS)
{
- setProbePoint(&probeInfo);
- INIT_LOG;
- APPEND_LOG_BASIC_NAME(LC_UICREATE, "AddControl");
- APPEND_LOG_COMMON_NONE(CALLER_ADDRESS);
- APPEND_LOG_CONTROL_TIZEN(this);
- APPEND_LOG_CONTROL_TIZEN(control);
- printLog(&log, MSG_LOG);
+ IsInTouchMode();
+ control->IsInTouchMode();
+
+ if(isOptionEnabled(OPT_UI))
+ {
+ setProbePoint(&probeInfo);
+ INIT_LOG;
+ APPEND_LOG_BASIC_NAME(LC_UICREATE, "AddControl");
+ APPEND_LOG_COMMON_NONE(CALLER_ADDRESS);
+ APPEND_LOG_CONTROL_TIZEN(this);
+ APPEND_LOG_CONTROL_TIZEN(control);
+ printLog(&log, MSG_LOG);
+ }
}
+ postBlockEnd();
}
- probeBlockEnd();
return ret;
}
typedef result (Container::*methodType)(const Control &control);
static methodType container_removecontrolp;
DECLARE_COMMON_VARIABLE;
+ int blockresult;
+ bool bfiltering = false;
result ret;
bool bOption;
GET_REAL_FUNC_TIZEN(_ZN5Tizen2Ui9Container13RemoveControlERKNS0_7ControlE, LIBOSP_UIFW, container_removecontrolp);
- probeBlockStart();
- control.IsInTouchMode();
-
- if((bOption = isOptionEnabled(OPT_UI)))
+ if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, OPT_ALWAYSON)) != 0)
{
- setProbePoint(&probeInfo);
- INIT_LOG;
- APPEND_LOG_BASIC_NAME(LC_UICREATE, "RemoveControl");
- APPEND_LOG_COMMON_NONE(CALLER_ADDRESS);
- APPEND_LOG_CONTROL_TIZEN(this);
- APPEND_LOG_CONTROL_TIZEN(&control);
+ control.IsInTouchMode();
+
+ if((bOption = isOptionEnabled(OPT_UI)))
+ {
+ setProbePoint(&probeInfo);
+ INIT_LOG;
+ APPEND_LOG_BASIC_NAME(LC_UICREATE, "RemoveControl");
+ APPEND_LOG_COMMON_NONE(CALLER_ADDRESS);
+ APPEND_LOG_CONTROL_TIZEN(this);
+ APPEND_LOG_CONTROL_TIZEN(&control);
+ }
+ preBlockEnd();
}
- probeBlockEnd();
ret = (this->*container_removecontrolp)(control);
- probeBlockStart();
- if(ret == E_SUCCESS)
+ if(postBlockBegin(blockresult))
{
- if(bOption)
- printLog(&log, MSG_LOG);
+ if(ret == E_SUCCESS)
+ {
+ if(bOption)
+ printLog(&log, MSG_LOG);
+ }
+ postBlockEnd();
}
- probeBlockEnd();
return ret;
}
typedef result (Container::*methodType)(Control* control);
static methodType container_removecontrolp;
DECLARE_COMMON_VARIABLE;
+ int blockresult;
+ bool bfiltering = false;
result ret;
bool bOption;
GET_REAL_FUNC_TIZEN(_ZN5Tizen2Ui9Container13RemoveControlEPNS0_7ControlE, LIBOSP_UIFW, container_removecontrolp);
- probeBlockStart();
- control->IsInTouchMode();
-
- if((bOption = isOptionEnabled(OPT_UI)))
+ if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, OPT_ALWAYSON)) != 0)
{
- setProbePoint(&probeInfo);
- INIT_LOG;
- APPEND_LOG_BASIC_NAME(LC_UICREATE, "RemoveControl");
- APPEND_LOG_COMMON_NONE(CALLER_ADDRESS);
- APPEND_LOG_CONTROL_TIZEN(this);
- APPEND_LOG_CONTROL_TIZEN(control);
+ control->IsInTouchMode();
+
+ if((bOption = isOptionEnabled(OPT_UI)))
+ {
+ setProbePoint(&probeInfo);
+ INIT_LOG;
+ APPEND_LOG_BASIC_NAME(LC_UICREATE, "RemoveControl");
+ APPEND_LOG_COMMON_NONE(CALLER_ADDRESS);
+ APPEND_LOG_CONTROL_TIZEN(this);
+ APPEND_LOG_CONTROL_TIZEN(control);
+ }
+ preBlockEnd();
}
- probeBlockEnd();
ret = (this->*container_removecontrolp)(control);
- probeBlockStart();
- if(ret == E_SUCCESS)
+ if(postBlockBegin(blockresult))
{
- if(bOption)
- printLog(&log, MSG_LOG);
+ if(ret == E_SUCCESS)
+ {
+ if(bOption)
+ printLog(&log, MSG_LOG);
+ }
+ postBlockEnd();
}
- probeBlockEnd();
return ret;
}
typedef result (Container::*methodType)(int index);
static methodType container_removecontrolip;
DECLARE_COMMON_VARIABLE;
+ int blockresult;
+ bool bfiltering = false;
result ret;
bool bOption;
GET_REAL_FUNC_TIZEN(_ZN5Tizen2Ui9Container13RemoveControlEi, LIBOSP_UIFW, container_removecontrolip);
- probeBlockStart();
- Control* pcontrol = GetControl(index);
- pcontrol->IsInTouchMode();
-
- if((bOption = isOptionEnabled(OPT_UI)))
+ if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, OPT_ALWAYSON)) != 0)
{
- setProbePoint(&probeInfo);
- INIT_LOG;
- APPEND_LOG_BASIC_NAME(LC_UICREATE, "RemoveControl");
- APPEND_LOG_COMMON_NONE(CALLER_ADDRESS);
- APPEND_LOG_CONTROL_TIZEN(this);
- APPEND_LOG_CONTROL_TIZEN(pcontrol);
+ Control* pcontrol = GetControl(index);
+ pcontrol->IsInTouchMode();
+
+ if((bOption = isOptionEnabled(OPT_UI)))
+ {
+ setProbePoint(&probeInfo);
+ INIT_LOG;
+ APPEND_LOG_BASIC_NAME(LC_UICREATE, "RemoveControl");
+ APPEND_LOG_COMMON_NONE(CALLER_ADDRESS);
+ APPEND_LOG_CONTROL_TIZEN(this);
+ APPEND_LOG_CONTROL_TIZEN(pcontrol);
+ }
+ preBlockEnd();
}
- probeBlockEnd();
ret = (this->*container_removecontrolip)(index);
- probeBlockStart();
- if(ret == E_SUCCESS)
+ if(postBlockBegin(blockresult))
{
- if(bOption)
- printLog(&log, MSG_LOG);
+ if(ret == E_SUCCESS)
+ {
+ if(bOption)
+ printLog(&log, MSG_LOG);
+ }
+ postBlockEnd();
}
- probeBlockEnd();
return ret;
}
typedef void (Container::*methodType)(void);
static methodType container_removeallcontrolp;
DECLARE_COMMON_VARIABLE;
-
+ int blockresult;
+ bool bfiltering = false;
+
GET_REAL_FUNC_TIZEN(_ZN5Tizen2Ui9Container17RemoveAllControlsEv, LIBOSP_UIFW, container_removeallcontrolp);
- probeBlockStart();
- if(isOptionEnabled(OPT_UI))
+ if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, OPT_ALWAYSON)) != 0)
{
- Control* pcontrol = NULL;
- setProbePoint(&probeInfo);
- INIT_LOG;
- APPEND_LOG_BASIC_NAME(LC_UICREATE, "RemoveAllControl");
- APPEND_LOG_COMMON_NONE(CALLER_ADDRESS);
- APPEND_LOG_CONTROL_TIZEN(this);
- APPEND_LOG_CONTROL_TIZEN(pcontrol);
- printLog(&log, MSG_LOG);
+ if(isOptionEnabled(OPT_UI))
+ {
+ Control* pcontrol = NULL;
+ setProbePoint(&probeInfo);
+ INIT_LOG;
+ APPEND_LOG_BASIC_NAME(LC_UICREATE, "RemoveAllControl");
+ APPEND_LOG_COMMON_NONE(CALLER_ADDRESS);
+ APPEND_LOG_CONTROL_TIZEN(this);
+ APPEND_LOG_CONTROL_TIZEN(pcontrol);
+ printLog(&log, MSG_LOG);
+ }
+ preBlockEnd();
}
- probeBlockEnd();
(this->*container_removeallcontrolp)();
+
+ if(postBlockBegin(blockresult))
+ {
+ postBlockEnd();
+ }
}
} } // end of namespace Tizen::Ui