Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::JournalFeed Class Reference
+ Inheritance diagram for Feel::JournalFeed:
+ Collaboration diagram for Feel::JournalFeed:

Public Types

using init_type = std::initializer_list< std::pair< std::string const, value_type > >
 
using map_type = std::map< std::string, value_type >
 
using value_type = boost::variant< std::string, int, double, std::vector< int >, std::vector< double >, std::vector< std::string > >
 
- Public Types inherited from Feel::JournalWatcher
using function_update_information_type = std::function< void(nl::json &)>
 
using notify_type = nl::json
 
 JournalFeed ()
 Constructor.
 
 JournalFeed (init_type const &m)
 Create a ptree from initializer list.
 
 JournalFeed (map_type const &m)
 Create a ptree from map.
 
void add (std::string const &key, value_type val)
 
const JournalFeed * operator() ()
 Return a pointer to this object.
 

Additional Inherited Members

- Public Member Functions inherited from Feel::JournalWatcher
 JournalWatcher (std::string const &category="", std::string const &name="", bool connect=JournalManager::journalAutoMode())
 Constructors. More...
 
 JournalWatcher (std::string const &category, bool useDefaultName, bool connect=JournalManager::journalAutoMode())
 
 JournalWatcher (function_update_information_type const &func, std::string const &category="", std::string const &name="", bool useDefaultNameIfEmpty=true, bool connect=JournalManager::journalAutoMode())
 
 JournalWatcher (JournalWatcher const &jw)
 Copy constructor.
 
virtual ~JournalWatcher ()
 Default destructor. The (inherited) object is always disconnected from the journal during the destruction.
 
bool journalIsConnected () const
 GettersCheck if the object is connected to the journal. More...
 
std::string const & journalWatcherInstanceName () const
 Return the full instance name for this watched object. The name is composed with the base name and a suffix index corresponding to the nth call. More...
 
nl::json::json_pointer journalSection () const
 Return the section into the journal as json_pointer.
 
nl::json const & informationObject () const
 Return the information into property tree.
 
void journalConnect ()
 Setters. More...
 
void journalDisconnect ()
 Disconnect the derived object from the simulation info manager. The disconnection is safe.
 
virtual void updateInformationObject (nl::json &p) const
 update information object into p More...
 
void setInformationObject (nl::json const &informationObject)
 set information object
 
void putInformationObject (nl::json const &informationObject)
 put information object
 
void addInformationObject (nl::json const &informationObject)
 add information object
 
void journalFinalize ()
 finalize journal publication
 
- Protected Member Functions inherited from Feel::JournalWatcher
void applyUpdateInformationObject ()
 Protected Methods.