esp::metadata::AbstractManagedObject class

This abstract base class provides the interface of expected functionality for an object to be manageable by ManagedContainers class template specializations.

Constructors, destructors, conversion operators

~AbstractManagedObject() defaulted virtual

Public functions

auto getClassKey() const -> std::string pure virtual
Get the instancing class of the ManagedObject instantior. Should only be set from implementer's constructor. Used as key in constructor function pointer maps in ManagedContainers.
void setHandle(const std::string&) pure virtual
Set this attributes name/origin. Some attributes derive their own names based on their state, such as AbstractPrimitiveAttributes; in such cases this should be overridden with NOP.
auto getHandle() const -> std::string pure virtual

Protected functions

void setClassKey(const std::string&) pure virtual