acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaa_manual_reset_event.h
1
//*****************************************************************************
2
//
3
// Class: manual_reset_happening
4
// Author: Kenny Kerr
5
// Date created: 10 April 2004
6
// Description: Notifies one or more waiting threads that an happening has
7
// occurred.
8
//
9
//*****************************************************************************
10
11
12
#pragma once
13
14
15
#include "happening.h"
16
17
18
// #define DECLARE_REUSABLE(TYPE) \
19
// TYPE * m_pnext; \
20
// ::factory_item::reusable_factory_item < TYPE, TYPE > * m_pfactory; \
21
// void delete_this() override { if(m_pfactory) m_pfactory->return_back(this); else delete this;}
22
23
24
class
CLASS_DECL_ACME manual_reset_happening :
25
public
::happening
26
{
27
public
:
28
29
30
//__creatable(manual_reset_happening);
31
32
33
::e_status
m_estatus;
34
// DECLARE_REUSABLE(manual_reset_happening);
35
36
37
manual_reset_happening(char_pointer sz =
nullptr
,
bool
bInitiallyOwn =
false
);
38
~manual_reset_happening()
override
;
39
40
//void reuse() { reset_happening(); }
41
42
};
e_status
Definition
e_status.h:30
parallelization
aaa_manual_reset_event.h
Generated by
1.17.0