mirror of
https://github.com/nasa/fprime.git
synced 2025-12-12 07:43:50 -06:00
34 lines
689 B
C++
34 lines
689 B
C++
/*
|
|
* TestCommand1Impl.cpp
|
|
*
|
|
* Created on: Mar 28, 2014
|
|
* Author: tcanham
|
|
*/
|
|
|
|
#include <Autocoders/test/tlm_string/TestTelemImpl.hpp>
|
|
#include <stdio.h>
|
|
|
|
#if FW_OBJECT_NAMES == 1
|
|
TestTlmImpl::TestTlmImpl(const char* name) : Tlm::TestTlmComponentBase(name)
|
|
#else
|
|
TestTlmImpl::TestTlmImpl() : Tlm::TestTlmComponentBase()
|
|
#endif
|
|
{
|
|
}
|
|
|
|
TestTlmImpl::~TestTlmImpl() {
|
|
}
|
|
|
|
void TestTlmImpl::init(void) {
|
|
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) {
|
|
|
|
}
|