メインページ | ネームスペース一覧 | クラス階層 | 構成 | Directories | ファイル一覧 | ネームスペースメンバ | 構成メンバ | ファイルメンバ

PublisherPeriodic.h

説明を見る。
00001 // -*- C++ -*-
00020 /*
00021  * $Log: PublisherPeriodic.h,v $
00022  * Revision 1.3  2007/04/26 15:32:52  n-ando
00023  * The header include order was modified to define _REENTRANT before
00024  * including ace/config-lite.h in Linux systems.
00025  * In ace 5.4.7 or later, _REENTRANT flag should be defined explicitly.
00026  *
00027  * Revision 1.2  2007/01/06 18:01:06  n-ando
00028  * Some trivial fixes.
00029  *
00030  * Revision 1.1  2006/11/27 09:44:51  n-ando
00031  * The first commitment.
00032  *
00033  */
00034 
00035 #ifndef PublisherPeriodic_h
00036 #define PublisherPeriodic_h
00037 
00038 #include <rtm/RTC.h>
00039 
00040 #include <ace/Task.h>
00041 #include <ace/Synch.h>
00042 #include <rtm/PublisherBase.h>
00043 
00044 namespace RTC
00045 {
00046   class InPortConsumer;
00047   class Properties;
00057   class PublisherPeriodic
00058     : public PublisherBase,
00059       public ACE_Task<ACE_MT_SYNCH>
00060   {
00061     //    class InPortConsumer;
00062     
00063   public:
00071     PublisherPeriodic(InPortConsumer* consumer,
00072                       const Properties& property);
00073 
00082     virtual ~PublisherPeriodic();
00090     virtual void update();
00091 
00105     virtual int svc(void);
00106 
00120     virtual int open(void *args);
00121 
00135     virtual void release();
00136 
00137   protected:
00138   
00139   private:
00140     InPortConsumer* m_consumer;
00141     bool m_running;
00142     unsigned int m_usec;
00143   };
00144  
00145 };     // namespace RTC
00146 #endif // PublisherPeriodic_h
00147 

OpenRTMに対してFri Oct 5 05:14:57 2007に生成されました。  doxygen 1.4.1