fprime/Autocoders/Python/test/command1/TestCommand1Impl.cpp
M Starch 073843ad9e
Update/object names 0 (#1389)
* 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
2022-04-12 18:05:34 -07:00

32 lines
780 B
C++

/*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/command1/TestCommand1Impl.hpp>
#include <cstdio>
TestCommand1Impl::TestCommand1Impl(const char* name) : Test1ComponentBase(name)
{
// TODO Auto-generated constructor stub
}
TestCommand1Impl::~TestCommand1Impl() {
// TODO Auto-generated destructor stub
}
void TestCommand1Impl::init() {
Test1ComponentBase::init();
}
void TestCommand1Impl::aport_handler(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6) {
}
void TestCommand1Impl::TEST_CMD_1_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, I32 arg1, F32 arg2, U8 arg3) {
printf("Got command args: %d %f %d\n", arg1, arg2, arg3 );
this->cmdResponse_out(opCode,cmdSeq,Fw::CmdResponse::OK);
}