Skip to content

Commit

Permalink
Autocoder: Remove deprecated C style headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Anderson authored and LeStarch committed Aug 31, 2021
1 parent f1f5d49 commit da3bd77
Show file tree
Hide file tree
Showing 59 changed files with 62 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
// countries or providing access to foreign persons.
// ======================================================================

\#include <string.h>
\#include <stdio.h>
\#include <cstring>
\#include <cstdio>

\#include "Fw/Types/Assert.hpp"
\#include <Fw/Types/StringUtils.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// ======================================================================

\#include <stdio.h>
\#include <cstdio>
\#include <FpConfig.hpp>
\#include <${comp_include_path}/${include_name}ComponentAc.hpp>
\#include <Fw/Types/Assert.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
// countries or providing access to foreign persons.
// ======================================================================

\#include <string.h>
\#include <limits.h>
\#include <cstring>
\#include <limits>
\#include "Fw/Types/Assert.hpp"
\#include "${name}EnumAc.hpp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
\#include <Fw/Types/Serializable.hpp>
\#if FW_SERIALIZABLE_TO_STRING
\#include <Fw/Types/StringType.hpp>
\#include <stdio.h> // snprintf
\#include <cstdio> // snprintf
\#ifdef BUILD_UT
\#include <iostream>
\#include <Fw/Types/String.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
//
// ======================================================================

\#include <stdlib.h>
\#include <string.h>
\#include <cstdlib>
\#include <cstring>
\#include "TesterBase.hpp"

#if $namespace_list != None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
\#include <${comp_include_path}/${include_name}ComponentAc.hpp>
\#include <Fw/Types/Assert.hpp>
\#include <Fw/Comp/PassiveComponentBase.hpp>
\#include <stdio.h>
\#include <cstdio>
\#include <Fw/Port/InputSerializePort.hpp>

#if $namespace_list != None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#else
\#include <$(name)TopologyAppAc.hpp>
\#include <Fw/Obj/SimpleObjRegistry.hpp>
\#include <string.h>
\#include <cstring>

//#for $p, $ns, $t in $component_header_list:
//\#include <${p}/${ns}${t}Impl.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## This template will contain the includes and starting static code
##
\#include <Fw/Obj/SimpleObjRegistry.hpp>
\#include <string.h>
\#include <cstring>

#for $xml_name in $component_import_list:
\#include <${xml_name}>
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/templates/ExampleComponentImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/templates/ExampleComponentImpl.hpp>
#include <stdio.h>
#include <cstdio>

