Cogs.Core
Public Member Functions | Private Attributes | List of all members
Cogs::Core::TerrainProvider::StashService Class Reference

Public Member Functions

 StashService (Context *context)
 
StashgetStash ()
 

Private Attributes

Contextcontext = nullptr
 
Cogs::Mutex mutex
 
std::unordered_map< std::thread::id, std::unique_ptr< Stash > > stashes
 

Detailed Description

Definition at line 25 of file StashService.h.

Constructor & Destructor Documentation

◆ StashService()

Cogs::Core::TerrainProvider::StashService::StashService ( Context context)

Definition at line 4 of file StashService.cpp.

◆ ~StashService()

Cogs::Core::TerrainProvider::StashService::~StashService ( )

Definition at line 10 of file StashService.cpp.

Member Function Documentation

◆ getStash()

Cogs::Core::TerrainProvider::Stash * Cogs::Core::TerrainProvider::StashService::getStash ( )

Definition at line 14 of file StashService.cpp.

Member Data Documentation

◆ context

Context* Cogs::Core::TerrainProvider::StashService::context = nullptr
private

Definition at line 34 of file StashService.h.

◆ mutex

Cogs::Mutex Cogs::Core::TerrainProvider::StashService::mutex
private

Definition at line 35 of file StashService.h.

◆ stashes

std::unordered_map<std::thread::id, std::unique_ptr<Stash> > Cogs::Core::TerrainProvider::StashService::stashes
private

Definition at line 36 of file StashService.h.


The documentation for this class was generated from the following files: