-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReactorConfig.h
34 lines (26 loc) · 1.07 KB
/
ReactorConfig.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once
#include"RxCommand/IncludeExtLibs.h"
#include"RxCommand/CommandController.h"
#include"RxCommand/Export.h"
namespace Reactor
{
class DLL_STATE ReactorConfig
{
public:
typedef RxData::ObjectAccessProxy<CommandController::Ptr, CommandController::Ptr> CommandControllerAccess;
typedef RxData::ObjectHome<CommandController::Ptr, CommandController::Ptr>::Ptr CommandControllerHome;
public:
static CommandControllerHome GetCommandControllerHome();
static CommandControllerAccess GetCommandControllerAccess();
// static RxData::CacheDescription GetCommandFactoryCacheId() {
// return CacheConfig.createMasterCacheId(CommandFactory.class);
// }
// static DataCacheId getCommandControllerCacheId(MasterCacheId masterCacheId) {
// return CacheConfig.createDataCacheId(com.telenor.consumer.rx.core.command.api.controller.CommandController.class, masterCacheId);
// }
private:
static RxData::Cache::Ptr ReactorCache();
static std::string CommandControllerTypeName();
static RxData::CacheDescription ReactorCacheDescription();
};
}