ardupilot/libraries/AP_HAL_Empty/PrivateMember.h
Lucas De Marchi 2ffb08b9ca AP_HAL_Empty: remove prefix from classes
Like was done for AP_HAL_Linux in 2ac96b9 ("AP_HAL_Linux: remove prefix
from AP_HAL_Linux classes"), remove the "Empty" prefix from class names
since we are already inside the Empty namespace.
2015-12-08 11:12:14 +11:00

20 lines
370 B
C++

#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"
class Empty::PrivateMember {
public:
PrivateMember(uint16_t foo);
void init();
private:
uint16_t _foo;
};
#endif // __AP_HAL_EMPTY_PRIVATE_MEMBER_H__