StateFS
 All Classes Files Functions Variables Typedefs Enumerations Groups Pages
Example C++ provider

Example C++ provider - uses statefspp framework. More...

Example C++ provider - uses statefspp framework.

Provider is still returned by statefs_provider_get() function.

Provider class should inherit statefs::AProvider (see Provider). Namespace inherits statefs::Namespace (like NsChild and NsTime).

Properties can be implemented in different ways, basically property should also inherit statefs::AProperty and implement its virtual methods. The most simple way is to just specialize BasicPropertyOwner template with: