PowerPointRTC  0.5.0
 全て クラス ファイル 関数 変数
PowerPointTask.h
説明を見る。
1 // -*- C++ -*-
9 #ifndef PowerPointTASK_H
10 #define PowerPointTASK_H
11 
12 #include <rtm/RTC.h>
13 
14 
15 
16 #include <rtm/Manager.h>
17 #include <rtm/PeriodicExecutionContext.h>
18 
19 
20 
26 class PowerPointTask : public virtual coil::Task
27 {
28 public:
36  virtual int svc();
37 
38 
39 
40 };
41 
42 template <class T>
43 void getProperty(coil::Properties& prop, const char* key, T& value)
44 {
45 if (prop.findNode(key) != 0)
46  {
47  T tmp;
48  if (coil::stringTo(tmp, prop[key].c_str()))
49  {
50  value = tmp;
51  }
52  }
53 }
54 
55 
56 #endif