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 ChannelTelemetryArray ::
205 this->elements[index].toString(tmp);
ChannelTelemetryArray & operator=(const ChannelTelemetryArray &obj)
Copy assignment operator (object)
Serialization/Deserialization operation was successful.
PlatformSizeType FwSizeType
virtual SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG)=0
Serialize an 8-bit unsigned integer value.
FwSizeType serializedSize() const
Get the dynamic serialized size of the struct.
SerializeStatus
forward declaration for string
bool operator!=(const ChannelTelemetryArray &obj) const
Inequality operator.
virtual SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)=0
Deserialize an 8-bit unsigned integer value.
ChannelTelemetryArray()
Constructor (default value)
ElementType & operator[](const FwSizeType i)
Subscript operator.
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialization.
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialization.
Structure for the telemetry array of CFDP channels.
RateGroupDivider component implementation.
FwSizeType serializedSize() const
Get the dynamic serialized size of the array.
bool operator==(const ChannelTelemetryArray &obj) const
Equality operator.
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.