JsonStorageComponentPlugin Class Reference

Brief description of class JsonStorageComponentPlugin. More...

#include <ArmarXCore/libraries/ArmarXCoreComponentPlugins/JsonStorageComponentPlugin.h>

+ Inheritance diagram for JsonStorageComponentPlugin:

Classes

struct  Impl
 

Public Member Functions

void postCreatePropertyDefinitions (PropertyDefinitionsPtr &properties) override
 
void preOnConnectComponent () override
 
void preOnInitComponent () override
 
JsonStorageRetrievedValue retrieveValue (std::string const &key)
 
void storeValue (std::string const &key, nlohmann::json const &value)
 
 ~JsonStorageComponentPlugin ()
 
- Public Member Functions inherited from ManagedIceObjectPlugin
ManagedIceObjectparent ()
 
template<class T >
Tparent ()
 
const ManagedIceObjectparent () const
 
template<class T >
const Tparent () const
 
template<class T >
bool parentDerives () const
 
virtual ~ManagedIceObjectPlugin ()=default
 

Public Attributes

std::unique_ptr< Implimpl
 

Additional Inherited Members

- Protected Member Functions inherited from ComponentPlugin
virtual void componentPropertiesUpdated (const std::set< std::string > &changedProperties)
 
 ManagedIceObjectPlugin (ManagedIceObject &parent, std::string pre)
 
- Protected Member Functions inherited from ManagedIceObjectPlugin
template<class PluginT , class... ParamsT>
PluginT * addPlugin (const std::string prefix="", ParamsT &&...params)
 
template<class PluginT , class... ParamsT>
void addPlugin (PluginT *&targ, const std::string prefix="", ParamsT &&...params)
 
template<class PluginT , class... ParamsT>
void addPlugin (std::experimental::observer_ptr< PluginT > &targ, const std::string prefix="", ParamsT &&...params)
 
void addPluginDependency (ManagedIceObjectPlugin *dependedOn)
 
void addPluginDependency (std::experimental::observer_ptr< ManagedIceObjectPlugin > dependedOn)
 
std::string makePropertyName (const std::string &name)
 
 ManagedIceObjectPlugin (ManagedIceObject &parent, std::string pre)
 
virtual void postOnConnectComponent ()
 
virtual void postOnDisconnectComponent ()
 
virtual void postOnExitComponent ()
 
virtual void postOnInitComponent ()
 
const std::string & prefix () const
 
virtual void preOnDisconnectComponent ()
 
virtual void preOnExitComponent ()
 

Detailed Description

Brief description of class JsonStorageComponentPlugin.

Detailed description of class JsonStorageComponentPlugin.

Definition at line 54 of file JsonStorageComponentPlugin.h.

Constructor & Destructor Documentation

◆ ~JsonStorageComponentPlugin()

Member Function Documentation

◆ postCreatePropertyDefinitions()

void postCreatePropertyDefinitions ( PropertyDefinitionsPtr properties)
overridevirtual

Reimplemented from ComponentPlugin.

Definition at line 45 of file JsonStorageComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ preOnConnectComponent()

void preOnConnectComponent ( )
overridevirtual

Reimplemented from ManagedIceObjectPlugin.

Definition at line 40 of file JsonStorageComponentPlugin.cpp.

◆ preOnInitComponent()

void preOnInitComponent ( )
overridevirtual

Reimplemented from ManagedIceObjectPlugin.

Definition at line 25 of file JsonStorageComponentPlugin.cpp.

+ Here is the call graph for this function:

◆ retrieveValue()

JsonStorageRetrievedValue retrieveValue ( std::string const &  key)

Definition at line 65 of file JsonStorageComponentPlugin.cpp.

+ Here is the caller graph for this function:

◆ storeValue()

void storeValue ( std::string const &  key,
nlohmann::json const &  value 
)

Definition at line 56 of file JsonStorageComponentPlugin.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ impl

std::unique_ptr<Impl> impl

Definition at line 69 of file JsonStorageComponentPlugin.h.


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