#include <StoreFSufs.h>
Public Types | |
typedef std::vector< StoreFileSystem * >::iterator | iterator |
typedef std::vector< StoreFileSystem * >::const_iterator | const_iterator |
Public Member Functions | |
StoreFSufs (char const *DefaultModuleType, char const *label) | |
~StoreFSufs () override | |
const char * | type () const override |
SwapDir * | createSwapDir () override |
Static Public Member Functions | |
static StoreFileSystem & | GetInstance () |
static void | FsAdd (StoreFileSystem &) |
static StoreFileSystem * | FindByType (const char *type) |
static std::vector< StoreFileSystem * > const & | FileSystems () |
Protected Attributes | |
DiskIOModule * | IO |
char const * | moduleName |
char const * | label |
Static Private Member Functions | |
static std::vector< StoreFileSystem * > & | GetFileSystems () |
Static Private Attributes | |
static std::vector< StoreFileSystem * > * | _FileSystems = nullptr |
Detailed Description
class Fs::Ufs::StoreFSufs< TheSwapDir >
,
Core UFS class. This template provides compile time aliases for ufs/aufs/diskd to ease configuration conversion - each becomes a StoreFS module whose createSwapDir method parameterises the common UFSSwapDir with an IO module instance.
Definition at line 34 of file StoreFSufs.h.
Member Typedef Documentation
◆ const_iterator
|
inherited |
Definition at line 98 of file StoreFileSystem.h.
◆ iterator
|
inherited |
Definition at line 97 of file StoreFileSystem.h.
Constructor & Destructor Documentation
◆ StoreFSufs()
Fs::Ufs::StoreFSufs< C >::StoreFSufs | ( | char const * | DefaultModuleType, |
char const * | label | ||
) |
Definition at line 52 of file StoreFSufs.h.
References StoreFileSystem::FsAdd().
◆ ~StoreFSufs()
|
inlineoverride |
Definition at line 39 of file StoreFSufs.h.
Member Function Documentation
◆ createSwapDir()
|
overridevirtual |
◆ FileSystems()
|
staticinherited |
Definition at line 30 of file StoreFileSystem.cc.
References StoreFileSystem::GetFileSystems().
Referenced by StoreFileSystem::FindByType().
◆ FindByType()
|
staticinherited |
Definition at line 45 of file StoreFileSystem.cc.
References StoreFileSystem::FileSystems(), and StoreFileSystem::type().
Referenced by Store::Disks::Parse().
◆ FsAdd()
|
staticinherited |
Definition at line 17 of file StoreFileSystem.cc.
References assert, StoreFileSystem::GetFileSystems(), and instance.
Referenced by Rock::StoreFileSystem::StoreFileSystem(), and Fs::Ufs::StoreFSufs< TheSwapDir >::StoreFSufs().
◆ GetFileSystems()
|
staticprivateinherited |
Definition at line 36 of file StoreFileSystem.cc.
References StoreFileSystem::_FileSystems.
Referenced by StoreFileSystem::FileSystems(), and StoreFileSystem::FsAdd().
◆ GetInstance()
|
static |
◆ type()
|
overridevirtual |
Implements StoreFileSystem.
Definition at line 59 of file StoreFSufs.h.
Member Data Documentation
◆ _FileSystems
|
staticprivateinherited |
Definition at line 108 of file StoreFileSystem.h.
Referenced by StoreFileSystem::GetFileSystems().
◆ IO
|
protected |
Definition at line 46 of file StoreFSufs.h.
◆ label
|
protected |
Definition at line 48 of file StoreFSufs.h.
◆ moduleName
|
protected |
Definition at line 47 of file StoreFSufs.h.
The documentation for this class was generated from the following file:
- src/fs/ufs/StoreFSufs.h