fprime/Autocoders/Python/test/tlm_string/TestTelemImpl.cpp

30 lines
592 B
C++

/*
* TestCommand1Impl.cpp
*
* Created on: Mar 28, 2014
* Author: tcanham
*/
#include <Autocoders/Python/test/tlm_string/TestTelemImpl.hpp>
#include <cstdio>
TestTlmImpl::TestTlmImpl(const char* name) : Tlm::TestTlmComponentBase(name)
{
}
TestTlmImpl::~TestTlmImpl() {
}
void TestTlmImpl::init() {
Tlm::TestTlmComponentBase::init();
}
void TestTlmImpl::genTlm(Fw::TlmString& val) {
printf("Writing value \"%s\" to telemetry.\n",val.toChar());
this->tlmWrite_stringchan(val);
}
void TestTlmImpl::aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6) {
}