8 : name_(name), settings_(settings)
14 : name_(rhs.name_), settings_(rhs.settings_)
23 MADARA_GUARD_TYPE guard(mutex_);
31 MADARA_GUARD_TYPE guard(mutex_);
42 "BaseContainer::is_true: calling condition.is_true()\n");
47 "BaseContainer::is_true: condition.is_true() returned true\n");
62 "BaseContainer::is_false: calling !condition.is_true()\n");
67 "BaseContainer::is_false: !condition.is_true() returned true\n");
#define madara_logger_ptr_log(loggering, level,...)
Fast version of the madara::logger::log method for Logger pointers.
Settings for applying knowledge updates.
This class is an abstract base class for all containers.
BaseContainer(const std::string &name="", const KnowledgeUpdateSettings &settings=KnowledgeUpdateSettings())
Constructor.
virtual ~BaseContainer()
Destructor.
virtual bool modify_if_false(BaseContainer &conditional)
Modifies the container if the argument is false.
virtual bool modify_if_true(BaseContainer &conditional)
Modifies the container if the argument is true.
KnowledgeUpdateSettings get_settings(void)
Gets the update settings for the container.
virtual bool is_true_(void) const =0
Polymorphic is true method which can be used to determine if all values in a container are true.
void set_settings(const KnowledgeUpdateSettings &settings)
Sets the update settings for the container.
T get(const KnowledgeRecord &kr)
Get the value of a KnowlegeRecord.
Provides knowledge logging services to files and terminals.
MADARA_EXPORT utility::Refcounter< logger::Logger > global_logger