OSDN Git Service

udp streaming
[iptd/iPTd.git] / src / ry0 / iPTd / Streaming.h
1 /**\r
2  * @file Streaming.h\r
3  *\r
4  */\r
5 \r
6 #pragma once\r
7 \r
8 #include <Raym/Raym.h>\r
9 \r
10 namespace ry0\r
11 {\r
12 namespace iPTd\r
13 {\r
14 \r
15 class Controller;\r
16 \r
17 class Streaming : public Raym::Object,\r
18                   public Raym::TimerDelegate\r
19 {\r
20 private:\r
21     Controller *        _controller;\r
22     Raym::Dictionary *  _ctrls;           // 制御情報\r
23     Raym::Timer *       _timer_periodic;\r
24 \r
25 protected:\r
26     Streaming();\r
27     ~Streaming();\r
28 \r
29 public:\r
30     static Streaming *alloc();\r
31     Streaming *initWithController(Controller *controller);\r
32 \r
33     void mapping(int tuner, int channel, int port);\r
34 \r
35     // タイマ満了IF (from Timer)\r
36     void timerExpired(Raym::Timer *timer, void *userInfo);\r
37 };\r
38 \r
39 \r
40 } // iPTd\r
41 } // ry0\r