2011-11-12 23:02:24 -04:00
|
|
|
|
|
|
|
#ifndef __PERIODICPROCESS_H__
|
|
|
|
#define __PERIODICPROCESS_H__
|
|
|
|
|
2011-12-09 01:27:50 -04:00
|
|
|
typedef void (*ap_procedure)(void);
|
|
|
|
|
2011-11-12 23:02:24 -04:00
|
|
|
class AP_PeriodicProcess
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void register_process(void (* proc)(void)) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __PERIODICPROCESS_H__
|