ardupilot/libraries/AP_HAL_SMACCM/PrivateMember.h

20 lines
387 B
C
Raw Normal View History

#ifndef __AP_HAL_SMACCM_PRIVATE_MEMBER_H__
#define __AP_HAL_SMACCM_PRIVATE_MEMBER_H__
/* Just a stub as an example of how to implement a private member of an
* AP_HAL module */
#include "AP_HAL_SMACCM.h"
class SMACCM::SMACCMPrivateMember {
public:
SMACCMPrivateMember(uint16_t foo);
void init();
private:
uint16_t _foo;
};
#endif // __AP_HAL_SMACCM_PRIVATE_MEMBER_H__