mirror of
https://github.com/nasa/fprime.git
synced 2025-12-11 13:54:34 -06:00
27 lines
815 B
C++
27 lines
815 B
C++
/*
|
|
* TestCommand1Impl.hpp
|
|
*
|
|
* Created on: Mar 28, 2014
|
|
* Author: tcanham
|
|
*/
|
|
|
|
#ifndef TESTCOMMANDSOURCEIMPL_HPP_
|
|
#define TESTCOMMANDSOURCEIMPL_HPP_
|
|
|
|
#include <Autocoders/Python/test/command_tester/CommandTestComponentAc.hpp>
|
|
|
|
class TestCommandSourceImpl: public Cmd::CommandTesterComponentBase {
|
|
public:
|
|
TestCommandSourceImpl(const char* compName);
|
|
virtual ~TestCommandSourceImpl();
|
|
void init();
|
|
void test_TEST_CMD_1(I32 arg1, F32 arg2, U8 arg3);
|
|
protected:
|
|
void cmdStatusPort_handler(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response);
|
|
void cmdRegPort_handler(FwIndexType portNum, FwOpcodeType opCode);
|
|
private:
|
|
void printStatus(Fw::CmdResponse response);
|
|
};
|
|
|
|
#endif /* TESTCOMMANDSOURCEIMPL_HPP_ */
|