C++ YASMIN (Yet Another State MachINe)
Loading...
Searching...
No Matches
yasmin::Blackboard::SharedStorage Struct Reference

Shared storage used by blackboard copies. More...

Collaboration diagram for yasmin::Blackboard::SharedStorage:

Public Attributes

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.

Detailed Description

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.

Member Data Documentation

◆ mutex

std::recursive_mutex yasmin::Blackboard::SharedStorage::mutex
mutable

Mutex for thread safety of the shared storage.

◆ type_registry

TypeRegistry yasmin::Blackboard::SharedStorage::type_registry

Storage for type information for each key.

◆ values

std::unordered_map<std::string, std::shared_ptr<void> > yasmin::Blackboard::SharedStorage::values

Storage for key-value pairs.


The documentation for this struct was generated from the following file: