fprime/Autocoders/Python/test/command2/TestCommandComponentImpl.cpp
2019-04-18 14:12:02 -07:00

82 lines
2.0 KiB
C++

// ======================================================================
// \title TestCommandImpl.cpp
// \author tim
// \brief cpp file for TestCommand component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
// ======================================================================
#include <Autocoders/Python/test/command2/TestCommandComponentImpl.hpp>
#include "Fw/Types/BasicTypes.hpp"
namespace AcTest {
// ----------------------------------------------------------------------
// Construction, initialization, and destruction
// ----------------------------------------------------------------------
TestCommandComponentImpl ::
#if FW_OBJECT_NAMES == 1
TestCommandComponentImpl(
const char *const compName
) :
TestCommandComponentBase(compName)
#else
TestCommandImpl(void)
#endif
{
}
void TestCommandComponentImpl ::
init(
const NATIVE_INT_TYPE queueDepth,
const NATIVE_INT_TYPE instance
)
{
TestCommandComponentBase::init(queueDepth, instance);
}
TestCommandComponentImpl ::
~TestCommandComponentImpl(void)
{
}
// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
// ----------------------------------------------------------------------
void TestCommandComponentImpl ::
aport_handler(
const NATIVE_INT_TYPE portNum,
I32 arg4,
F32 arg5,
U8 arg6
)
{
// TODO
}
// ----------------------------------------------------------------------
// Command handler implementations
// ----------------------------------------------------------------------
void TestCommandComponentImpl ::
TEST_CMD_1_cmdHandler(
const FwOpcodeType opCode,
const U32 cmdSeq,
I32 arg1,
SomeEnum arg2
)
{
// TODO
}
} // end namespace AcTest