00001 #!/usr/bin/env python 00002 # -*- coding: euc-jp -*- 00003 00004 ## 00005 # \file DataFlowComponentBase.py 00006 # \brief DataFlowParticipant RT-Component base class 00007 # \date $Date: 2007/09/04$ 00008 # \author Noriaki Ando <n-ando@aist.go.jp> 00009 # 00010 # Copyright (C) 2006-2008 00011 # Task-intelligence Research Group, 00012 # Intelligent Systems Research Institute, 00013 # National Institute of 00014 # Advanced Industrial Science and Technology (AIST), Japan 00015 # All rights reserved. 00016 00017 import RTC, RTC__POA 00018 import OpenRTM 00019 00020 00021 ## 00022 # @if jp 00023 # @class DataFlowComponentBase 00024 # @brief DataFlowComponentBase クラス 00025 # 00026 # データフロー型RTComponentの基底クラス。 00027 # 各種データフロー型RTComponentを実装する場合は、本クラスを継承する形で実装 00028 # する。 00029 # 00030 # @since 0.4.0 00031 # 00032 # @else 00033 # @class DataFlowComponentBase 00034 # @brief DataFlowComponentBase class 00035 # @endif 00036 class DataFlowComponentBase(OpenRTM.RTObject_impl): 00037 """ 00038 """ 00039 00040 00041 ## 00042 # @if jp 00043 # @brief コンストラクタ 00044 # 00045 # コンストラクタ 00046 # 00047 # @param self 00048 # @param manager マネージャオブジェクト 00049 # 00050 # @else 00051 # @brief Constructor 00052 # @endif 00053 def __init__(self, manager): 00054 OpenRTM.RTObject_impl.__init__(self, manager) 00055 self._ref = self._this() 00056 self._objref = self._ref 00057 00058 00059 ## 00060 # @if jp 00061 # @brief 初期化(サブクラス実装用) 00062 # 00063 # データフロー型 RTComponent の初期化を実行する。 00064 # 実際の初期化処理は、各具象クラス内に記述する。 00065 # 00066 # @param self 00067 # 00068 # @else 00069 # @brief Initialization 00070 # @endif 00071 def init(self): 00072 pass 00073 00074