F´ Flight Software - C/C++ Documentation
NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
31 return sizeof(this->length) + this->length;
47 U8 bytes[this->length];
49 serialBuffer.
popBytes(bytes, this->length);
52 this->value =
reinterpret_cast<const char*
>(addrLeft);
72 reinterpret_cast<const U8 *const
>(this->value),
const U8 * getBuffAddrLeft(void) const
gets address of remaining non-deserialized data.
A variable-length serializable buffer.
SerializeStatus
forward declaration for string
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
void initialize(const char *const value)
Initialize a PathName.
uint8_t U8
8-bit unsigned integer
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.
SerializeStatus toSerialBuffer(SerialBuffer &serialBuffer) const
Write this PathName to a SerialBuffer.
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 bufferSize(void) const
Compute the buffer size needed to hold this PathName.
SerializeStatus pushBytes(const U8 *const addr, const NATIVE_UINT_TYPE n)
Push n bytes onto the buffer.