fprime/Autocoders/Python/test/tlm_string/TestTelemImpl.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

30 lines
596 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(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6) {
}