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

Public Member Functions

 Provider (std::shared_ptr< Loader > loader, std::string const &path)
 
bool loaded () const
 
ns_handle_type ns (std::string const &name) const
 
statefs_ioio ()
 
void on_provider_event (statefs_provider *p, statefs_event e)
 
 Provider (statefs_server *server)
 
virtual void release ()
 
- Public Member Functions inherited from statefs::AProvider
 AProvider (char const *name, statefs_server *server)
 
- Public Member Functions inherited from statefs::Branch< statefs_provider >
 Branch (char const *name, statefs_node const &node_template)
 
- Public Member Functions inherited from statefs::BranchWrapper< statefs_provider >
::statefs_branchbranch_cast ()
 
::statefs_branch const * branch_cast () const
 
 BranchWrapper (char const *name, statefs_node const &node_template, statefs_branch const &branch_template)
 
- Public Member Functions inherited from statefs::NodeWrapper< statefs_provider >
::statefs_nodenode_cast ()
 
::statefs_node const * node_cast () const
 
virtual ::statefs_nodeget_node ()
 
virtual ::statefs_node const * get_node () const
 
virtual ::statefs_node_type get_type () const
 
virtual std::string get_name () const
 
 NodeWrapper (char const *name, statefs_node const &node_template)
 
- Public Member Functions inherited from statefs::BranchStorage
child_ptr insert (child_ptr child)
 
child_ptr insert (ANode *child)
 

Additional Inherited Members

- Public Types inherited from statefs::BranchStorage
typedef std::shared_ptr< ANodechild_ptr
 
- Static Public Member Functions inherited from statefs::BranchWrapper< statefs_provider >
static BranchWrapper
< statefs_provider > * 
self_cast (statefs_branch *src)
 
static BranchWrapper
< statefs_provider > const * 
self_cast (statefs_branch const *src)
 
- Public Attributes inherited from statefs_provider
unsigned version
 
struct statefs_namespace root
 
struct statefs_io io
 
- Public Attributes inherited from statefs_server
void(* event )(struct statefs_server *, struct statefs_provider *, statefs_event)
 
- Protected Types inherited from statefs::BranchStorage
typedef std::map< std::string,
child_ptr > 
storage_type
 
typedef
storage_type::const_iterator 
iter_type
 
- Protected Member Functions inherited from statefs::AProvider
void event (statefs_event)
 
- Static Protected Member Functions inherited from statefs::AProvider
static AProviderself_cast ()
 

Detailed Description

Provider should inherit statefs::AProvider and call ctor supplying it with provider name

Member Function Documentation

virtual void Provider::release ( )
inlinevirtual

corresponds to statefs_node.release of the statefs_provider.root

Implements statefs::ANode.


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