namespace ExampleComponents {

Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/array_xml/ExampleArrayImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <Fw/Types/BasicTypes.hpp>
#include <Fw/Types/String.hpp>
#include <iostream>
#include <stdio.h>
#include <cstdio>

using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/array_xml/test/ut/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include <bitset>
#include <iostream>
#include <string.h>
#include <cstring>
#include <unistd.h>
#include <thread>
#include <chrono>
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/command1/TestCommand1Impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/command1/TestCommand1Impl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestCommand1Impl::TestCommand1Impl(const char* name) : Test1ComponentBase(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/command1/TestCommandSourceImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/command1/TestCommandSourceImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestCommandSourceImpl::TestCommandSourceImpl(const char* name) : Cmd::CommandTesterComponentBase(name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/command_multi_inst/TestCommand1Impl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestCommand1Impl::TestCommand1Impl(const char* name) : Test1ComponentBase(name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/command1/TestCommandSourceImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestCommandSourceImpl::TestCommandSourceImpl(const char* name) : Cmd::CommandTesterComponentBase(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/command_string/TestCommandImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/command_string/TestCommandImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestCommand1Impl::TestCommand1Impl(const char* name) : AcTest::TestCommandComponentBase(name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/command_string/TestCommandSourceImpl.hpp>
#include <stdio.h>
#include <cstdio>


#if FW_OBJECT_NAMES == 1
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/enum_xml/Component1Impl.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <Autocoders/Python/test/enum_xml/Component1Impl.hpp>
#include <Fw/Types/BasicTypes.hpp>
#include <iostream>
#include <stdio.h>
#include <cstdio>

using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/enum_xml/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "gtest/gtest.h"

#include <iostream>
#include <string.h>
#include <cstring>

using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/event1/TestLogImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/event1/TestLogImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestLogImpl::TestLogImpl(const char* name) : Somewhere::TestLogComponentBase(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/event1/TestLogRecvImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/event1/TestLogRecvImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestLogRecvImpl::TestLogRecvImpl(const char* name) : LogTextImpl(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/event_enum/TestLogImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/event_enum/TestLogImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestLogImpl::TestLogImpl(const char* name) : Somewhere::TestLogComponentBase(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/event_enum/TestLogRecvImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/event_enum/TestLogRecvImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestLogRecvImpl::TestLogRecvImpl(const char* name) : LogTextImpl(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/event_multi_inst/TestLogImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/event_multi_inst/TestLogImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestLogImpl::TestLogImpl(const char* name) : Somewhere::TestLogComponentBase(name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/event1/TestLogRecvImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestLogRecvImpl::TestLogRecvImpl(const char* name) : LogTextImpl(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/event_string/TestLogImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/event_string/TestLogImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestLogImpl::TestLogImpl(const char* name) : Somewhere::TestLogComponentBase(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/event_string/TestLogRecvImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/event_string/TestLogRecvImpl.hpp>
#include <stdio.h>
#include <cstdio>
#include <Fw/Log/LogString.hpp>

#if FW_OBJECT_NAMES == 1
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/event_throttle/TestLogImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/event_throttle/TestLogImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestLogImpl::TestLogImpl(const char* name) : Somewhere::TestLogComponentBase(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/ext_dict/ExampleComponentImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/ext_dict/ExampleComponentImpl.hpp>
#include <stdio.h>
#include <cstdio>

namespace ExampleComponents {

Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/interface1/TestComponentImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/interface1/TestComponentImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestComponentImpl::TestComponentImpl(const char* name) : TestComponentBase(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/log_tester/TestTextLogImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/log_tester/TestTextLogImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
LogTextImpl::LogTextImpl(const char* name) : Log::LogTesterComponentBase(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/param_enum/TestPrmImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/param_enum/TestPrmImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestPrmImpl::TestPrmImpl(const char* name) : Prm::TestPrmComponentBase(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/param_enum/TestPrmSourceImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/param_enum/TestPrmSourceImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestParamSourceImpl::TestParamSourceImpl(const char* name) : Prm::ParamTesterComponentBase(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/param_multi_inst/TestPrmImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/param_multi_inst/TestPrmImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestPrmImpl::TestPrmImpl(const char* name) : Prm::TestPrmComponentBase(name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/param_multi_inst/TestPrmSourceImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestParamSourceImpl::TestParamSourceImpl(const char* name) : Prm::ParamTesterComponentBase(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/param_string/TestPrmImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/param_string/TestPrmImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestPrmImpl::TestPrmImpl(const char* name) : Prm::TestPrmComponentBase(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/param_string/TestPrmSourceImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/param_string/TestPrmSourceImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestParamSourceImpl::TestParamSourceImpl(const char* name) : Prm::ParamTesterComponentBase(name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <Autocoders/Python/test/port_loopback/ExampleComponentImpl.hpp>
#include "Fw/Types/BasicTypes.hpp"
#include <stdio.h>
#include <cstdio>

namespace ExampleComponents {

Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/port_nogen/ExampleComponentImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/port_nogen/ExampleComponentImpl.hpp>
#include <stdio.h>
#include <cstdio>

namespace ExampleComponents {

Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/stress/TestCommandImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include <Autocoders/Python/test/stress/TestCommandImpl.hpp>
#include <Fw/Types/String.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestCommand1Impl::TestCommand1Impl(const char* name) : StressTest::TestCommandComponentBase(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/stress/TestCommandSourceImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/stress/TestCommandSourceImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestCommandSourceImpl::TestCommandSourceImpl(const char* name) : Cmd::CommandTesterComponentBase(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/stress/TestLogRecvImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/stress/TestLogRecvImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestLogRecvImpl::TestLogRecvImpl(const char* name) : LogTextImpl(name)
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/stress/TestPrmSourceImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

#include <Autocoders/Python/test/stress/TestPrmSourceImpl.hpp>
#include <stdio.h>
#include <cstdio>

#if FW_OBJECT_NAMES == 1
TestParamSourceImpl::TestParamSourceImpl(const char* name) : Prm::ParamTesterComponentBase(name)
Expand Down
Loading

0 comments on commit da3bd77

Please sign in to comment.