FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
CGraph/python/wrapper/PywGEvent.h at main · feiyunwill/CGraph · GitHub
feiyunwill
/
CGraph
Public
forked from
ChunelFeng/CGraph
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
CGraph
/
python
/
wrapper
/
PywGEvent.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
34 lines (26 loc) · 700 Bytes
Breadcrumbs
CGraph
/
python
/
wrapper
/
PywGEvent.h
Copy path
File metadata and controls
34 lines (26 loc) · 700 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
/*
**************************
@Author: Chunel
@Contact: chunel@foxmail.com
@File: PywGEvent.h
@Time: 2025/3/19 23:35
@Desc:
**************************
*/
#
ifndef
CGRAPH_PYWGEVENT_H
#
define
CGRAPH_PYWGEVENT_H
#
include
<
pybind11/pybind11.h
>
#
include
"
CGraph.h
"
class
PywGEvent
:
public
CGraph
::GEvent {
public:
explicit
PywGEvent
() = default;
protected:
CVoid
trigger
(CGraph::GEventParamPtr param)
override
{
PYBIND11_OVERLOAD_PURE
(CVoid, GEvent, trigger, param);
}
CStatus
init
()
override
{
PYBIND11_OVERLOAD
(CStatus, GEvent, init);
}
CStatus
destroy
()
override
{
PYBIND11_OVERLOAD
(CStatus, GEvent, destroy);
}
};
#
endif
//
CGRAPH_PYWGEVENT_H
Back
|
FazBrowse Home
|
New Git URL