StateFS
 All Classes Files Functions Variables Typedefs Enumerations Groups Pages
Public Member Functions | List of all members
PluginLoadFile< LoadT > Class Template Reference
Inheritance diagram for PluginLoadFile< LoadT >:
Inheritance graph
[legend]
Collaboration diagram for PluginLoadFile< LoadT >:
Collaboration graph
[legend]

Public Member Functions

 PluginLoadFile (LoadT loader, int mode, size_t size)
 
int open (struct fuse_file_info &fi)
 
int read (char *buf, size_t size, off_t offset, struct fuse_file_info &fi)
 
int write (const char *src, size_t size, off_t offset, struct fuse_file_info &fi)
 
size_t size () const
 
int poll (struct fuse_file_info &fi, poll_handle_type &ph, unsigned *reventsp)
 

Detailed Description

template<typename LoadT>
class PluginLoadFile< LoadT >

file interface implementation used to load provider interface implementation on accessing file for the first time

Constructor & Destructor Documentation

template<typename LoadT>
PluginLoadFile< LoadT >::PluginLoadFile ( LoadT  loader,
int  mode,
size_t  size 
)
inline
Parameters
interfaceloader used to load actual implementation
modefile mode
sizeinitial size in bytes, it is better to use some fake big size because many tools are checking size only at the beginning

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