esp/core/managedContainers/ManagedContainer.h file

Class Template esp::core::managedContainers::ManagedContainer : container functionality to manage esp::core::managedContainers::AbstractManagedObject objects.

Namespaces

namespace esp
Root namespace.
namespace esp::core
Core Habitat functionality.
namespace esp::core::managedContainers

Classes

template<class T, ManagedObjectAccess Access>
class esp::core::managedContainers::ManagedContainer
Class template defining responsibilities and functionality for managing esp::core::managedContainers::AbstractManagedObject constructs.

Enums

enum class ManagedObjectAccess { Copy, Share }
This enum describes how objects held in the ManagedConatainer are accessed.

Enum documentation

enum class ManagedObjectAccess

This enum describes how objects held in the ManagedConatainer are accessed.

Enumerators
Copy

When an object is requested to be retrieved, a copy is made and returned. Modifications to this object will only take place if the object is registered.

Share

When an object is requested to be retrieved, a reference to the object itself is returned, and all changes will be tracked without registration.