Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NATIVE_INT_TYPE portNum to FwIndexType portNum #3236

Merged
merged 1 commit into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions Autocoders/Python/templates/ExampleComponentImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace ExampleComponents {
ExampleComponentBase::init(queueDepth,instance);
}

void ExampleComponentImpl::exampleInput_handler(NATIVE_INT_TYPE portNum, I32 arg1, const ANameSpace::mytype& arg2, U8 arg3, const Example3::ExampleSerializable& arg4, AnotherExample::SomeEnum arg5) {
void ExampleComponentImpl::exampleInput_handler(FwIndexType portNum, I32 arg1, const ANameSpace::mytype& arg2, U8 arg3, const Example3::ExampleSerializable& arg4, AnotherExample::SomeEnum arg5) {
Fw::TlmString arg = "A string arg";
// write some telemetry
this->tlmWrite_stringchan(arg);
Expand All @@ -33,7 +33,7 @@ namespace ExampleComponents {

}

SomeOtherNamespace::AnotherEnum ExampleComponentImpl::anotherInput_handler(NATIVE_INT_TYPE portNum, I32 arg1, F64 arg2, SomeOtherNamespace::SomeEnum arg3) {
SomeOtherNamespace::AnotherEnum ExampleComponentImpl::anotherInput_handler(FwIndexType portNum, I32 arg1, F64 arg2, SomeOtherNamespace::SomeEnum arg3) {

return SomeOtherNamespace::MEMB1;
}
Expand Down
4 changes: 2 additions & 2 deletions Autocoders/Python/templates/ExampleComponentImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ namespace ExampleComponents {
virtual ~ExampleComponentImpl();
protected:
private:
void exampleInput_handler(NATIVE_INT_TYPE portNum, I32 arg1, const ANameSpace::mytype& arg2, U8 arg3, const Example3::ExampleSerializable& arg4, AnotherExample::SomeEnum arg5);
SomeOtherNamespace::AnotherEnum anotherInput_handler(NATIVE_INT_TYPE portNum, I32 arg1, F64 arg2, SomeOtherNamespace::SomeEnum arg3);
void exampleInput_handler(FwIndexType portNum, I32 arg1, const ANameSpace::mytype& arg2, U8 arg3, const Example3::ExampleSerializable& arg4, AnotherExample::SomeEnum arg5);
SomeOtherNamespace::AnotherEnum anotherInput_handler(FwIndexType portNum, I32 arg1, F64 arg2, SomeOtherNamespace::SomeEnum arg3);
void TEST_CMD_1_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, I32 arg1, ExampleComponentBase::CmdEnum arg2, const Fw::CmdStringArg& arg3);
void TEST_CMD_2_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, I32 arg1, F32 arg2);

Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/templates/test/ut/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ATester : public ExampleComponents::ExampleGTestBase {
ATester() : ExampleComponents::ExampleGTestBase("comp",10) {}

void from_exampleOutput_handler(
const NATIVE_INT_TYPE portNum, //!< The port number
const FwIndexType portNum, //!< The port number
I32 arg1, //!< A built-in type argument
const ANameSpace::mytype &arg2, //!< A user-defined type argument
U8 arg3, //!< The third argument
Expand Down
4 changes: 2 additions & 2 deletions Autocoders/Python/test/array_xml/ExampleArrayImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ namespace Example {
Component1ComponentBase::init(queueDepth);
}

void ExampleArrayImpl::ExArrayIn_handler(NATIVE_INT_TYPE portNum, const Example::SubNameSpace::ArrayType& array1, const Example::ArrSerial& serial1) {
void ExampleArrayImpl::ExArrayIn_handler(FwIndexType portNum, const Example::SubNameSpace::ArrayType& array1, const Example::ArrSerial& serial1) {
Fw::String s;
array1.toString(s);

printf("%s Invoked ExArrayIn_handler();\n%s", FW_OPTIONAL_NAME(this->getObjName()), s.toChar());
this->ArrayOut_out(0, array1, serial1);
}

void ExampleArrayImpl::ArrayIn_handler(NATIVE_INT_TYPE portNum, const Example::SubNameSpace::ArrayType& array1, const Example::ArrSerial& serial1) {
void ExampleArrayImpl::ArrayIn_handler(FwIndexType portNum, const Example::SubNameSpace::ArrayType& array1, const Example::ArrSerial& serial1) {
Fw::String s;
array1.toString(s);

Expand Down
4 changes: 2 additions & 2 deletions Autocoders/Python/test/array_xml/ExampleArrayImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ namespace Example {
void init(NATIVE_INT_TYPE queueDepth);

private:
void ExArrayIn_handler(NATIVE_INT_TYPE portNum, const Example::SubNameSpace::ArrayType& array1, const Example::ArrSerial& serial1);
void ArrayIn_handler(NATIVE_INT_TYPE portNum, const Example::SubNameSpace::ArrayType& array1, const Example::ArrSerial& serial1);
void ExArrayIn_handler(FwIndexType portNum, const Example::SubNameSpace::ArrayType& array1, const Example::ArrSerial& serial1);
void ArrayIn_handler(FwIndexType portNum, const Example::SubNameSpace::ArrayType& array1, const Example::ArrSerial& serial1);
};

};
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 @@ -22,7 +22,7 @@ void TestCommand1Impl::init() {
Test1ComponentBase::init();
}

void TestCommand1Impl::aport_handler(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6) {
void TestCommand1Impl::aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6) {
}

void TestCommand1Impl::TEST_CMD_1_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, I32 arg1, F32 arg2, U8 arg3) {
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/command1/TestCommand1Impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TestCommand1Impl: public Cmd::Test1ComponentBase {
virtual ~TestCommand1Impl();
void init();
protected:
void aport_handler(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6);
void aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6);
void TEST_CMD_1_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, I32 arg1, F32 arg2, U8 arg3);
};

Expand Down
4 changes: 2 additions & 2 deletions Autocoders/Python/test/command1/TestCommandSourceImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ TestCommandSourceImpl::~TestCommandSourceImpl() {
}

void TestCommandSourceImpl::cmdStatusPort_handler(
NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq,
FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq,
const Fw::CmdResponse& response) {
this->printStatus(response);
}

void TestCommandSourceImpl::cmdRegPort_handler(NATIVE_INT_TYPE portNum, FwOpcodeType opCode) {
void TestCommandSourceImpl::cmdRegPort_handler(FwIndexType portNum, FwOpcodeType opCode) {
printf("Received registration for opcode %d\n",opCode);
}

Expand Down
4 changes: 2 additions & 2 deletions Autocoders/Python/test/command1/TestCommandSourceImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class TestCommandSourceImpl: public Cmd::CommandTesterComponentBase {
void init();
void test_TEST_CMD_1(I32 arg1, F32 arg2, U8 arg3);
protected:
void cmdStatusPort_handler(NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response);
void cmdRegPort_handler(NATIVE_INT_TYPE portNum, FwOpcodeType opCode);
void cmdStatusPort_handler(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response);
void cmdRegPort_handler(FwIndexType portNum, FwOpcodeType opCode);
private:
void printStatus(Fw::CmdResponse response);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ namespace AcTest {

void TestCommandComponentImpl ::
aport_handler(
const NATIVE_INT_TYPE portNum,
const FwIndexType portNum,
I32 arg4,
F32 arg5,
U8 arg6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace AcTest {
//! Handler implementation for aport
//!
void aport_handler(
const NATIVE_INT_TYPE portNum, /*!< The port number*/
const FwIndexType portNum, /*!< The port number*/
I32 arg4, /*!< The first argument*/
F32 arg5, /*!< The second argument*/
U8 arg6 /*!< The third argument*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void TestCommand1Impl::init(NATIVE_INT_TYPE queueDepth, //!< The queue depth
Test1ComponentBase::init(queueDepth,instance);
}

void TestCommand1Impl::aport_handler(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6) {
void TestCommand1Impl::aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6) {
}

void TestCommand1Impl::TEST_CMD_1_cmdHandler(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class TestCommand1Impl: public Cmd::Test1ComponentBase {
void init(NATIVE_INT_TYPE queueDepth, //!< The queue depth
NATIVE_INT_TYPE instance = 0);
protected:
void aport_handler(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6);
void aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6);
void TEST_CMD_1_cmdHandler(
FwOpcodeType opCode, /*!< The opcode*/
U32 cmdSeq, /*!< The command sequence number*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ TestCommandSourceImpl::~TestCommandSourceImpl() {
}

void TestCommandSourceImpl::cmdStatusPort_handler(
NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq,
FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq,
const Fw::CmdResponse& response) {
this->printStatus(response);
}

void TestCommandSourceImpl::cmdRegPort_handler(NATIVE_INT_TYPE portNum, FwOpcodeType opCode) {
void TestCommandSourceImpl::cmdRegPort_handler(FwIndexType portNum, FwOpcodeType opCode) {
printf("Received registration for opcode %d\n",opCode);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class TestCommandSourceImpl: public Cmd::CommandTesterComponentBase {
void init();
void test_TEST_CMD_1(I32 arg1, F32 arg2, U8 arg3);
protected:
void cmdStatusPort_handler(NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response);
void cmdRegPort_handler(NATIVE_INT_TYPE portNum, FwOpcodeType opCode);
void cmdStatusPort_handler(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response);
void cmdRegPort_handler(FwIndexType portNum, FwOpcodeType opCode);
private:
void printStatus(Fw::CmdResponse response);
};
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/command_res/Test1ComponentImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ namespace Cmd {

void Test1ComponentImpl ::
aport_handler(
const NATIVE_INT_TYPE portNum,
const FwIndexType portNum,
I32 arg4,
F32 arg5,
U8 arg6
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/command_res/Test1ComponentImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace Cmd {
//! Handler implementation for aport
//!
void aport_handler(
const NATIVE_INT_TYPE portNum, /*!< The port number*/
const FwIndexType portNum, /*!< The port number*/
I32 arg4, /*!< The first argument*/
F32 arg5, /*!< The second argument*/
U8 arg6 /*!< The third argument*/
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 @@ -19,7 +19,7 @@ void TestCommand1Impl::init(NATIVE_INT_TYPE queueDepth) {
TestCommand1Impl::~TestCommand1Impl() {
}

void TestCommand1Impl::aport_handler(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6) {
void TestCommand1Impl::aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6) {

}

Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/command_string/TestCommandImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class TestCommand1Impl: public AcTest::TestCommandComponentBase {
TestCommand1Impl(const char* compName);
void init(NATIVE_INT_TYPE queueDepth);
virtual ~TestCommand1Impl();
void aport_handler(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6);
void aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6);
void TEST_CMD_1_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, I32 arg1, const Fw::CmdStringArg& arg2, SomeEnum arg3);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ TestCommandSourceImpl::~TestCommandSourceImpl() {
}

void TestCommandSourceImpl::cmdStatusPort_handler(
NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq,
FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq,
const Fw::CmdResponse& response) {
this->printStatus(response);
}

void TestCommandSourceImpl::cmdRegPort_handler(NATIVE_INT_TYPE portNum, FwOpcodeType opCode) {
void TestCommandSourceImpl::cmdRegPort_handler(FwIndexType portNum, FwOpcodeType opCode) {
printf("Received registration for opcode %d\n",opCode);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class TestCommandSourceImpl: public Cmd::CommandTesterComponentBase {
void init();
void test_TEST_CMD_1(I32 arg1, const Fw::CmdStringArg& arg2, I32 arg3);
protected:
void cmdStatusPort_handler(NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response);
void cmdRegPort_handler(NATIVE_INT_TYPE portNum, FwOpcodeType opCode);
void cmdStatusPort_handler(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse& response);
void cmdRegPort_handler(FwIndexType portNum, FwOpcodeType opCode);
private:
void printStatus(const Fw::CmdResponse& response);
};
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/command_tester/test/ut/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ATester : public Cmd::CommandTesterGTestBase {
}

void from_cmdSendPort_handler(
const NATIVE_INT_TYPE portNum, //!< The port number
const FwIndexType portNum, //!< The port number
FwOpcodeType opCode, //!< Command Op Code
U32 cmdSeq, //!< Command Sequence
Fw::CmdArgBuffer &args //!< Buffer containing arguments
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/enum1port/DrvTimingSignalPort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Drv {

class InputTimingSignalPort : public Fw::InputPortBase {
public:
typedef void (*CompFuncPtr)(Fw::ComponentBase* callComp, NATIVE_INT_TYPE portNum, TimingSignal signal);
typedef void (*CompFuncPtr)(Fw::ComponentBase* callComp, FwIndexType portNum, TimingSignal signal);

InputTimingSignalPort();
void init();
Expand Down
4 changes: 2 additions & 2 deletions Autocoders/Python/test/enum_xml/Component1Impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ namespace Example {
Component1ComponentBase::init(queueDepth);
}

void ExampleEnumImpl::ExEnumIn_handler(NATIVE_INT_TYPE portNum, const Example::SubNamespace::Enum1& enum1, const Example::Serial1& serial1) {
void ExampleEnumImpl::ExEnumIn_handler(FwIndexType portNum, const Example::SubNamespace::Enum1& enum1, const Example::Serial1& serial1) {
printf("%s Invoked ExEnumIn_handler(%d, %d, %d, %d, %d);\n", FW_OPTIONAL_NAME(this->getObjName()), portNum, static_cast<FwEnumStoreType>(enum1.e), serial1.getMember1(), serial1.getMember2(), static_cast<FwEnumStoreType>(serial1.getMember3().e));
this->EnumOut_out(0, enum1, serial1);
}

void ExampleEnumImpl::EnumIn_handler(NATIVE_INT_TYPE portNum, const Example::SubNamespace::Enum1& enum1, const Example::Serial1& serial1) {
void ExampleEnumImpl::EnumIn_handler(FwIndexType portNum, const Example::SubNamespace::Enum1& enum1, const Example::Serial1& serial1) {
printf("%s Invoked EnumIn_handler(%d, %d, %d, %d, %d);\n", FW_OPTIONAL_NAME(this->getObjName()), portNum, static_cast<FwEnumStoreType>(enum1.e), serial1.getMember1(), serial1.getMember2(), static_cast<FwEnumStoreType>(serial1.getMember3().e));
}
};
4 changes: 2 additions & 2 deletions Autocoders/Python/test/enum_xml/Component1Impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ namespace Example {
void init(NATIVE_INT_TYPE queueDepth);

private:
void ExEnumIn_handler(NATIVE_INT_TYPE portNum, const Example::SubNamespace::Enum1& enum1, const Example::Serial1& serial1);
void EnumIn_handler(NATIVE_INT_TYPE portNum, const Example::SubNamespace::Enum1& enum1, const Example::Serial1& serial1);
void ExEnumIn_handler(FwIndexType portNum, const Example::SubNamespace::Enum1& enum1, const Example::Serial1& serial1);
void EnumIn_handler(FwIndexType portNum, const Example::SubNamespace::Enum1& enum1, const Example::Serial1& serial1);
};

};
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 @@ -20,7 +20,7 @@ void TestLogImpl::init() {
}


void TestLogImpl::aport_handler(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6) {
void TestLogImpl::aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6) {

}

Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/event1/TestLogImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class TestLogImpl: public Somewhere::TestLogComponentBase {
void init();
void sendEvent(I32 arg1, F32 arg2, U8 arg3);
protected:
void aport_handler(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6);
void aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6);
};

#endif /* TESTCOMMAND1IMPL_HPP_ */
2 changes: 1 addition & 1 deletion Autocoders/Python/test/event1/TestLogRecvImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TestLogRecvImpl::TestLogRecvImpl(const char* name) : LogTextImpl(name)
TestLogRecvImpl::~TestLogRecvImpl() {
}

void TestLogRecvImpl::logRecvPort_handler(NATIVE_INT_TYPE portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::LogBuffer &args) {
void TestLogRecvImpl::logRecvPort_handler(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::LogBuffer &args) {
printf("Received log %d, Time (%d,%d:%d) severity %d\n",id,timeTag.getTimeBase(),timeTag.getSeconds(),timeTag.getUSeconds(),severity.e);
I32 arg1;
F32 arg2;
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/event1/TestLogRecvImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TestLogRecvImpl: public LogTextImpl {
virtual ~TestLogRecvImpl();
void init();
protected:
void logRecvPort_handler(NATIVE_INT_TYPE portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::LogBuffer &args);
void logRecvPort_handler(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::LogBuffer &args);
private:
};

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 @@ -20,7 +20,7 @@ void TestLogImpl::init() {
}


void TestLogImpl::aport_handler(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6) {
void TestLogImpl::aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6) {

}

Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/event_enum/TestLogImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class TestLogImpl: public Somewhere::TestLogComponentBase {
void init();
void sendEvent(I32 arg1, I32 arg2, U8 arg3);
protected:
void aport_handler(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6);
void aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6);
};

#endif /* TESTCOMMAND1IMPL_HPP_ */
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 @@ -15,7 +15,7 @@ TestLogRecvImpl::TestLogRecvImpl(const char* name) : LogTextImpl(name)
TestLogRecvImpl::~TestLogRecvImpl() {
}

void TestLogRecvImpl::logRecvPort_handler(NATIVE_INT_TYPE portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::LogBuffer &args) {
void TestLogRecvImpl::logRecvPort_handler(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::LogBuffer &args) {
printf("Received log %d, Time (%d,%d:%d) severity %d\n",id,timeTag.getTimeBase(),timeTag.getSeconds(),timeTag.getUSeconds(),severity.e);
I32 arg1;
I32 arg2;
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/event_enum/TestLogRecvImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TestLogRecvImpl: public LogTextImpl {
virtual ~TestLogRecvImpl();
void init();
protected:
void logRecvPort_handler(NATIVE_INT_TYPE portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::LogBuffer &args);
void logRecvPort_handler(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::LogBuffer &args);
private:
};

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 @@ -20,7 +20,7 @@ void TestLogImpl::init() {
}


void TestLogImpl::aport_handler(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6) {
void TestLogImpl::aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6) {

}

Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/test/event_multi_inst/TestLogImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class TestLogImpl: public Somewhere::TestLogComponentBase {
void init();
void sendEvent(I32 arg1, F32 arg2, U8 arg3);
protected:
void aport_handler(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6);
void aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6);
};

#endif /* TESTCOMMAND1IMPL_HPP_ */
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TestLogRecvImpl::TestLogRecvImpl(const char* name) : LogTextImpl(name)
TestLogRecvImpl::~TestLogRecvImpl() {
}

void TestLogRecvImpl::logRecvPort_handler(NATIVE_INT_TYPE portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::LogBuffer &args) {
void TestLogRecvImpl::logRecvPort_handler(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::LogBuffer &args) {
printf("Received log %d, Time (%d,%d:%d) severity %d\n",id,timeTag.getTimeBase(),timeTag.getSeconds(),timeTag.getUSeconds(),severity.e);
I32 arg1;
F32 arg2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TestLogRecvImpl: public LogTextImpl {
virtual ~TestLogRecvImpl();
void init();
protected:
void logRecvPort_handler(NATIVE_INT_TYPE portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::LogBuffer &args);
void logRecvPort_handler(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::LogBuffer &args);
private:
};

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 @@ -20,7 +20,7 @@ void TestLogImpl::init() {
}


void TestLogImpl::aport_handler(NATIVE_INT_TYPE portNum, I32 arg4, F32 arg5, U8 arg6) {
void TestLogImpl::aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6) {

}

Expand Down
Loading
Loading