ardupilot/libraries/AP_HAL_SITL/HAL_SITL_Class.h
Andrew Tridgell 40e3b422b5 HAL_SITL: rename HAL_AVR_SITL to HAL_SITL
it is nothing to do with the original AVR emulation now
2015-05-05 09:45:54 +10:00

27 lines
498 B
C++

#ifndef __AP_HAL_SITL_CLASS_H__
#define __AP_HAL_SITL_CLASS_H__
#include <AP_HAL.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
#include <AP_HAL_SITL.h>
#include "AP_HAL_SITL_Namespace.h"
#include "SITL_State.h"
class HAL_SITL : public AP_HAL::HAL {
public:
HAL_SITL();
void init(int argc, char * const argv[]) const;
private:
HALSITL::SITL_State *_sitl_state;
};
extern const HAL_SITL AP_HAL_SITL;
#endif // CONFIG_HAL_BOARD == HAL_BOARD_SITL
#endif // __AP_HAL_SITL_CLASS_H__