WIP: somethings wrong.. #19
@ -1,5 +1,5 @@
|
|||||||
#ifndef LOCALPOOL_TPP
|
#ifndef FRAMEWORK_STORAGEMANAGER_LOCALPOOL_TPP_
|
||||||
#define LOCALPOOL_TPP
|
#define FRAMEWORK_STORAGEMANAGER_LOCALPOOL_TPP_
|
||||||
|
|
||||||
template<uint8_t NUMBER_OF_POOLS>
|
template<uint8_t NUMBER_OF_POOLS>
|
||||||
inline LocalPool<NUMBER_OF_POOLS>::LocalPool(object_id_t setObjectId,
|
inline LocalPool<NUMBER_OF_POOLS>::LocalPool(object_id_t setObjectId,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef POOLMANAGER_H_
|
#ifndef FRAMEWORK_STORAGEMANAGER_POOLMANAGER_H_
|
||||||
#define POOLMANAGER_H_
|
#define FRAMEWORK_STORAGEMANAGER_POOLMANAGER_H_
|
||||||
|
|
||||||
#include <framework/storagemanager/LocalPool.h>
|
#include <framework/storagemanager/LocalPool.h>
|
||||||
#include <framework/ipc/MutexHelper.h>
|
#include <framework/ipc/MutexHelper.h>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef POOLMANAGER_TPP_
|
#ifndef FRAMEWORK_STORAGEMANAGER_POOLMANAGER_TPP_
|
||||||
#define POOLMANAGER_TPP_
|
#define FRAMEWORK_STORAGEMANAGER_POOLMANAGER_TPP_
|
||||||
|
|
||||||
template<uint8_t NUMBER_OF_POOLS>
|
template<uint8_t NUMBER_OF_POOLS>
|
||||||
inline PoolManager<NUMBER_OF_POOLS>::PoolManager(object_id_t setObjectId,
|
inline PoolManager<NUMBER_OF_POOLS>::PoolManager(object_id_t setObjectId,
|
||||||
|
@ -1,22 +1,19 @@
|
|||||||
/**
|
#ifndef FRAMEWORK_STORAGEMANAGER_STORAGEACCESSOR_H_
|
||||||
* @brief Helper classes to facilitate safe access to storages which is also
|
#define FRAMEWORK_STORAGEMANAGER_STORAGEACCESSOR_H_
|
||||||
* conforming to RAII principles
|
|
||||||
* @details These helper can be used together with the
|
|
||||||
* StorageManager classes to manage access to a storage.
|
|
||||||
* It can take care of thread-safety while also providing
|
|
||||||
* mechanisms to automatically clear storage data.
|
|
||||||
*/
|
|
||||||
#ifndef TEST_PROTOTYPES_STORAGEACCESSOR_H_
|
|
||||||
#define TEST_PROTOTYPES_STORAGEACCESSOR_H_
|
|
||||||
|
|
||||||
#include <framework/ipc/MutexHelper.h>
|
#include <framework/ipc/MutexHelper.h>
|
||||||
#include <framework/storagemanager/StorageManagerIF.h>
|
#include <framework/storagemanager/StorageManagerIF.h>
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Accessor class which can be returned by pool managers
|
* @brief Helper classes to facilitate safe access to storages which is also
|
||||||
* or passed and set by pool managers to have safe access to the pool
|
* conforming to RAII principles
|
||||||
* resources.
|
* @details
|
||||||
|
* Accessor class which can be returned by pool manager or passed and set by
|
||||||
|
* pool managers to have safe access to the pool resources.
|
||||||
|
*
|
||||||
|
* These helper can be used together with the StorageManager classes to manage
|
||||||
|
* access to a storage. It can take care of thread-safety while also providing
|
||||||
|
* mechanisms to automatically clear storage data.
|
||||||
*/
|
*/
|
||||||
class ConstStorageAccessor {
|
class ConstStorageAccessor {
|
||||||
//! StorageManager classes have exclusive access to private variables.
|
//! StorageManager classes have exclusive access to private variables.
|
||||||
|
Loading…
Reference in New Issue
Block a user