-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathParallelModuleAccess.h
More file actions
36 lines (24 loc) · 1 KB
/
ParallelModuleAccess.h
File metadata and controls
36 lines (24 loc) · 1 KB
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
35
36
#ifndef NSAPPLICATION_CPARALLELMODULEACCESS_H
#define NSAPPLICATION_CPARALLELMODULEACCESS_H
#include "Compute/ParallelModule.h"
#include "Library/Singleton/AnyGlobalAccess.h"
namespace NSApplication {
namespace NSParallelModuleDetail {
namespace nl = NSLibrary;
class CMainParallelModule;
using CParallelModule = NSCompute::CParallelModule;
class CMainParallelModuleInitializer
: nl::CAnyGlobalInitializer<CParallelModule, CMainParallelModule> {
using CBase = nl::CAnyGlobalInitializer<CParallelModule, CMainParallelModule>;
public:
using CBase::CBase;
};
class CMainParallelModuleAccess
: public nl::CAnyGlobalAccess<CParallelModule, CMainParallelModule> {
using CBase = nl::CAnyGlobalAccess<CParallelModule, CMainParallelModule>;
};
} // namespace NSParallelModuleDetail
using CParallelInit = NSParallelModuleDetail::CMainParallelModuleInitializer;
using CParallelAccess = NSParallelModuleDetail::CMainParallelModuleAccess;
} // namespace NSApplication
#endif // NSAPPLICATION_CPARALLELMODULEACCESS_H