repo_name
stringclasses
10 values
file_path
stringlengths
29
222
content
stringlengths
24
926k
extention
stringclasses
5 values
fprime
data/projects/fprime/Autocoders/Python/test/tlm_multi_inst/TestTelemRecvImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/tlm1/TestTelemRecvImpl.hpp> #include <cstdio> TestTelemRecvImpl::TestTelemRecvImpl(const char* name) : Tlm::TelemTesterComponentBase(name) { } TestTelemRecvImpl::~TestTelemRecvImpl() { } void Test...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_multi_inst/TestTelemImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/tlm_multi_inst/TestTelemImpl.hpp> #include <cstdio> TestTlmImpl::TestTlmImpl(const char* name) : Tlm::TestTlmComponentBase(name) { } TestTlmImpl::~TestTlmImpl() { } void TestTlmImpl::init() { ...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_multi_inst/TestTelemRecvImpl.hpp
/* * TestTelemRecvImpl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTTELEMRECVIMPL_HPP_ #define TESTTELEMRECVIMPL_HPP_ #include <Autocoders/Python/test/telem_tester/TelemTestComponentAc.hpp> class TestTelemRecvImpl: public Tlm::TelemTesterComponentBase { public: TestTelemRe...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_multi_inst/TestTelemImpl.hpp
/* * TestCommand1Impl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTCOMMAND1IMPL_HPP_ #define TESTCOMMAND1IMPL_HPP_ #include <Autocoders/Python/test/tlm_multi_inst/TestComponentAc.hpp> class TestTlmImpl: public Tlm::TestTlmComponentBase { public: TestTlmImpl(const char* com...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_multi_inst/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <tlm_multi_instGTestBase.hpp> #endif // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public Tlm::TestTlmTesterBase { public: ATester() : Tlm::TestTlmTesterBase("comp",10) { } }; int main(...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/testgen/MathSenderComponentImpl.hpp
// ====================================================================== // \title MathSenderComponentImpl.hpp // \author jishii // \brief hpp file for MathSender component implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States ...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/testgen/MathSenderComponentImpl.cpp
// ====================================================================== // \title MathSenderComponentImpl.cpp // \author jishii // \brief cpp file for MathSender component implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States ...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/testgen/test/ut/testgenTester.cpp
#include "testgenTester.hpp" #define INSTANCE 0 #define MAX_HISTORY_SIZE 10 #define QUEUE_DEPTH 10 namespace Ref { // ---------------------------------------------------------------------- // Construction and destruction // ---------------------------------------------------------------------- testgenTester...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/testgen/test/ut/testgenTester.hpp
#ifndef TESTER_HPP #define TESTER_HPP #include "testgenGTestBase.hpp" #include "Autocoders/Python/test/testgen/MathSenderComponentImpl.hpp" namespace Ref { class testgenTester : public MathSenderGTestBase { // ---------------------------------------------------------------------- // Construction...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/testgen/test/ut/testgenTestMain.cpp
#include "testgenTester.hpp" TEST(Nominal, TestAddCommand) { Ref::testgenTester tester; tester.testAddCommand(); } TEST(Nominal, TestSubCommand) { Ref::testgenTester tester; tester.testSubCommand(); } TEST(Nominal, TestMultCommand) { Ref::testgenTester tester; tester.testMultCommand(); } TEST(N...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/array_xml/ExampleArrayImpl.cpp
#include <Autocoders/Python/test/array_xml/ExampleArrayImpl.hpp> #include <FpConfig.hpp> #include <Fw/Types/String.hpp> #include <iostream> #include <cstdio> using namespace std; namespace Example { ExampleArrayImpl::ExampleArrayImpl(const char* compName) : Component1ComponentBase(compName) { } ExampleA...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/array_xml/ExampleArrayImpl.hpp
#ifndef EXAMPLE_ARRAY_IMPL_HPP #define EXAMPLE_ARRAY_IMPL_HPP #include <Autocoders/Python/test/array_xml/Component1ComponentAc.hpp> namespace Example { class ExampleArrayImpl : public Component1ComponentBase { public: // Only called by derived class ExampleArrayImpl(const char* compName); ~ExampleArrayI...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/array_xml/test/ut/main.cpp
#include <Autocoders/Python/test/array_xml/Component1ComponentAc.hpp> #include <Autocoders/Python/test/array_xml/InternalTypeArrayAc.hpp> #include <Autocoders/Python/test/array_xml/StringArrayArrayAc.hpp> #include <Autocoders/Python/test/array_xml/ArrayTypeArrayAc.hpp> #include <Autocoders/Python/test/array_xml/Port1Po...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_string/main.cpp
#include <Autocoders/Python/test/tlm_string/TestTelemImpl.hpp> #include <Autocoders/Python/test/tlm_string/TestTelemRecvImpl.hpp> #include <Autocoders/Python/test/time_tester/TestTimeImpl.hpp> #include <Fw/Obj/SimpleObjRegistry.hpp> int main(int argc, char* argv[]) { #if FW_PORT_TRACING Fw::PortBase::setTrace(tru...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_string/TestTelemRecvImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/tlm_string/TestTelemRecvImpl.hpp> #include <cstdio> #include <Fw/Tlm/TlmString.hpp> TestTelemRecvImpl::TestTelemRecvImpl(const char* name) : Tlm::TelemTesterComponentBase(name) { } TestTelemRecvImp...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_string/TestTelemImpl.cpp
/* * 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:...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_string/TestTelemRecvImpl.hpp
/* * TestTelemRecvImpl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTTELEMRECVIMPL_HPP_ #define TESTTELEMRECVIMPL_HPP_ #include <Autocoders/Python/test/telem_tester/TelemTestComponentAc.hpp> class TestTelemRecvImpl: public Tlm::TelemTesterComponentBase { public: TestTelemRe...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_string/TestTelemImpl.hpp
/* * TestCommand1Impl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTCOMMAND1IMPL_HPP_ #define TESTCOMMAND1IMPL_HPP_ #include <Autocoders/Python/test/tlm_string/TestComponentAc.hpp> class TestTlmImpl: public Tlm::TestTlmComponentBase { public: TestTlmImpl(const char* compNam...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_string/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <tlm_stringGTestBase.hpp> #endif // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public Tlm::TestTlmGTestBase { public: ATester() : Tlm::TestTlmGTestBase("comp",10) { } }; int main(int ar...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_enum/main.cpp
#include <Autocoders/Python/test/tlm_enum/TestTelemImpl.hpp> #include <Autocoders/Python/test/tlm_enum/TestTelemRecvImpl.hpp> #include <Autocoders/Python/test/time_tester/TestTimeImpl.hpp> #include <Fw/Obj/SimpleObjRegistry.hpp> int main(int argc, char* argv[]) { #if FW_PORT_TRACING Fw::PortBase::setTrace(true); ...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_enum/TestTelemRecvImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/tlm_enum/TestTelemRecvImpl.hpp> #include <cstdio> TestTelemRecvImpl::TestTelemRecvImpl(const char* name) : Tlm::TelemTesterComponentBase(name) { } TestTelemRecvImpl::~TestTelemRecvImpl() { } void...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_enum/TestTelemImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/tlm_enum/TestTelemImpl.hpp> #include <cstdio> TestTlmImpl::TestTlmImpl(const char* name) : Tlm::TestTlmComponentBase(name) { } TestTlmImpl::~TestTlmImpl() { } void TestTlmImpl::init() { Tlm::T...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_enum/TestTelemRecvImpl.hpp
/* * TestTelemRecvImpl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTTELEMRECVIMPL_HPP_ #define TESTTELEMRECVIMPL_HPP_ #include <Autocoders/Python/test/telem_tester/TelemTestComponentAc.hpp> class TestTelemRecvImpl: public Tlm::TelemTesterComponentBase { public: TestTelemRe...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_enum/TestTelemImpl.hpp
/* * TestCommand1Impl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTCOMMAND1IMPL_HPP_ #define TESTCOMMAND1IMPL_HPP_ #include <Autocoders/Python/test/tlm_enum/TestComponentAc.hpp> class TestTlmImpl: public Tlm::TestTlmComponentBase { public: TestTlmImpl(const char* compName)...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm_enum/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <tlm_enumGTestBase.hpp> #endif // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public Tlm::TestTlmGTestBase { public: ATester() : Tlm::TestTlmGTestBase("comp",10) { } }; int main(int argc...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command_multi_inst/main.cpp
#include <Autocoders/Python/test/command_multi_inst/TestCommand1Impl.hpp> #include <Autocoders/Python/test/command_multi_inst/TestCommandSourceImpl.hpp> #include <Fw/Obj/SimpleObjRegistry.hpp> int main(int argc, char* argv[]) { #if FW_PORT_TRACING Fw::PortBase::setTrace(true); #endif #if FW_OBJECT_REGISTRATION =...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command_multi_inst/TestCommand1Impl.hpp
/* * TestCommand1Impl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTCOMMAND1IMPL_HPP_ #define TESTCOMMAND1IMPL_HPP_ #include <Autocoders/Python/test/command_multi_inst/Test1ComponentAc.hpp> class TestCommand1Impl: public Cmd::Test1ComponentBase { public: TestCommand1Impl(co...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/command_multi_inst/TestCommand1Impl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/command_multi_inst/TestCommand1Impl.hpp> #include <cstdio> TestCommand1Impl::TestCommand1Impl(const char* name) : Test1ComponentBase(name) { // TODO Auto-generated constructor stub } TestComma...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command_multi_inst/TestCommandSourceImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/command1/TestCommandSourceImpl.hpp> #include <cstdio> TestCommandSourceImpl::TestCommandSourceImpl(const char* name) : Cmd::CommandTesterComponentBase(name) { // TODO Auto-generated constructor ...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command_multi_inst/TestCommandSourceImpl.hpp
/* * TestCommand1Impl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTCOMMANDSOURCEIMPL_HPP_ #define TESTCOMMANDSOURCEIMPL_HPP_ #include <Autocoders/Python/test/command_tester/CommandTestComponentAc.hpp> class TestCommandSourceImpl: public Cmd::CommandTesterComponentBase { public: ...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/command_multi_inst/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <command_multi_instGTestBase.hpp> #endif #include "TesterBase.hpp" #include <FpConfig.hpp> // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public Cmd::Test1GTestBase { public: ATester() : Cmd...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/interface1/UserSerializer.cpp
#include <Autocoders/Python/test/interface1/UserSerializer.hpp> #include <Fw/Types/Assert.hpp> #include <cstdio> namespace ANameSpace { UserSerializer::UserSerializer(): Serializable() { } UserSerializer::UserSerializer(const SomeUserStruct& src) : Serializable() { this->setVal(src); } UserSerializer::UserSeri...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/interface1/TestComponentImpl.hpp
/* * TestCommand1Impl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTCOMMAND1IMPL_HPP_ #define TESTCOMMAND1IMPL_HPP_ #include <Autocoders/Python/test/interface1/TestComponentAc.hpp> class TestComponentImpl: public Cmd::TestComponentBase { public: TestComponentImpl(const char...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/interface1/UserSerializer.hpp
#ifndef EXAMPLE_TYPE_HPP #define EXAMPLE_TYPE_HPP // A hand-coded serializable #include <FpConfig.hpp> #include <Fw/Types/Serializable.hpp> #include <Autocoders/Python/test/interface1/SomeStruct.hpp> #if FW_SERIALIZABLE_TO_STRING #include <Fw/Types/StringType.hpp> #endif namespace ANameSpace { class UserSeriali...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/interface1/TestComponentImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/interface1/TestComponentImpl.hpp> #include <cstdio> TestComponentImpl::TestComponentImpl(const char* name) : TestComponentBase(name) { // TODO Auto-generated constructor stub } TestComponentIm...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/interface1/SomeStruct.hpp
#ifndef SOME_STRUCT_HPP #define SOME_STRUCT_HPP #include <FpConfig.hpp> extern "C" { typedef struct { U32 mem1; F64 mem2; U8 mem3; } SomeUserStruct; } #endif
hpp
fprime
data/projects/fprime/Autocoders/Python/test/interface1/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <interface1GTestBase.hpp> #endif // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public Cmd::TestGTestBase { public: ATester() : Cmd::TestGTestBase("comp",10) { } }; int main(int argc, c...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/param1/TestPrmImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/param1/TestPrmImpl.hpp> #include <cstdio> TestPrmImpl::TestPrmImpl(const char* name) : Prm::TestPrmComponentBase(name) { } TestPrmImpl::~TestPrmImpl() { } void TestPrmImpl::init() { Prm::TestP...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/param1/main.cpp
#include <Autocoders/Python/test/param1/TestPrmImpl.hpp> #include <Autocoders/Python/test/param1/TestPrmSourceImpl.hpp> #include <Fw/Obj/SimpleObjRegistry.hpp> int main(int argc, char* argv[]) { #if FW_PORT_TRACING Fw::PortBase::setTrace(true); #endif #if FW_OBJECT_REGISTRATION == 1 Fw::SimpleObjRegistry obj...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/param1/TestPrmSourceImpl.hpp
/* * TestTelemRecvImpl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTPARAMRECVIMPL_HPP_ #define TESTPARAMRECVIMPL_HPP_ #include <Autocoders/Python/test/param_tester/ParamTestComponentAc.hpp> class TestParamSourceImpl: public Prm::ParamTesterComponentBase { public: TestParam...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/param1/TestPrmSourceImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/param1/TestPrmSourceImpl.hpp> #include <cstdio> TestParamSourceImpl::TestParamSourceImpl(const char* name) : Prm::ParamTesterComponentBase(name) { } TestParamSourceImpl::~TestParamSourceImpl() { } ...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/param1/TestPrmImpl.hpp
/* * TestPrmImpl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTPARAMIMPL_HPP_ #define TESTPARAMIMPL_HPP_ #include <Autocoders/Python/test/param1/TestComponentAc.hpp> class TestPrmImpl: public Prm::TestPrmComponentBase { public: TestPrmImpl(const char* compName); voi...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/param1/test/ut/param1Tester.cpp
// ---------------------------------------------------------------------- // Autocoders/Python/test/param1/test/ut/Tester.cpp // ---------------------------------------------------------------------- #include "param1Tester.hpp"
cpp
fprime
data/projects/fprime/Autocoders/Python/test/param1/test/ut/param1Main.cpp
// ---------------------------------------------------------------------- // Main.cpp // ---------------------------------------------------------------------- #include "param1Tester.hpp" int main(int argc, char **argv) { return 0; }
cpp
fprime
data/projects/fprime/Autocoders/Python/test/param1/test/ut/param1Tester.hpp
// ---------------------------------------------------------------------- // param1Tester.hpp // ---------------------------------------------------------------------- #ifndef TESTER_HPP #define TESTER_HPP #include "../../TestPrmImpl.hpp" namespace Prm { }; #endif
hpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm1/main.cpp
#include <Autocoders/Python/test/tlm1/TestTelemImpl.hpp> #include <Autocoders/Python/test/tlm1/TestTelemRecvImpl.hpp> #include <Autocoders/Python/test/time_tester/TestTimeImpl.hpp> #include <Fw/Obj/SimpleObjRegistry.hpp> int main(int argc, char* argv[]) { #if FW_PORT_TRACING Fw::PortBase::setTrace(true); #endif ...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm1/TestTelemRecvImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/tlm1/TestTelemRecvImpl.hpp> #include <cstdio> TestTelemRecvImpl::TestTelemRecvImpl(const char* name) : Tlm::TelemTesterComponentBase(name) { } TestTelemRecvImpl::~TestTelemRecvImpl() { } void Test...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm1/TestTelemImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/tlm1/TestTelemImpl.hpp> #include <cstdio> TestTlmImpl::TestTlmImpl(const char* name) : Tlm::TestTlmComponentBase(name) { } TestTlmImpl::~TestTlmImpl() { } void TestTlmImpl::init() { Tlm::TestT...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm1/TestTelemRecvImpl.hpp
/* * TestTelemRecvImpl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTTELEMRECVIMPL_HPP_ #define TESTTELEMRECVIMPL_HPP_ #include <Autocoders/Python/test/telem_tester/TelemTestComponentAc.hpp> class TestTelemRecvImpl: public Tlm::TelemTesterComponentBase { public: TestTelemRe...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm1/TestTelemImpl.hpp
/* * TestCommand1Impl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTCOMMAND1IMPL_HPP_ #define TESTCOMMAND1IMPL_HPP_ #include <Autocoders/Python/test/tlm1/TestComponentAc.hpp> class TestTlmImpl: public Tlm::TestTlmComponentBase { public: TestTlmImpl(const char* compName); ...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/tlm1/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <tlm1GTestBase.hpp> #endif // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public Tlm::TestTlmGTestBase { public: ATester() : Tlm::TestTlmGTestBase("comp",10) { } }; int main(int argc, ch...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/ext_dict/ExampleComponentImpl.hpp
/* * ExampleComponentImpl.hpp * * Created on: Nov 3, 2014 * Author: tcanham */ #ifndef EXAMPLECOMPONENTIMPL_HPP_ #define EXAMPLECOMPONENTIMPL_HPP_ #include <Autocoders/Python/test/ext_dict/ExampleComponentAc.hpp> namespace ExampleComponents { class ExampleComponentImpl: public ExampleComponentBase { ...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/ext_dict/ExampleType.hpp
#ifndef EXAMPLE_TYPE_HPP #define EXAMPLE_TYPE_HPP // A hand-coded serializable #include <FpConfig.hpp> #include <Fw/Types/Serializable.hpp> #if FW_SERIALIZABLE_TO_STRING #include <Fw/Types/StringType.hpp> #include <cstdio> // snprintf #endif namespace ANameSpace { class mytype : public Fw::Serializable { pu...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/ext_dict/ExampleComponentImpl.cpp
/* * ExampleComponentImpl.cpp * * Created on: Nov 3, 2014 * Author: tcanham */ #include <Autocoders/Python/test/ext_dict/ExampleComponentImpl.hpp> #include <cstdio> namespace ExampleComponents { ExampleComponentImpl::ExampleComponentImpl(const char* name) : ExampleComponentBase(name) { } Examp...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/ext_dict/ExampleType.cpp
#include <Autocoders/Python/test/ext_dict/ExampleType.hpp> #include <Fw/Types/Assert.hpp> namespace ANameSpace { mytype::mytype(): Serializable() { } mytype::mytype(const mytype& src) : Serializable() { this->setVal(src.m_val); } mytype::mytype(const mytype* src) : Serializable() { FW_ASSERT(src); this...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/ext_dict/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <ext_dictGTestBase.hpp> #endif // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public ExampleComponents::ExampleGTestBase { public: ATester() : ExampleComponents::ExampleGTestBase("comp",10) ...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command_res/Test1ComponentImpl.hpp
// ====================================================================== // \title Test1Impl.hpp // \author tcanham // \brief hpp file for Test1 component implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsor...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/command_res/Test1ComponentImpl.cpp
// ====================================================================== // \title Test1Impl.cpp // \author tcanham // \brief cpp file for Test1 component implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsor...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command_res/test/ut/main.cpp
// ---------------------------------------------------------------------- // Main.cpp // ---------------------------------------------------------------------- #include "command_resTester.hpp" TEST(Test, CmdResidual) { Cmd::command_resTester tester; tester.residualTest(); } int main(int argc, char **argv) { ::...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command_res/test/ut/command_resTester.hpp
// ====================================================================== // \title Test1/test/ut/Tester.hpp // \author tcanham // \brief hpp file for Test1 test harness implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Gove...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/command_res/test/ut/command_resTester.cpp
// ====================================================================== // \title Test1.hpp // \author tcanham // \brief cpp file for Test1 test harness implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsors...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/event_string/main.cpp
#include <Autocoders/Python/test/event_string/TestLogImpl.hpp> #include <Autocoders/Python/test/event_string/TestLogRecvImpl.hpp> #include <Autocoders/Python/test/time_tester/TestTimeImpl.hpp> #include <Fw/Obj/SimpleObjRegistry.hpp> int main(int argc, char* argv[]) { #if FW_PORT_TRACING Fw::PortBase::setTrace(tru...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/event_string/TestLogRecvImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/event_string/TestLogRecvImpl.hpp> #include <cstdio> #include <Fw/Log/LogString.hpp> TestLogRecvImpl::TestLogRecvImpl(const char* name) : LogTextImpl(name) { } TestLogRecvImpl::~TestLogRecvImpl() { ...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/event_string/TestLogRecvImpl.hpp
/* * TestTelemRecvImpl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTTELEMRECVIMPL_HPP_ #define TESTTELEMRECVIMPL_HPP_ #include <Autocoders/Python/test/log_tester/TestTextLogImpl.hpp> class TestLogRecvImpl: public LogTextImpl { public: TestLogRecvImpl(const char* compName);...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/event_string/TestLogImpl.hpp
/* * TestCommand1Impl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTCOMMAND1IMPL_HPP_ #define TESTCOMMAND1IMPL_HPP_ #include <Autocoders/Python/test/event_string/TestComponentAc.hpp> class TestLogImpl: public Somewhere::TestLogComponentBase { public: TestLogImpl(const char*...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/event_string/TestLogImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/event_string/TestLogImpl.hpp> #include <cstdio> TestLogImpl::TestLogImpl(const char* name) : Somewhere::TestLogComponentBase(name) { } TestLogImpl::~TestLogImpl() { } void TestLogImpl::init() { ...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/event_string/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <event_stringGTestBase.hpp> #endif // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public Somewhere::TestLogGTestBase { public: ATester() : Somewhere::TestLogGTestBase("comp",10) { } }; ...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/param_string/TestPrmImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/param_string/TestPrmImpl.hpp> #include <cstdio> TestPrmImpl::TestPrmImpl(const char* name) : Prm::TestPrmComponentBase(name) { } TestPrmImpl::~TestPrmImpl() { } void TestPrmImpl::init() { Prm:...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/param_string/main.cpp
#include <Autocoders/Python/test/param_string/TestPrmImpl.hpp> #include <Autocoders/Python/test/param_string/TestPrmSourceImpl.hpp> #include <Fw/Obj/SimpleObjRegistry.hpp> int main(int argc, char* argv[]) { #if FW_PORT_TRACING Fw::PortBase::setTrace(true); #endif #if FW_OBJECT_REGISTRATION == 1 Fw::SimpleObj...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/param_string/TestPrmSourceImpl.hpp
/* * TestTelemRecvImpl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTPARAMRECVIMPL_HPP_ #define TESTPARAMRECVIMPL_HPP_ #include <Autocoders/Python/test/param_tester/ParamTestComponentAc.hpp> #include <Fw/Prm/PrmString.hpp> class TestParamSourceImpl: public Prm::ParamTesterComponentBase...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/param_string/TestPrmSourceImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/param_string/TestPrmSourceImpl.hpp> #include <cstdio> TestParamSourceImpl::TestParamSourceImpl(const char* name) : Prm::ParamTesterComponentBase(name) { } TestParamSourceImpl::~TestParamSourceImpl(...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/param_string/TestPrmImpl.hpp
/* * TestPrmImpl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTPARAMIMPL_HPP_ #define TESTPARAMIMPL_HPP_ #include <Autocoders/Python/test/param_string/TestComponentAc.hpp> #include <Fw/Prm/PrmString.hpp> class TestPrmImpl: public Prm::TestPrmComponentBase { public: TestPrmI...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/param_string/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <param_stringGTestBase.hpp> #endif #include "TesterBase.hpp" #include <FpConfig.hpp> // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public Prm::TestPrmGTestBase { public: ATester() : Prm::Te...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/main/main.cpp
int main(int argc, char* argv[]) { return -1; }
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command1/main.cpp
#include <Autocoders/Python/test/command1/TestCommand1Impl.hpp> #include <Autocoders/Python/test/command1/TestCommandSourceImpl.hpp> #include <Fw/Obj/SimpleObjRegistry.hpp> int main(int argc, char* argv[]) { #if FW_PORT_TRACING Fw::PortBase::setTrace(true); #endif #if FW_OBJECT_REGISTRATION == 1 Fw::SimpleOb...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command1/TestCommand1Impl.hpp
/* * TestCommand1Impl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTCOMMAND1IMPL_HPP_ #define TESTCOMMAND1IMPL_HPP_ #include <Autocoders/Python/test/command1/Test1ComponentAc.hpp> class TestCommand1Impl: public Cmd::Test1ComponentBase { public: TestCommand1Impl(const char* ...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/command1/TestCommand1Impl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/command1/TestCommand1Impl.hpp> #include <cstdio> TestCommand1Impl::TestCommand1Impl(const char* name) : Test1ComponentBase(name) { // TODO Auto-generated constructor stub } TestCommand1Impl::~...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command1/TestCommandSourceImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/command1/TestCommandSourceImpl.hpp> #include <cstdio> TestCommandSourceImpl::TestCommandSourceImpl(const char* name) : Cmd::CommandTesterComponentBase(name) { // TODO Auto-generated constructor ...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command1/TestCommandSourceImpl.hpp
/* * TestCommand1Impl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTCOMMANDSOURCEIMPL_HPP_ #define TESTCOMMANDSOURCEIMPL_HPP_ #include <Autocoders/Python/test/command_tester/CommandTestComponentAc.hpp> class TestCommandSourceImpl: public Cmd::CommandTesterComponentBase { public: ...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/command1/test/ut/command1Tester.hpp
// ====================================================================== // \title Test1/test/ut/Tester.hpp // \author tim // \brief hpp file for Test1 test harness implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Governme...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/command1/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <command1GTestBase.hpp> #endif #include "TesterBase.hpp" #include <FpConfig.hpp> // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public Cmd::Test1GTestBase { public: ATester() : Cmd::Test1GTe...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command1/test/ut/command1Tester.cpp
// ====================================================================== // \title Test1.hpp // \author tim // \brief cpp file for Test1 test harness implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship ...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command2/TestCommandComponentImpl.cpp
// ====================================================================== // \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...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command2/TestCommandComponentImpl.hpp
// ====================================================================== // \title TestCommandImpl.hpp // \author tim // \brief hpp file for TestCommand component implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/command2/test/ut/command2Tester.cpp
// ====================================================================== // \title TestCommand.hpp // \author tim // \brief cpp file for TestCommand test harness implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government ...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command2/test/ut/main.cpp
// ---------------------------------------------------------------------- // Main.cpp // ---------------------------------------------------------------------- #include "command2Tester.hpp" TEST(Test, Miscellaneous) { AcTest::command2Tester tester; tester.msgTest(); } int main(int argc, char **argv) { ::...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/command2/test/ut/command2Tester.hpp
// ====================================================================== // \title TestCommand/test/ut/Tester.hpp // \author tim // \brief hpp file for TestCommand test harness implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United Sta...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/time_tester/TestTimeImpl.cpp
/* * TestCommand1Impl.cpp * * Created on: Mar 28, 2014 * Author: tcanham */ #include <Autocoders/Python/test/time_tester/TestTimeImpl.hpp> #include <cstdio> TestTimeImpl::TestTimeImpl(const char* name) : Time::TimeTesterComponentBase(name) { } TestTimeImpl::~TestTimeImpl() { } void TestTimeImpl::timeGetP...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/time_tester/TestTimeImpl.hpp
/* * TestTelemRecvImpl.hpp * * Created on: Mar 28, 2014 * Author: tcanham */ #ifndef TESTTIMEIMPL_HPP_ #define TESTTIMEIMPL_HPP_ #include <Autocoders/Python/test/time_tester/TimeTestComponentAc.hpp> class TestTimeImpl: public Time::TimeTesterComponentBase { public: TestTimeImpl(const char* com...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/time_tester/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <time_testerGTestBase.hpp> #endif #include "TesterBase.hpp" #include <FpConfig.hpp> // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public Time::TimeTesterGTestBase { public: ATester() : Time...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/port_nogen/main.cpp
#include <Fw/Obj/SimpleObjRegistry.hpp> #include <Autocoders/Python/test/port_nogen/ExampleComponentImpl.hpp> int main(int argc, char* argv[]) { #if FW_PORT_TRACING Fw::PortBase::setTrace(true); #endif #if FW_OBJECT_REGISTRATION == 1 Fw::SimpleObjRegistry objReg; #endif ExampleComponents::ExampleCompone...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/port_nogen/ExampleComponentImpl.hpp
/* * ExampleComponentImpl.hpp * * Created on: Nov 3, 2014 * Author: tcanham */ #ifndef EXAMPLECOMPONENTIMPL_HPP_ #define EXAMPLECOMPONENTIMPL_HPP_ #include <Autocoders/Python/test/port_nogen/ExampleComponentAc.hpp> namespace ExampleComponents { class ExampleComponentImpl: public ExampleComponentBase ...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/port_nogen/ExampleType.hpp
#ifndef EXAMPLE_TYPE_HPP #define EXAMPLE_TYPE_HPP // A hand-coded serializable #include <FpConfig.hpp> #include <Fw/Types/Serializable.hpp> #if FW_SERIALIZABLE_TO_STRING #include <Fw/Types/StringType.hpp> #include <cstdio> // snprintf #endif namespace ANameSpace { class mytype : public Fw::Serializable { pu...
hpp
fprime
data/projects/fprime/Autocoders/Python/test/port_nogen/ExampleComponentImpl.cpp
/* * ExampleComponentImpl.cpp * * Created on: Nov 3, 2014 * Author: tcanham */ #include <Autocoders/Python/test/port_nogen/ExampleComponentImpl.hpp> #include <cstdio> namespace ExampleComponents { ExampleComponentImpl::ExampleComponentImpl(const char* name) : ExampleComponentBase(name) { } Exa...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/port_nogen/ExampleType.cpp
#include <Autocoders/Python/test/port_nogen/ExampleType.hpp> #include <Fw/Types/Assert.hpp> namespace ANameSpace { mytype::mytype(): Serializable() { } mytype::mytype(const mytype& src) : Serializable() { this->setVal(src.m_val); } mytype::mytype(const mytype* src) : Serializable() { FW_ASSERT(src); th...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/port_nogen/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <port_nogenGTestBase.hpp> #endif // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public ExampleComponents::ExampleGTestBase { public: ATester() : ExampleComponents::ExampleGTestBase("comp",10...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/serialize_stringbuffer/test/ut/main.cpp
#include <Autocoders/Python/test/serialize_stringbuffer/ExampleSerializableAc.hpp> int main(int argc, char** argv) { Example3::ExampleSerializable ex; return 0; }
cpp
fprime
data/projects/fprime/Autocoders/Python/test/comp_no_namespace/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <comp_no_namespaceGTestBase.hpp> #endif // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public TestCommandGTestBase { public: ATester() : TestCommandGTestBase("comp",10) { } }; int main(...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/telem_tester/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <telem_testerGTestBase.hpp> #endif #include "TesterBase.hpp" #include <FpConfig.hpp> // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public Tlm::TelemTesterTesterBase { public: ATester() : Tl...
cpp
fprime
data/projects/fprime/Autocoders/Python/test/log1/test/ut/main.cpp
#ifdef FPRIME_CMAKE #include "Autocoder/GTestBase.hpp" #else #include <log1GTestBase.hpp> #endif // Very minimal to test autocoder. Some day they'll be actual unit test code class ATester : public Tlm::TestEventGTestBase { public: ATester() : Tlm::TestEventGTestBase("comp",10) { } }; int main(int arg...
cpp