Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
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
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
Esteban Blanc
proview
Commits
0c09a1b7
Commit
0c09a1b7
authored
Jun 17, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Application objid stored in object
parent
2657bab8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
src/lib/rt/src/rt_appl.cpp
src/lib/rt/src/rt_appl.cpp
+2
-3
src/lib/rt/src/rt_appl.h
src/lib/rt/src/rt_appl.h
+4
-0
No files found.
src/lib/rt/src/rt_appl.cpp
View file @
0c09a1b7
...
@@ -55,14 +55,13 @@ void rt_appl::init()
...
@@ -55,14 +55,13 @@ void rt_appl::init()
void
rt_appl
::
register_appl
(
char
*
name
)
void
rt_appl
::
register_appl
(
char
*
name
)
{
{
pwr_tOid
oid
;
pwr_tStatus
sts
;
pwr_tStatus
sts
;
// Get configuration object
// Get configuration object
sts
=
gdh_NameToObjid
(
name
,
&
oid
);
sts
=
gdh_NameToObjid
(
name
,
&
m_appl
oid
);
if
(
EVEN
(
sts
))
throw
co_error
(
sts
);
if
(
EVEN
(
sts
))
throw
co_error
(
sts
);
aproc_RegisterObject
(
oid
);
aproc_RegisterObject
(
m_appl
oid
);
}
}
void
rt_appl
::
mainloop
()
void
rt_appl
::
mainloop
()
...
...
src/lib/rt/src/rt_appl.h
View file @
0c09a1b7
...
@@ -30,11 +30,15 @@ class rt_appl {
...
@@ -30,11 +30,15 @@ class rt_appl {
void
mainloop
();
void
mainloop
();
double
scantime
()
{
return
m_scantime
;}
double
scantime
()
{
return
m_scantime
;}
void
set_scantime
(
double
time
)
{
m_scantime
=
time
;}
void
set_scantime
(
double
time
)
{
m_scantime
=
time
;}
pwr_tOid
&
apploid
()
{
return
m_apploid
;}
private:
private:
errh_eAnix
m_anix
;
errh_eAnix
m_anix
;
double
m_scantime
;
double
m_scantime
;
qcom_sQid
m_qid
;
qcom_sQid
m_qid
;
char
m_name
[
80
];
char
m_name
[
80
];
pwr_tOid
m_apploid
;
};
};
#endif
#endif
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