13#include "test/ut/Tester.hpp"
20 const FormalParamArray& a,
21 FormalParamArray& aRef) {
22 this->pushFromPortEntry_arrayArgsOut(a, aRef);
25FormalParamArray Tester ::from_arrayReturnOut_handler(
const NATIVE_INT_TYPE portNum,
26 const FormalParamArray& a,
27 FormalParamArray& aRef) {
28 this->pushFromPortEntry_arrayReturnOut(a, aRef);
29 return arrayReturnVal.val;
33 const FormalParamEnum& en,
34 FormalParamEnum& enRef) {
35 this->pushFromPortEntry_enumArgsOut(en, enRef);
38FormalParamEnum Tester ::from_enumReturnOut_handler(
const NATIVE_INT_TYPE portNum,
39 const FormalParamEnum& en,
40 FormalParamEnum& enRef) {
41 this->pushFromPortEntry_enumReturnOut(en, enRef);
42 return enumReturnVal.val;
46 this->pushFromPortEntry_noArgsOut();
49bool Tester ::from_noArgsReturnOut_handler(
const NATIVE_INT_TYPE portNum) {
50 this->pushFromPortEntry_noArgsReturnOut();
51 return noParamReturnVal.val;
54void Tester ::from_primitiveArgsOut_handler(
const NATIVE_INT_TYPE portNum,
61 this->pushFromPortEntry_primitiveArgsOut(u32, u32Ref, f32, f32Ref, b, bRef);
64U32 Tester ::from_primitiveReturnOut_handler(
const NATIVE_INT_TYPE portNum,
71 this->pushFromPortEntry_primitiveReturnOut(u32, u32Ref, f32, f32Ref, b, bRef);
72 return primitiveReturnVal.val;
76 const str80String& str80,
77 str80RefString& str80Ref,
78 const str100String& str100,
79 str100RefString& str100Ref) {
80 this->pushFromPortEntry_stringArgsOut(str80, str80Ref, str100, str100Ref);
84 const FormalParamStruct& s,
85 FormalParamStruct& sRef) {
86 this->pushFromPortEntry_structArgsOut(s, sRef);
89FormalParamStruct Tester ::from_structReturnOut_handler(
const NATIVE_INT_TYPE portNum,
90 const FormalParamStruct& s,
91 FormalParamStruct& sRef) {
92 this->pushFromPortEntry_structReturnOut(s, sRef);
93 return structReturnVal.val;
106 case SerialPortIndex::NO_ARGS:
110 case SerialPortIndex::PRIMITIVE:
114 case SerialPortIndex::STRING:
118 case SerialPortIndex::ENUM:
122 case SerialPortIndex::ARRAY:
126 case SerialPortIndex::STRUCT:
139 this->cmdResp = response;
PlatformIntType NATIVE_INT_TYPE
float F32
32-bit floating point
Enum representing a command response.
virtual NATIVE_UINT_TYPE getBuffCapacity() const =0
returns capacity, not current size, of buffer
SerializeStatus copyRaw(SerializeBufferBase &dest, NATIVE_UINT_TYPE size)
directly copies buffer without looking for a size in the stream.
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.