acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaapredicate_function_pointer.h
1
#pragma once
2
3
4
//#include "acme/prototype/prototype/pointer.h"
5
6
//template < typename METHOD >
7
//class sync_method :
8
// public METHOD
9
//{
10
//public:
11
//
12
//
13
// ::pointer<manual_reset_happening> m_phappeningCompleted;
14
//
15
// sync_method();
16
// virtual ~sync_method() { }
17
//
18
// inline virtual void operator()() override;
19
//
20
// virtual bool should_run_async() const override { return true; }
21
//
22
//
23
//};
24
25
26
//class CLASS_DECL_ACME sync_function :
27
// public ::function
28
//{
29
//public:
30
//
31
//
32
// ::pointer<manual_reset_happening> m_pevFunctionCompleted;
33
//
34
//
35
// sync_function();
36
// virtual ~sync_function() { }
37
//
38
// virtual void operator()() override;
39
//
40
// virtual void operator()(const ::payload & payload) override;
41
//
42
//
43
//};
44
45
//
46
s
//
47
//
48
49
50
//class CLASS_DECL_ACME function
51
//{
52
//protected:
53
//
54
//
55
// ::matter_pointer m_pmatter;
56
//
57
//
58
// function() {}
59
// function(const ::matter_pointer & pmatter) : m_pmatter(m_pmatter) { }
60
//
61
//public:
62
//
63
//
64
// inline operator bool () const { return ::is_set(m_pmatter); }
65
//
66
// //inline operator const matter_pointer& () const { return m_pmatter; }
67
//
68
// inline operator matter* () const { return m_pmatter; }
69
//
70
// inline operator lparam () const { return m_pmatter.m_p; }
71
//
72
//
73
//};
74
//
75
//
76
//
platform
aaapredicate_function_pointer.h
Generated by
1.17.0