本帖最后由 keer_zu 于 2023-2-28 10:26 编辑
class AppStateListener
:public ldra_class_1000030000 /* 75 */
{
public :
virtual ~AppStateListener () = default ;
/**
* [url=home.php?mod=space&uid=247401]@brief[/url] request the app starts to serve, such as start threads, apply for some resource
* @param none
* @param none
*
* [url=home.php?mod=space&uid=266161]@return[/url] 0 indicates success
*/
virtual uint8_t onStart () = 0 ;
/**
* @brief request the app stops to serve, such as stop threads, release resource
* @param none
* @param none
*
* @return 0 indicates success
*/
virtual uint8_t onStop () = 0 ;
/**
* @brief notify of SM changed state
* @param fg function group
* @param state current changed state of the fg
*
* @return 0 indicates success
*/
virtual uint8_t
onStateChanged ( FG_TYPE fg , FG_STATE state )
#if defined(LDRA_dummy_global) || defined(LDRA_dummy_1_1)
{
int ievent_handler_1zzqqzz
= event_handler_1zzqqzz ( 1 ) ; /* 37 */
event_handler_1zzqqzz ( 2 ) ; /* 48 */
return
0 ;
} ;
#else
; /* end of prototype alternative */
#endif /* endof dummy_ */
}
出错:
undefined reference to `vtable for AppStateListener'
|