2012-12-14 21:55:38 -04:00
|
|
|
|
|
|
|
#ifndef __AP_HAL_EMPTY_PRIVATE_MEMBER_H__
|
|
|
|
#define __AP_HAL_EMPTY_PRIVATE_MEMBER_H__
|
|
|
|
|
|
|
|
/* Just a stub as an example of how to implement a private member of an
|
|
|
|
* AP_HAL module */
|
|
|
|
|
|
|
|
#include "AP_HAL_Empty.h"
|
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
class Empty::PrivateMember {
|
2012-12-14 21:55:38 -04:00
|
|
|
public:
|
2015-12-07 14:53:55 -04:00
|
|
|
PrivateMember(uint16_t foo);
|
2012-12-14 21:55:38 -04:00
|
|
|
void init();
|
|
|
|
private:
|
|
|
|
uint16_t _foo;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __AP_HAL_EMPTY_PRIVATE_MEMBER_H__
|
|
|
|
|