Struct Blackboard::SharedStorage

Nested Relationships

This struct is a nested type of Class Blackboard.

Struct Documentation

struct SharedStorage

Shared storage used by blackboard copies.

Values, type information and the synchronization primitive are shared so copied blackboards can access the same underlying data while keeping their own remapping scope.

Public Members

mutable std::recursive_mutex mutex

Mutex for thread safety of the shared storage.

std::unordered_map<std::string, std::shared_ptr<void>> values

Storage for key-value pairs.

TypeRegistry type_registry

Storage for type information for each key.