![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Namespaces | |
| Darwin | |
| Delegate | |
| FilePathUtils | |
| Utility for canonicalizing file paths and checking directory containment. | |
| Generic | |
| Linux | |
| Posix | |
| Stub | |
| Test | |
| ValidateFile | |
Classes | |
| class | ConditionVariable |
| condition variable implementation More... | |
| class | ConditionVariableHandle |
| Condition variable handle parent. More... | |
| class | ConditionVariableInterface |
| interface for condition variables More... | |
| class | Console |
| struct | ConsoleHandle |
| Base class for storing implementation specific handle information. More... | |
| class | ConsoleInterface |
| class | CountingSemaphore |
| class | CountingSemaphoreHandle |
| class | CountingSemaphoreInterface |
| class | CountingSemaphoreStatus |
| FPP shadow-enum representing Os::CountingSemaphore::Status. More... | |
| class | Cpu |
| cpu implementation More... | |
| class | CpuHandle |
| Cpu variable handle parent. More... | |
| class | CpuInterface |
| interface for cpu implementation More... | |
| class | DelegateRawTime |
| class | Directory |
| Directory class. More... | |
| struct | DirectoryHandle |
| class | DirectoryInterface |
| class | DirectoryOpenMode |
| class | DirectoryStatus |
| FPP shadow-enum representing Os::Directory::Status. More... | |
| class | File |
| struct | FileHandle |
| base implementation of FileHandle More... | |
| class | FileInterface |
| class | FileMode |
| FPP shadow-enum representing Os::File::Mode. More... | |
| class | FileStatus |
| FPP shadow-enum representing Os::File::Status. More... | |
| class | FileSystem |
| FileSystem class. More... | |
| struct | FileSystemHandle |
| class | FileSystemInterface |
| class | FileSystemStatus |
| FPP shadow-enum representing Os::FileSystem::Status. More... | |
| class | GenericStatus |
| FPP shadow-enum representing Os::Generic::Status. More... | |
| class | IntervalTimer |
| class | Memory |
| memory implementation More... | |
| class | MemoryHandle |
| Memory variable handle parent. More... | |
| class | MemoryInterface |
| interface for memory implementation More... | |
| class | Mutex |
| struct | MutexHandle |
| class | MutexInterface |
| class | MutexStatus |
| FPP shadow-enum representing Os::Mutex::Status. More... | |
| class | Queue |
| class | QueueBlockingType |
| FPP shadow-enum representing Os::Queue::BlockingType. More... | |
| class | QueueHandle |
| QueueHandle parent class. More... | |
| class | QueueInterface |
| base queue interface More... | |
| class | QueueRegistry |
| queue registry interface More... | |
| class | QueueStatus |
| FPP shadow-enum representing Os::Queue::Status. More... | |
| class | QueueString |
| struct | RawTimeHandle |
| class | RawTimeInterface |
| class | RawTimeStatus |
| FPP shadow-enum representing Os::RawTime::Status. More... | |
| class | SandboxedFile |
| A wrapper around Os::File that restricts file access to an allowed directory. More... | |
| class | ScopeLock |
| locks a mutex within the current scope More... | |
| class | Task |
| class | TaskHandle |
| Task handle representation. More... | |
| class | TaskInterface |
| class | TaskRegistry |
| class | TaskStatus |
| FPP shadow-enum representing Os::Task::Status. More... | |
| class | TaskString |
| class | ValidatedFile |
| A validated file. More... | |
Typedefs | |
| using | RawTime = DelegateRawTime |
Enumerations | |
| enum | RawTimeSource { RAWTIME_DEFAULT = 0, RAWTIME_DEFAULT = 0 } |
| Timer source selection for RawTime. More... | |
| enum | { FILE_MODE_IRUSR = 64 } |
| enum | { FILE_MODE_IWUSR = 128 } |
| enum | { FILE_MODE_IXUSR = 256 } |
| enum | { FILE_MODE_IRWXU = 448 } |
| enum | { FILE_MODE_IRGRP = 8 } |
| enum | { FILE_MODE_IWGRP = 16 } |
| enum | { FILE_MODE_IXGRP = 32 } |
| enum | { FILE_MODE_IRWXG = 56 } |
| enum | { FILE_MODE_IROTH = 1 } |
| enum | { FILE_MODE_IWOTH = 2 } |
| enum | { FILE_MODE_IXOTH = 4 } |
| enum | { FILE_MODE_IRWXO = 7 } |
| enum | { FILE_MODE_ISUID = 2048 } |
| enum | { FILE_MODE_ISGID = 1024 } |
| enum | { FILE_MODE_ISVTX = 512 } |
| enum | { FILE_DEFAULT_CREATE_MODE = 219 } |
| enum | RawTimeSource { RAWTIME_DEFAULT = 0, RAWTIME_DEFAULT = 0 } |
| Timer source selection for RawTime. More... | |
| enum | { TASK_DEFAULT = -1 } |
| enum | StatusFileType { FileType, HashFileType } |
Functions | |
| void | init () |
| Initialize the OS Abstraction Layer (OSAL) More... | |
| File::Status | computeHash (const char *fileName, Utils::HashBuffer &hashBuffer) |
| File::Status | readHash (const char *hashFileName, Utils::HashBuffer &hashBuffer) |
| File::Status | writeHash (const char *hashFileName, Utils::HashBuffer hashBuffer) |
| ValidateFile::Status | translateStatus (File::Status status, StatusFileType type) |
< Forward declaration of the link-time delegate Default: select the RawTime implementation at link time
| typedef DelegateRawTime Os::RawTime |
Definition at line 42 of file OsDelegateRawTime.hpp.
| anonymous enum |
File open mode permission bits Constant values are derived from standard Unix values, but should not be assumed to match
| Enumerator | |
|---|---|
| FILE_MODE_IRUSR | |
Definition at line 524 of file FppConstantsAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| FILE_MODE_IWUSR | |
Definition at line 528 of file FppConstantsAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| FILE_MODE_IXUSR | |
Definition at line 532 of file FppConstantsAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| FILE_MODE_IRWXU | |
Definition at line 536 of file FppConstantsAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| FILE_MODE_IRGRP | |
Definition at line 540 of file FppConstantsAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| FILE_MODE_IWGRP | |
Definition at line 544 of file FppConstantsAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| FILE_MODE_IXGRP | |
Definition at line 548 of file FppConstantsAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| FILE_MODE_IRWXG | |
Definition at line 552 of file FppConstantsAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| FILE_MODE_IROTH | |
Definition at line 556 of file FppConstantsAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| FILE_MODE_IWOTH | |
Definition at line 560 of file FppConstantsAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| FILE_MODE_IXOTH | |
Definition at line 564 of file FppConstantsAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| FILE_MODE_IRWXO | |
Definition at line 568 of file FppConstantsAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| FILE_MODE_ISUID | |
Definition at line 572 of file FppConstantsAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| FILE_MODE_ISGID | |
Definition at line 576 of file FppConstantsAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| FILE_MODE_ISVTX | |
Definition at line 580 of file FppConstantsAc.hpp.
| anonymous enum |
File creation mode used when calling Os::File "open" with the OPEN_CREATE mode flag. The FILE_DEFAULT_CREATE_MODE constant @ is a bitfield of the above FILE_MODE_* bits that should be present in the created file The default value corresponds to a mode of 666 (a+rw) on Linux
| Enumerator | |
|---|---|
| FILE_DEFAULT_CREATE_MODE | |
Definition at line 589 of file FppConstantsAc.hpp.
| anonymous enum |
Sentinel for default task parameters: casts to Os::Task::TASK_DEFAULT CPU affinities must be a valid core index (< CPU_SETSIZE) or TASK_DEFAULT; others assert at startup
| Enumerator | |
|---|---|
| TASK_DEFAULT | |
Definition at line 16 of file FppConstantsAc.hpp.
| enum Os::RawTimeSource |
Timer source selection for RawTime.
This enumeration allows platforms to define multiple timer sources. Platform implementations can override this header in their config directory to add platform-specific timer sources.
| Enumerator | |
|---|---|
| RAWTIME_DEFAULT | Platform's default timer (maintains current behavior) |
| RAWTIME_DEFAULT | Platform's default timer (maintains current behavior) |
Definition at line 15 of file RawTimeSource.hpp.
| enum Os::RawTimeSource |
Timer source selection for RawTime.
This enumeration allows platforms to define multiple timer sources. Platform implementations can override this header in their config directory to add platform-specific timer sources.
| Enumerator | |
|---|---|
| RAWTIME_DEFAULT | Platform's default timer (maintains current behavior) |
| RAWTIME_DEFAULT | Platform's default timer (maintains current behavior) |
Definition at line 15 of file RawTimeSource.hpp.
| enum Os::StatusFileType |
| Enumerator | |
|---|---|
| FileType | |
| HashFileType | |
Definition at line 117 of file ValidateFileCommon.cpp.
| File::Status Os::computeHash | ( | const char * | fileName, |
| Utils::HashBuffer & | hashBuffer | ||
| ) |
< gets the size of the file (in bytes) at location path
Definition at line 8 of file ValidateFileCommon.cpp.
| void Os::init | ( | ) |
| File::Status Os::readHash | ( | const char * | hashFileName, |
| Utils::HashBuffer & | hashBuffer | ||
| ) |
Definition at line 64 of file ValidateFileCommon.cpp.
| ValidateFile::Status Os::translateStatus | ( | File::Status | status, |
| StatusFileType | type | ||
| ) |
Definition at line 119 of file ValidateFileCommon.cpp.
| File::Status Os::writeHash | ( | const char * | hashFileName, |
| Utils::HashBuffer | hashBuffer | ||
| ) |
Definition at line 93 of file ValidateFileCommon.cpp.