NerfUS mobile node that manages a target for the Nerf gun firing range

Dependencies:   LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager

Fork of NerfUS by NerfUS

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers MockTarget.hpp Source File

MockTarget.hpp

00001 #ifndef MOCK_TARGET_HPP
00002 #define MOCK_TARGET_HPP
00003 
00004 #include "TargetInterface.hpp"
00005 
00006 class MockTarget : public TargetInterface
00007 {
00008     public:
00009         MOCK_METHOD0(ally_command, void());
00010         MOCK_METHOD0(enemy_command, void());
00011         MOCK_METHOD1(timeout, void(int));
00012         MOCK_METHOD1(hit, void(int));
00013 };
00014 
00015 #endif
00016