 |
F´ Flight Software - C/C++ Documentation
NASA-v2.1.0
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
41 #if FW_AMPCS_COMPATIBLE
58 return buffer.
serialize((
U8*)this->m_buf,strSize,
true);
66 #if FW_AMPCS_COMPATIBLE
79 this->m_buf[deserSize_native] = 0;
86 this->terminate(maxSize);
102 this->m_buf[size <
sizeof(this->m_buf)?size:
sizeof(this->m_buf)-1] = 0;
110 #if FW_SERIALIZABLE_TO_STRING
111 void LogStringArg::toString(
StringBase& text)
const {
SerializeStatus
forward declaration for string
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
uint8_t U8
8-bit unsigned integer
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.
const char * toChar(void) const
const LogStringArg & operator=(const LogStringArg &other)
equal operator for other strings
#define FW_MIN(a, b)
MIN macro.
char * string_copy(char *destination, const char *source, U32 num)
copy string with null-termination guaranteed
SerializeStatus deserialize(SerializeBufferBase &buffer)
deserialize to contents
virtual const char * toChar(void) const =0
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
SerializeStatus serialize(SerializeBufferBase &buffer) const
serialize contents
void setMaxSerialize(NATIVE_UINT_TYPE size)
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
#define FW_LOG_STRING_MAX_SIZE
Max size of log string parameter type.
NATIVE_UINT_TYPE length(void) const