Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
GrxUIonEclipse-project-0.9.8
src
com
generalrobotix
ui
depends
rtm
SwitchDependVerClockGenerator.java
Go to the documentation of this file.
1
package
com.generalrobotix.ui.depends.rtm;
2
3
import
com
.
generalrobotix
.
ui
.
depends
.
rtm
.
ClockGeneratorRtm_impl
;
4
5
public
class
SwitchDependVerClockGenerator
extends
ClockGeneratorRtm_impl{
6
public
String
getDependencyModuleName
()
7
{
8
return
new
String(
"OpenRTM"
);
9
}
10
14
public
void
resetClockReceivers
(){
15
for
(
int
i
=0;
i
<ecs_.size();){
16
ExecutionContext
ec
= ecs_.get(
i
);
17
try
{
18
System.out.println(
i
+
": rate = "
+ec.ec_.get_rate());
19
ec.reset();
20
i
++;
21
}
catch
(Exception ex){
22
ecs_.remove(ec);
23
}
24
}
25
}
26
27
public
void
updateExecutionContext
(
double
simTime)
28
{
29
for
(
int
i
=0;
i
<ecs_.size();){
30
ExecutionContext
ec
= ecs_.get(
i
);
31
if
(ec.execute(simTime)){
32
i
++;
33
}
else
{
34
ecs_.remove(ec);
35
}
36
}
37
}
38
}
com.generalrobotix.ui
com.generalrobotix.ui.depends.rtm.SwitchDependVerClockGenerator.resetClockReceivers
void resetClockReceivers()
Definition:
SwitchDependVerClockGenerator.java:14
com
i
png_uint_32 i
Definition:
png.h:2735
com.generalrobotix.ui.depends
Definition:
ISwitchDependVer.java:4
com.generalrobotix.ui.depends.rtm.SwitchDependVerClockGenerator.updateExecutionContext
void updateExecutionContext(double simTime)
Definition:
SwitchDependVerClockGenerator.java:27
ClockGeneratorRtm_impl
com.generalrobotix.ui.depends.rtm.SwitchDependVerClockGenerator.getDependencyModuleName
String getDependencyModuleName()
Definition:
SwitchDependVerClockGenerator.java:6
ec
ec
com.generalrobotix.ui.depends.rtm.SwitchDependVerClockGenerator
Definition:
SwitchDependVerClockGenerator.java:5
com.generalrobotix.ui.depends.rtm
Definition:
SwitchDependVerClockGenerator.java:1
com.generalrobotix
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:41