XTL
0.1
eXtended Template Library
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
shared_mem_obj.hpp
Go to the documentation of this file.
1
6
#pragma once
7
#include <
xtd/xtd.hpp
>
8
9
namespace
xtd{
10
template
<
typename
_Ty>
class
shared_mem_obj
{
11
std::atomic<bool> _BeginInit;
//set when initialization has began
12
std::atomic<bool> _EndInit;
//set when initialization has complete
13
size_t
_ObjectID;
14
public
:
15
shared_mem_obj
() =
delete
;
16
shared_mem_obj
(
const
shared_mem_obj
&) =
delete
;
17
shared_mem_obj
& operator=(
const
shared_mem_obj
&) =
delete
;
18
void
*
operator
new
(
const
char
* name,
size_t
len);
19
void
operator
delete
(
void
* addr);
20
virtual
void
initialize() = 0;
21
virtual
void
destroy() = 0;
22
};
23
}
xtd::shared_mem_obj
Definition:
shared_mem_obj.hpp:10
xtd.hpp
host, target and build configurations and settings Various components are purpose built for specific ...
xtd
shared_mem_obj.hpp
Generated on Tue Aug 23 2016 06:51:08 for XTL by
1.8.6