ardupilot/libraries/AP_PeriodicProcess/PeriodicProcess.h
Pat Hickey d288b8870d purple: added PeriodicProcess library
this library provides a clean API for drivers to request periodic
timer driven calls at whatever rate they need
2011-11-25 20:00:16 -08:00

12 lines
201 B
C++

#ifndef __PERIODICPROCESS_H__
#define __PERIODICPROCESS_H__
class AP_PeriodicProcess
{
public:
virtual void register_process(void (* proc)(void)) = 0;
};
#endif // __PERIODICPROCESS_H__