PeriodicTaskFactory.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 # -*- coding: euc-jp -*-
00003 
00004 ##
00005 # @file PeriodicTaskFactory.py
00006 # @brief PeiodicTaskFactory class
00007 # @date $Date$
00008 # @author Noriaki Ando <n-ando@aist.go.jp> and Shinji Kurihara
00009 #
00010 # Copyright (C) 2009
00011 #     Noriaki Ando
00012 #     Task-intelligence Research Group,
00013 #     Intelligent Systems Research Institute,
00014 #     National Institute of
00015 #         Advanced Industrial Science and Technology (AIST), Japan
00016 #     All rights reserved.
00017 #
00018 
00019 import OpenRTM_aist
00020 
00021 periodictaskfactory = None
00022 
00023 class PeriodicTaskFactory(OpenRTM_aist.Factory,OpenRTM_aist.PeriodicTask):
00024   def __init__(self):
00025     OpenRTM_aist.Factory.__init__(self)
00026     pass
00027 
00028 
00029   def __del__(self):
00030     pass
00031 
00032 
00033   def instance():
00034     global periodictaskfactory
00035 
00036     if periodictaskfactory is None:
00037       periodictaskfactory = PeriodicTaskFactory()
00038 
00039     return periodictaskfactory
00040 
00041   instance = staticmethod(instance)


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Thu Aug 27 2015 14:17:28