FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
CGraph/python/wrapper/PywGAspect.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
/
PywGAspect.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
55 lines (42 loc) · 1.3 KB
Breadcrumbs
CGraph
/
python
/
wrapper
/
PywGAspect.h
Copy path
File metadata and controls
55 lines (42 loc) · 1.3 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
**************************
@Author: Chunel
@Contact: chunel@foxmail.com
@File: PywGAspect.h
@Time: 2025/3/5 23:06
@Desc:
**************************
*/
#
ifndef
CGRAPH_PYWGASPECT_H
#
define
CGRAPH_PYWGASPECT_H
#
include
<
pybind11/pybind11.h
>
#
include
"
CGraph.h
"
class
PywGAspect
:
public
CGraph
::GAspect {
public:
explicit
PywGAspect
() = default;
~PywGAspect
()
override
=
default
;
protected:
CStatus
beginInit
()
override
{
PYBIND11_OVERLOAD
(CStatus, GAspect, beginInit);
}
CVoid
finishInit
(
const
CStatus& curStatus)
override
{
PYBIND11_OVERLOAD
(CVoid, GAspect, finishInit, curStatus);
}
CStatus
beginRun
()
override
{
PYBIND11_OVERLOAD
(CStatus, GAspect, beginRun);
}
CVoid
finishRun
(
const
CStatus& curStatus)
override
{
PYBIND11_OVERLOAD
(CVoid, GAspect, finishRun, curStatus);
}
CStatus
beginDestroy
()
override
{
PYBIND11_OVERLOAD
(CStatus, GAspect, beginDestroy);
}
CVoid
finishDestroy
(
const
CStatus& curStatus)
override
{
PYBIND11_OVERLOAD
(CVoid, GAspect, finishDestroy, curStatus);
}
CVoid
enterCrashed
()
override
{
PYBIND11_OVERLOAD
(CVoid, GAspect, enterCrashed);
}
CVoid
enterTimeout
()
override
{
PYBIND11_OVERLOAD
(CVoid, GAspect, enterTimeout);
}
};
#
endif
//
CGRAPH_PYWGASPECT_H
Back
|
FazBrowse Home
|
New Git URL