F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
The type of a packet header. More...
#include <Fw/SerializableFile/SerializableFile.hpp>
Public Types | |
enum | Status { OP_OK , FILE_OPEN_ERROR , FILE_WRITE_ERROR , FILE_READ_ERROR , DESERIALIZATION_ERROR } |
Public Member Functions | |
SerializableFile (MemAllocator *allocator, NATIVE_UINT_TYPE maxSerializedSize) | |
~SerializableFile () | |
Status | load (const char *fileName, Serializable &serializable) |
Status | save (const char *fileName, Serializable &serializable) |
The type of a packet header.
Definition at line 23 of file SerializableFile.hpp.
Enumerator | |
---|---|
OP_OK | |
FILE_OPEN_ERROR | |
FILE_WRITE_ERROR | |
FILE_READ_ERROR | |
DESERIALIZATION_ERROR |
Definition at line 26 of file SerializableFile.hpp.
Fw::SerializableFile::SerializableFile | ( | MemAllocator * | allocator, |
NATIVE_UINT_TYPE | maxSerializedSize | ||
) |
Definition at line 19 of file SerializableFile.cpp.
Fw::SerializableFile::~SerializableFile | ( | ) |
Definition at line 30 of file SerializableFile.cpp.
SerializableFile::Status Fw::SerializableFile::load | ( | const char * | fileName, |
Serializable & | serializable | ||
) |
Definition at line 34 of file SerializableFile.cpp.
SerializableFile::Status Fw::SerializableFile::save | ( | const char * | fileName, |
Serializable & | serializable | ||
) |
Definition at line 63 of file SerializableFile.cpp.