mirror of
https://github.com/nasa/fprime.git
synced 2025-12-11 23:38:06 -06:00
* lestarch: stripping out FW_OBJECT_NAMES from Autocoder tests * lestarch: scrubbing FW_OBJECT_NAMES from templates * lestarch: scrubbing FW_OBJECT_NAMES from templates dir * lestarch: fixing polytype toString usage * lestarch: fixing more FW_OBJECT_NAMES
28 lines
920 B
C++
28 lines
920 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>
|
|
#include <Autocoders/Python/test/command_string/TestComponentAc.hpp>
|
|
|
|
class TestCommandSourceImpl: public Cmd::CommandTesterComponentBase {
|
|
public:
|
|
TestCommandSourceImpl(const char* compName);
|
|
virtual ~TestCommandSourceImpl();
|
|
void init();
|
|
void test_TEST_CMD_1(I32 arg1, const Fw::CmdStringArg& arg2, I32 arg3);
|
|
protected:
|
|
void cmdStatusPort_handler(NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response);
|
|
void cmdRegPort_handler(NATIVE_INT_TYPE portNum, FwOpcodeType opCode);
|
|
private:
|
|
void printStatus(const Fw::CmdResponse& response);
|
|
};
|
|
|
|
#endif /* TESTCOMMANDSOURCEIMPL_HPP_ */
|