24 this->m_numEntries = 0;
53 return this->m_numEntries;
57 return this->m_tlmBuffer;
61 this->m_tlmBuffer = buffer;
82 stat = this->m_tlmBuffer.
serialize(timeTag);
PlatformUIntType NATIVE_UINT_TYPE
Serialization/Deserialization operation was successful.
void setBuffer(Fw::ComBuffer &buffer)
set the internal buffer for deserializing values
SerializeStatus extractValue(FwChanIdType &id, Time &timeTag, TlmBuffer &buffer, NATIVE_UINT_TYPE bufferSize)
void resetSer()
reset to beginning of buffer to reuse for serialization
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
No room left in the buffer to serialize data.
Fw::ComBuffer & getBuffer()
get buffer to send to the ground
SerializeStatus
forward declaration for string
SerializeStatus addValue(FwChanIdType id, Time &timeTag, TlmBuffer &buffer)
Add telemetry value to buffer.
Serializable::SizeType getBuffLength() const
returns current buffer size
SerializeStatus serializeBase(SerializeBufferBase &buffer) const
Serializable::SizeType getBuffLeft() const
returns how much deserialization buffer is left
SerializeStatus deserialize(SerializeBufferBase &buffer)
Deserialize the packet. For use internally in software. To extract channels, use setBuffer() and extr...
SerializeStatus serialize(SerializeBufferBase &buffer) const
Serialize the packet before sending. For use internally in software. To send to the ground...
SerializeStatus resetPktSer()
Reset serialization of values. This should be done when starting to accumulate a new set of values...
virtual ~TlmPacket()
Destructor.
U8 * getBuffAddr()
gets buffer address for data filling
U8 * getBuffAddr()
gets buffer address for data filling
void resetDeser()
reset deserialization to beginning
Deserialized type ID didn't match.
SerializeStatus deserializeBase(SerializeBufferBase &buffer)
NATIVE_UINT_TYPE getNumEntries()
get the number of packets added via addValue()
NATIVE_UINT_TYPE getBuffCapacity() const
returns capacity, not current size, of buffer
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
SerializeStatus resetPktDeser()
Reset deserialization. This should be done before extracting values.
SerializeStatus setBuffLen(Serializable::SizeType length)
sets buffer length manually after filling with data