You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
319 B
15 lines
319 B
10 years ago
|
#ifndef __NOTIFYDEVICE_H__
|
||
|
#define __NOTIFYDEVICE_H__
|
||
|
|
||
|
class NotifyDevice {
|
||
|
public:
|
||
|
virtual ~NotifyDevice() {}
|
||
|
// init - initialised the device
|
||
|
virtual bool init(void) = 0;
|
||
|
// update - updates device according to timed_updated. Should be
|
||
|
// called at 50Hz
|
||
|
virtual void update() = 0;
|
||
|
};
|
||
|
|
||
|
#endif
|