void setDefinedEventArray()
Register event provided by RaSim
void addUserEvent(void (*user_event)())
Register user defined events
user_event - user defined events
void setEventPause(int status)
Set event occurrence
status - FALSE => event occurrence, TRUE => Pause event occurrence
int getEventPause()
Return status of event_pause
RETURN - status of event_pause
int getNumberofEventOccurrences()
Return number of event occurrence
RETURN - number of event occurrence
void userEventManager(void (*UEM)())
Replace with user defined event manager
UEM - User Event Manager
void requestRandomSensorData()
Request random sensing data from any thing
void breakRandomThingDown()
Break a random thing
int getRandomNumber(int criterion, int offset)
Return random number
criterion - criterion
offset - offset
RETURN - random number % criterion + offset
void generateRandomEvent()
Occur random event in event array
void generateRandomDefinedEvent()
Occur an random event provided by RaSim
void generateRandomUserEvent()
Occur an random event in user defined events
void generateEvent(int event_num)
occur 'event_num'th event
event_num - event number
void generateUserEvent(int event_num)
occur 'event_num'th event in user defined events
event_num - event number
void generateDefinedEvent(int event_num)
occur 'event_num'th event in provided by RaSim
event_num - event number
void makeEventManager();
Generate event manager