fpp/compiler/tools/fpp-to-cpp/test/component/test-impl/ActiveCommandsTester.ref.cpp
Robert L. Bocchino Jr b765cb4b34 Revise generated C++ code
Replace uses of native types for port numbers
2024-02-27 15:28:45 -08:00

83 lines
1.9 KiB
C++

// ======================================================================
// \title ActiveCommandsTester.cpp
// \author [user name]
// \brief cpp file for ActiveCommands component test harness implementation class
// ======================================================================
#include "ActiveCommandsTester.hpp"
// ----------------------------------------------------------------------
// Construction and destruction
// ----------------------------------------------------------------------
ActiveCommandsTester ::
ActiveCommandsTester() :
ActiveCommandsGTestBase("ActiveCommandsTester", ActiveCommandsTester::MAX_HISTORY_SIZE),
component("ActiveCommands")
{
this->initComponents();
this->connectPorts();
}
ActiveCommandsTester ::
~ActiveCommandsTester()
{
}
// ----------------------------------------------------------------------
// Tests
// ----------------------------------------------------------------------
void ActiveCommandsTester ::
toDo()
{
// TODO
}
// ----------------------------------------------------------------------
// Handlers for typed from ports
// ----------------------------------------------------------------------
void ActiveCommandsTester ::
from_noArgsOut_handler(FwIndexType portNum)
{
// TODO
}
U32 ActiveCommandsTester ::
from_noArgsReturnOut_handler(FwIndexType portNum)
{
// TODO return
}
void ActiveCommandsTester ::
from_typedOut_handler(
FwIndexType portNum,
U32 u32,
F32 f32,
bool b,
const Ports::TypedPortStrings::StringSize80& str1,
const E& e,
const A& a,
const S& s
)
{
// TODO
}
F32 ActiveCommandsTester ::
from_typedReturnOut_handler(
FwIndexType portNum,
U32 u32,
F32 f32,
bool b,
const Ports::TypedReturnPortStrings::StringSize80& str2,
const E& e,
const A& a,
const S& s
)
{
// TODO return
}