|
/*
FILE:Player_c.h
NOTE: The State Machine Wizard will add mapping macros between /*{{ and /*}}. Do NOT modify manually.
*/
#ifndef PLAYER_H
#define PLAYER_H
#include "sme.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Pre-declare states that are referenced before they are defined */
SME_BEGIN_STATE_DECLARE(DummyRoot)
SME_COMP_STATE_DECLARE(Player)
SME_COMP_STATE_DECLARE(PlayerUp)
SME_LEAF_STATE_DECLARE(PowerDown)
SME_PSEUDO_STATE_DECLARE(Cond1)
SME_PSEUDO_STATE_DECLARE(Join1)
SME_END_STATE_DECLARE
SME_BEGIN_EVENT_HANDLER(Player,Player)
SME_EVENT_HANDLER_DEC(OnTimer2Proc)
SME_EVENT_HANDLER_DEC(PlayerEntry)
SME_EVENT_HANDLER_DEC(PlayerExit)
SME_EVENT_HANDLER_DEC(PowerDownEntry)
SME_EVENT_HANDLER_DEC(PowerDownExit)
SME_EVENT_HANDLER_DEC(PowerUpEntry)
SME_EVENT_HANDLER_DEC(PowerUpExit)
SME_EVENT_HANDLER_DEC(PlayingEntry)
SME_EVENT_HANDLER_DEC(PlayingExit)
SME_EVENT_HANDLER_DEC(PauseEntry)
SME_EVENT_HANDLER_DEC(PauseExit)
SME_EVENT_HANDLER_DEC(OnPowerDownEXT_EVENT_ID_POWER)
SME_EVENT_HANDLER_DEC(OnPlayingEXT_EVENT_ID_PAUSE_RESUME)
SME_EVENT_HANDLER_DEC(OnPauseEXT_EVENT_ID_PAUSE_RESUME)
SME_EVENT_HANDLER_DEC(OnPowerUpEXT_EVENT_ID_POWER)
SME_EVENT_HANDLER_DEC(Cond1_func)
SME_EVENT_HANDLER_DEC(CondAct1)
SME_EVENT_HANDLER_DEC(CondAct2)
SME_EVENT_HANDLER_DEC(CondActElse)
SME_EVENT_HANDLER_DEC(JoinAct)
SME_END_EVENT_HANDLER(Player,Player)
BOOL Guard1_func(SME_OBJ_T *pDestApp, SME_EVENT_T *pEvent);
BOOL GuardTimer2_func(SME_OBJ_T *pDestApp, SME_EVENT_T *pEvent);
#ifdef __cplusplus
}
#endif
#endif
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.