8 : name_ (name), settings_ (settings)
31 MADARA_GUARD_TYPE guard (
mutex_);
39 MADARA_GUARD_TYPE guard (
mutex_);
50 "BaseContainer::is_true: calling condition.is_true()\n");
55 "BaseContainer::is_true: condition.is_true() returned true\n");
70 "BaseContainer::is_false: calling !condition.is_true()\n");
75 "BaseContainer::is_false: !condition.is_true() returned true\n");
std::string name_
Prefix of variable.
void set_settings(const KnowledgeUpdateSettings &settings)
Sets the update settings for the container.
MADARA_Export utility::Refcounter< logger::Logger > global_logger
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...
MADARA_LOCK_TYPE mutex_
guard for access and changes
Provides knowledge logging services to files and terminals.
virtual void modify_(void)=0
Polymorphic modify method used by collection containers.
virtual bool modify_if_false(BaseContainer &conditional)
Modifies the container if the argument is false.
#define madara_logger_ptr_log(logger, level,...)
Fast version of the madara::logger::log method for Logger pointers.
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.
KnowledgeUpdateSettings settings_
Settings for modifications.
Settings for applying knowledge updates.
virtual ~BaseContainer()
Destructor.
BaseContainer(const std::string &name="", const KnowledgeUpdateSettings &settings=KnowledgeUpdateSettings())
Constructor.
This class is an abstract base class for all containers.