ALOE Execution Status

void Relinquish (int nslots)
int Status (void)

Defines

#define PHAL_STATUS_INIT   2
#define PHAL_STATUS_RUN   3
#define PHAL_STATUS_PAUSE   4
#define PHAL_STATUS_STOP   6

Detailed Description

This constants define the objects Execution Status

Define Documentation

#define PHAL_STATUS_INIT   2

#define PHAL_STATUS_PAUSE   4

#define PHAL_STATUS_RUN   3

#define PHAL_STATUS_STOP   6


Function Documentation

void Relinquish ( int  nslots  ) 

Relinquish Function.

Realeases the CPU ownership of the object. Object goes sleep until the beggining of the next time slot. This function must be called on every object's execution cycle (see ALOE Manual)

Parameters:
nslots Number of slots to sleep (default 1)

int Status ( void   ) 

Get Status.

Get current object status. This function does not return until object has something to do, that is, status is RUN or the first INIT or CLOSE.

Returns:
PHAL_STATUS_INIT, PHAL_STATUS_RUN or PHAL_STATUS_CLOSE


Generated on Thu Jul 29 19:37:21 2010 for ALOESoftwareAPI(SWAPI) by  doxygen 1.5.5