Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-SMF
Commits
921a0a21
Commit
921a0a21
authored
Oct 16, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create a connection manager for signal after class construction (Event)
parent
835e4465
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
src/smf_app/smf_event.cpp
src/smf_app/smf_event.cpp
+4
-1
src/smf_app/smf_event.hpp
src/smf_app/smf_event.hpp
+3
-0
No files found.
src/smf_app/smf_event.cpp
View file @
921a0a21
...
...
@@ -38,8 +38,11 @@ extern smf_event *smf_event_inst;
extern
smf
::
smf_app
*
smf_app_inst
;
extern
itti_mw
*
itti_inst
;
//------------------------------------------------------------------------------
smf_event
::
smf_event
()
{
}
//------------------------------------------------------------------------------
void
smf_event
::
bind
()
{
//by default, subscribe to the events
smf_event_inst
->
subscribe_sm_context_status_notification
(
boost
::
bind
(
&
smf_event
::
send_sm_context_status_notification
,
this
,
_1
,
_1
,
...
...
src/smf_app/smf_event.hpp
View file @
921a0a21
...
...
@@ -54,6 +54,8 @@ class smf_event {
smf_event
(
smf_event
const
&
)
=
delete
;
void
operator
=
(
smf_event
const
&
)
=
delete
;
void
bind
();
/*
* Subscribe to SM Context Status Notification signal
* @param [const sm_context_status_sig_t::slot_type&] context_status_st: slot_type parameter
...
...
@@ -107,6 +109,7 @@ class smf_event {
private:
sm_context_status_sig_t
sm_context_status_sig
;
//Signal for SM Context status update
ee_pdu_session_release_sig_t
pdu_session_release_sig
;
//Signal for PDU session release event
bool
pdu_session_release_sig_is_connected
;
};
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment