16 return Os::Delegate::makeDelegate<FileInterface, Os::Stub::File::StubFile>(
17 aligned_placement_new_memory, to_copy
26 return Os::Delegate::makeDelegate<FileSystemInterface, Os::Stub::FileSystem::StubFileSystem>(
27 aligned_placement_new_memory
35 return Os::Delegate::makeDelegate<DirectoryInterface, Os::Stub::Directory::StubDirectory>(
36 aligned_placement_new_memory
U8 DirectoryHandleStorage[FW_DIRECTORY_HANDLE_MAX_SIZE]
U8 FileSystemHandleStorage[FW_FILESYSTEM_HANDLE_MAX_SIZE]
U8 FileHandleStorage[FW_FILE_HANDLE_MAX_SIZE]
static DirectoryInterface * getDelegate(DirectoryHandleStorage &aligned_new_memory)
provide a pointer to a Directory delegate object
static FileInterface * getDelegate(FileHandleStorage &aligned_placement_new_memory, const FileInterface *to_copy=nullptr)
provide a pointer to a file delegate object
static FileSystemInterface * getDelegate(FileSystemHandleStorage &aligned_new_memory)
provide a pointer to a FileSystem delegate object