63 FW_ASSERT(i <
SIZE, static_cast<FwAssertArgType>(i), static_cast<FwAssertArgType>(
SIZE));
64 return this->elements[i];
70 FW_ASSERT(i <
SIZE, static_cast<FwAssertArgType>(i), static_cast<FwAssertArgType>(
SIZE));
71 return this->elements[i];
79 this->elements[index] = obj.elements[index];
89 this->elements[index] = a[index];
95 operator=(
const std::initializer_list<ElementType>& il)
100 for (
const auto& e : il) {
101 FW_ASSERT(i <
SIZE, static_cast<FwAssertArgType>(i), static_cast<FwAssertArgType>(
SIZE));
102 this->elements[i] = e;
112 this->elements[index] = e;
121 if (!((*
this)[index] == obj[index])) {
131 return !(*
this == obj);
191 #if FW_SERIALIZABLE_TO_STRING 193 void ChannelArrayParams ::
205 this->elements[index].toString(tmp);
Serialization/Deserialization operation was successful.
PlatformSizeType FwSizeType
FwSizeType serializedSize() const
Get the dynamic serialized size of the struct.
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialization.
virtual SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG)=0
Serialize an 8-bit unsigned integer value.
ChannelArrayParams()
Constructor (default value)
SerializeStatus
forward declaration for string
virtual SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)=0
Deserialize an 8-bit unsigned integer value.
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialization.
ChannelArrayParams & operator=(const ChannelArrayParams &obj)
Copy assignment operator (object)
ElementType & operator[](const FwSizeType i)
Subscript operator.
FwSizeType serializedSize() const
Get the dynamic serialized size of the array.
Structure for the configured array of CFDP channels.
Structure for telemetry counters for a single CFDP channel.
bool operator!=(const ChannelArrayParams &obj) const
Inequality operator.
RateGroupDivider component implementation.
bool operator==(const ChannelArrayParams &obj) const
Equality operator.
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.