OpenRTM-aist
2.1.0
Toggle main menu visibility
読み取り中…
検索中…
一致する文字列を見つけられません
VxWorksRTExecutionContext.h
[詳解]
1
// -*- C++ -*-
17
18
#ifndef RTC_VXWORKSRTEXECUTIONCONTEXT_H
19
#define RTC_VXWORKSRTEXECUTIONCONTEXT_H
20
21
#include <vector>
22
#include <iostream>
23
24
#include <coil/Task.h>
25
#include <coil/Mutex.h>
26
#include <coil/Condition.h>
27
28
#include <
rtm/PeriodicExecutionContext.h
>
29
30
31
32
namespace
RTC_exp
33
{
34
class
TimeValue_nano
;
55
class
VxWorksRTExecutionContext
56
:
public
RTC_exp::PeriodicExecutionContext
57
{
58
public
:
78
VxWorksRTExecutionContext
();
79
93
virtual
~VxWorksRTExecutionContext
(
void
);
94
108
virtual
void
init
(coil::Properties& props);
109
129
virtual
int
svc
(
void
);
130
131
132
133
protected
:
134
private
:
152
void
setPriority(coil::Properties& props);
170
void
setStackSize(coil::Properties& props);
188
int
sleep_nano(
TimeValue_nano
interval);
189
};
// class VxWorksRTExecutionContext
190
class
TimeValue_nano
191
{
192
public
:
193
TimeValue_nano
(
long
sec
=0,
long
usec=0);
194
TimeValue_nano
(
double
timeval);
195
~TimeValue_nano
();
196
TimeValue_nano
operator-
(
TimeValue_nano
& tm);
197
TimeValue_nano
operator+
(
TimeValue_nano
& tm);
198
TimeValue_nano
operator=
(
double
time);
199
operator
double()
const
;
200
int
sign
()
const
;
201
void
normalize
();
202
inline
long
int
sec
()
const
{
return
m_sec;}
203
inline
long
int
nsec
()
const
{
return
m_nsec;}
204
private
:
205
long
int
m_sec;
206
long
int
m_nsec;
207
};
208
}
// namespace RTC
209
210
211
extern
"C"
212
{
220
void
VxWorksRTExecutionContextInit
(
RTC::Manager
* manager);
221
};
222
223
#endif
// RTC_VXWORKSRTEXECUTIONCONTEXT_H
224
PeriodicExecutionContext.h
PeriodicExecutionContext class
VxWorksRTExecutionContextInit
void VxWorksRTExecutionContextInit(RTC::Manager *manager)
ECFactoryへの登録のための初期化関数
RTC::Manager
Manager クラス
Definition
Manager.h:91
RTC_exp::PeriodicExecutionContext
PeriodicExecutionContext クラス
Definition
PeriodicExecutionContext.h:60
RTC_exp::TimeValue_nano
Definition
VxWorksRTExecutionContext.h:191
RTC_exp::TimeValue_nano::sign
int sign() const
RTC_exp::TimeValue_nano::TimeValue_nano
TimeValue_nano(double timeval)
RTC_exp::TimeValue_nano::~TimeValue_nano
~TimeValue_nano()
RTC_exp::TimeValue_nano::operator=
TimeValue_nano operator=(double time)
RTC_exp::TimeValue_nano::sec
long int sec() const
Definition
VxWorksRTExecutionContext.h:202
RTC_exp::TimeValue_nano::operator+
TimeValue_nano operator+(TimeValue_nano &tm)
RTC_exp::TimeValue_nano::operator-
TimeValue_nano operator-(TimeValue_nano &tm)
RTC_exp::TimeValue_nano::normalize
void normalize()
RTC_exp::TimeValue_nano::nsec
long int nsec() const
Definition
VxWorksRTExecutionContext.h:203
RTC_exp::TimeValue_nano::TimeValue_nano
TimeValue_nano(long sec=0, long usec=0)
RTC_exp::VxWorksRTExecutionContext::svc
virtual int svc(void)
ExecutionContext 用のスレッド実行関数
RTC_exp::VxWorksRTExecutionContext::~VxWorksRTExecutionContext
virtual ~VxWorksRTExecutionContext(void)
デストラクタ
RTC_exp::VxWorksRTExecutionContext::VxWorksRTExecutionContext
VxWorksRTExecutionContext()
デフォルトコンストラクタ
RTC_exp::VxWorksRTExecutionContext::init
virtual void init(coil::Properties &props)
ExecutionContextの初期化を行う
RTC_exp
Definition
MultilayerCompositeEC.h:28
構築:
1.17.0