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
0ae7765a
Commit
0ae7765a
authored
Oct 22, 2013
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Programmer's Guide, aproc added
parent
4af813fb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
0 deletions
+29
-0
src/doc/prm/src/doxygen.dx
src/doc/prm/src/doxygen.dx
+6
-0
src/doc/prm/src/os_templ/hw_templ/Doxyfile
src/doc/prm/src/os_templ/hw_templ/Doxyfile
+2
-0
src/lib/rt/src/rt_aproc.c
src/lib/rt/src/rt_aproc.c
+16
-0
src/lib/rt/src/rt_aproc.h
src/lib/rt/src/rt_aproc.h
+5
-0
No files found.
src/doc/prm/src/doxygen.dx
View file @
0ae7765a
...
...
@@ -25,6 +25,7 @@ This manual will give a description of the following API's
- Errh Print messages on system log.
- Sevcli Storage environment client interface.
- NMps Interface to NMps Cell objects.
- AProc Application process interface.
- rt_appl A base class for applications i c++.
*/
...
...
@@ -330,6 +331,11 @@ This manual will give a description of the following API's
This module contains interface functions for application access to NMps.
*/
/*! \defgroup AProc AProc Application process interface
\ingroup PRM
This module contains functions to handle application processes.
*/
/*! \defgroup rt rt_appl Base class for applications
\ingroup PRM
rt_appl is a base class for c++ applications.
...
...
src/doc/prm/src/os_templ/hw_templ/Doxyfile
View file @
0ae7765a
...
...
@@ -591,6 +591,8 @@ INPUT = $(pwre_sroot)/doc/prm/src/doxygen.dx \
$(pwre_sroot)/lib/rt/src/rt_qcom.h \
$(pwre_sroot)/lib/rt/src/rt_sevcli.h \
$(pwre_croot)/nmps/lib/nmps/src/nmps_appl.h \
$(pwre_sroot)/lib/rt/src/rt_aproc.h \
$(pwre_sroot)/lib/rt/src/rt_aproc.c \
$(pwre_sroot)/lib/rt/src/rt_appl.h \
$(pwre_sroot)/lib/rt/src/rt_appl.cpp \
$(pwre_sroot)/lib/co/src/co_time.c \
...
...
src/lib/rt/src/rt_aproc.c
View file @
0ae7765a
...
...
@@ -46,6 +46,13 @@
static
pwr_sNode
*
proc_np
=
0
;
/**
* @brief Register Application object.
* The Application object is stored in the $Node object and be opened from the node graph.
*
* \param oid Objid for Application object.
* \return Status or operation.
*/
pwr_tStatus
aproc_RegisterObject
(
pwr_tOid
oid
)
...
...
@@ -69,6 +76,15 @@ pwr_tStatus aproc_RegisterObject(
return
PROC__SUCCESS
;
}
/**
* @brief Set application timestamp.
* The timestamp is supervised by the event monitor and if the timestamp is delayed more
* than the max delay, timeout status is set for the process.
*
* \param cycletime Application cycle time in seconds.
* \param maxdelay Max delay in seconds.
* \return Status or operation.
*/
pwr_tStatus
aproc_TimeStamp
(
float
cycletime
,
float
maxdelay
)
{
pwr_tStatus
sts
;
...
...
src/lib/rt/src/rt_aproc.h
View file @
0ae7765a
...
...
@@ -44,9 +44,14 @@ extern "C" {
#include "pwr.h"
#include "rt_errh.h"
/** @addtogroup AProc */
/*@{*/
pwr_tStatus
aproc_RegisterObject
(
pwr_tOid
);
pwr_tStatus
aproc_TimeStamp
(
float
scantime
,
float
maxdelay
);
/** @} */
#if defined __cplusplus
}
#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