 |
F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
16 #include <Fw/Types/Assert.hpp>
32 return sizeof(this->length) + this->length;
50 serialBuffer.
popBytes(bytes, this->length);
53 this->value =
reinterpret_cast<const char*
>(addrLeft);
61 toSerialBuffer(SerialBuffer& serialBuffer)
const
66 serialBuffer.serialize(this->length);
73 reinterpret_cast<const U8 *
>(this->value),
U32 bufferSize() const
Compute the buffer size needed to hold this PathName.
A variable-length serializable buffer.
SerializeStatus
forward declaration for string
void initialize(const char *const value)
Initialize a PathName.
SerializeStatus popBytes(U8 *const addr, NATIVE_UINT_TYPE n)
Pop n bytes off the buffer.
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
const char * value
Pointer to the path value.
U32 string_length(const CHAR *source, U32 max_len)
get the length of the source string or max_len if the string is longer than max_len.
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.
const U8 * getBuffAddrLeft(void) const
gets address of remaining non-deserialized data.