MountTable Class

Definition

Line 15 of cmsxk/MountTable.cm

Constructors & Destructor

static MountTable()
private MountTable()

Member Functions

public void Flush()
public FileSystem* GetFileSystem(int fsNumber) const
public FileSystem* GetMountedFileSystem(const String<char>& dirPath, const INodeKey& mountDirKey) const
public void Init()
private void InitializeFileSystems()
public static nothrow MountTable& Instance()

Member Variables

private List<UniquePtr<FileSystem>> fileSystems
private static UniquePtr<MountTable> instance

Constructor& Destructor Details

MountTable Static Constructor

static MountTable()

Definition
Line 17 of cmsxk/MountTable.cm


MountTable Constructor

private MountTable()

Definition
Line 48 of cmsxk/MountTable.cm


Member Function Details

Flush Member Function

public void Flush()

Definition
Line 94 of cmsxk/MountTable.cm


GetFileSystem Member Function

public FileSystem* GetFileSystem(int fsNumber)

Definition
Line 24 of cmsxk/MountTable.cm


GetMountedFileSystem Member Function

public FileSystem* GetMountedFileSystem(const String<char>& dirPath, const INodeKey& mountDirKey)

Definition
Line 33 of cmsxk/MountTable.cm


Init Member Function

public void Init()

Definition
Line 51 of cmsxk/MountTable.cm


InitializeFileSystems Member Function

private void InitializeFileSystems()

Definition
Line 101 of cmsxk/MountTable.cm


Instance Static Member Function

public static nothrow MountTable& Instance()

Definition
Line 20 of cmsxk/MountTable.cm