F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Os Namespace Reference

Namespaces

 Darwin
 
 Delegate
 
 Generic
 
 Linux
 
 Posix
 
 Stub
 
 ValidateFile
 

Classes

class  DirectoryOpenMode
 
class  DirectoryStatus
 FPP shadow-enum representing Os::Directory::Status. More...
 
class  FileMode
 FPP shadow-enum representing Os::File::Mode. More...
 
class  FileStatus
 FPP shadow-enum representing Os::File::Status. More...
 
class  FileSystemStatus
 FPP shadow-enum representing Os::FileSystem::Status. More...
 
class  GenericStatus
 FPP shadow-enum representing Os::Generic::Status. More...
 
class  MutexStatus
 FPP shadow-enum representing Os::Mutex::Status. More...
 
class  QueueBlockingType
 FPP shadow-enum representing Os::Queue::BlockingType. More...
 
class  QueueStatus
 FPP shadow-enum representing Os::Queue::Status. More...
 
class  RawTimeStatus
 FPP shadow-enum representing Os::RawTime::Status. More...
 
class  TaskStatus
 FPP shadow-enum representing Os::Task::Status. More...
 
class  ConditionVariableHandle
 Condition variable handle parent. More...
 
class  ConditionVariableInterface
 interface for condition variables More...
 
class  ConditionVariable
 condition variable implementation More...
 
struct  ConsoleHandle
 Base class for storing implementation specific handle information. More...
 
class  ConsoleInterface
 
class  Console
 
class  CpuHandle
 Cpu variable handle parent. More...
 
class  CpuInterface
 interface for cpu implementation More...
 
class  Cpu
 cpu implementation More...
 
struct  DirectoryHandle
 
class  DirectoryInterface
 
class  Directory
 Directory class. More...
 
struct  FileHandle
 base implementation of FileHandle More...
 
class  FileInterface
 
class  File
 
struct  FileSystemHandle
 
class  FileSystemInterface
 
class  FileSystem
 FileSystem class. More...
 
class  IntervalTimer
 
class  MemoryHandle
 Memory variable handle parent. More...
 
class  MemoryInterface
 interface for memory implementation More...
 
class  Memory
 memory implementation More...
 
struct  MutexHandle
 
class  MutexInterface
 
class  Mutex
 
class  ScopeLock
 locks a mutex within the current scope More...
 
class  QueueHandle
 QueueHandle parent class. More...
 
class  QueueInterface
 base queue interface More...
 
class  Queue
 
class  QueueRegistry
 queue registry interface More...
 
class  QueueString
 
struct  RawTimeHandle
 
class  RawTimeInterface
 
class  RawTime
 
class  TaskHandle
 Task handle representation. More...
 
class  TaskInterface
 
class  Task
 
class  TaskRegistry
 
class  TaskString
 
class  ValidatedFile
 A validated file. More...
 

Enumerations

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)
 

Enumeration Type Documentation

◆ StatusFileType

Enumerator
FileType 
HashFileType 

Definition at line 118 of file ValidateFileCommon.cpp.

Function Documentation

◆ computeHash()

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.

◆ init()

void Os::init ( )

Initialize the OS Abstraction Layer (OSAL)

  • Initialize all singletons for the OSAL modules that use the singleton pattern

Definition at line 15 of file Os.cpp.

◆ readHash()

File::Status Os::readHash ( const char *  hashFileName,
Utils::HashBuffer hashBuffer 
)

Definition at line 64 of file ValidateFileCommon.cpp.

◆ translateStatus()

ValidateFile::Status Os::translateStatus ( File::Status  status,
StatusFileType  type 
)

Definition at line 123 of file ValidateFileCommon.cpp.

◆ writeHash()

File::Status Os::writeHash ( const char *  hashFileName,
Utils::HashBuffer  hashBuffer 
)

Definition at line 94 of file ValidateFileCommon.cpp.