The Pedigree Project 0.1
Public Member Functions | Public Attributes | List of all members
VfsFilesystemContext Class Referencefinal
+ Inheritance diagram for VfsFilesystemContext:
+ Collaboration diagram for VfsFilesystemContext:

Public Member Functions

 VfsFilesystemContext (VfsMountView &owner)
 
bool snapshot (FilesystemContextSnapshot &result) const override
 
bool forkForProcess (FilesystemContextOwner &result) const override
 
void retireProcessOwner () override
 
const void * provider () const override
 

Public Attributes

VfsMountView & view
 
FilesystemPathRef root
 
FilesystemPathRef cwd
 
uint64_t generation = 1
 
VfsContextRow * registration = nullptr
 

Detailed Description

Definition at line 96 of file MountView-internal.h.

Constructor & Destructor Documentation

◆ VfsFilesystemContext()

VfsFilesystemContext::VfsFilesystemContext ( VfsMountView &  owner)
inlineexplicit

Definition at line 98 of file MountView-internal.h.

◆ ~VfsFilesystemContext()

VfsFilesystemContext::~VfsFilesystemContext ( )
override

Definition at line 468 of file MountView.cc.

Member Function Documentation

◆ forkForProcess()

bool VfsFilesystemContext::forkForProcess ( FilesystemContextOwner &  result) const
overridevirtual

Implements FilesystemContext.

Definition at line 490 of file MountView.cc.

◆ provider()

const void * VfsFilesystemContext::provider ( ) const
inlineoverridevirtual

Reimplemented from FilesystemContext.

Definition at line 105 of file MountView-internal.h.

◆ retireProcessOwner()

void VfsFilesystemContext::retireProcessOwner ( )
overridevirtual

Implements FilesystemContext.

Definition at line 493 of file MountView.cc.

◆ snapshot()

bool VfsFilesystemContext::snapshot ( FilesystemContextSnapshot &  result) const
overridevirtual

Implements FilesystemContext.

Definition at line 476 of file MountView.cc.

Member Data Documentation

◆ cwd

FilesystemPathRef VfsFilesystemContext::cwd

Definition at line 111 of file MountView-internal.h.

◆ generation

uint64_t VfsFilesystemContext::generation = 1

Definition at line 112 of file MountView-internal.h.

◆ registration

VfsContextRow* VfsFilesystemContext::registration = nullptr

Definition at line 113 of file MountView-internal.h.

◆ root

FilesystemPathRef VfsFilesystemContext::root

Definition at line 110 of file MountView-internal.h.

◆ view

VfsMountView& VfsFilesystemContext::view

Definition at line 109 of file MountView-internal.h.


The documentation for this class was generated from the following files: