機能 #3681
[FSM4RTC] FSMリスナをset/removeする関数等をRTObjectに追加する。
100%
Description
FSM関係のコールバック機構 PreFsmActionListener、PostFsmActionListener、FsmProfileListener、FsmStructureListener をset/remove関数および呼び出し関数をRTObjectクラスに追加する。
Associated revisions
[FSM4RTC] updateFsmStatus now calls RTObject::onFsmStateChanged(). refs #3681
[FSM4RTC,incompat,new funcs] add/remove functions for FSM listeners have been added. refs #3681
[FSM4RTC,incompat,new funcs] add/remove functions for FSM listeners have been added. refs #3681
[FSM4RTC] FSm related callback operation has been changed. refs #3681
[FSM4RTC] FSm related callback operation has been changed. refs #3681
merged changes from branches/FSM4RTC/OpenRTM-aist r2773, no confliction:
[FSM4RTC,compat,->RELENG_2_0] Some Makefile.am bugs are fixed.
[FSM4RTC,HRTM,bugfix,->RELENG_2_0] Manager/ComponentManager initialization bug has been fixed. refs #3653
[FSM4RTC,->RELENG_2_0] FSM action listener added. refs #3680
[FSM4RTC,incompat,->RELENG_2_0] renameed FsmStructureAction->FsmStructure, FsmProfileListener added. refs #3680
[FSM4RTC,incompat,->RELENG_2_0] FSM listeners add/remove operations are added to RTObject. refs #3681
[FSM4RTC,ext,example,->RELENG_2_0] Now component observer is connected to the FSM state change operation. refs #3591
[FSM4RTC,HRTM,,->RELENG_2_0] updateFsmStatus now calls RTObject::onFsmStateChanged(). refs #3681
[compat,formatting,->RELENG_1_2,->RELENG_2_0] Braces added.
[incompat,->RELENG_1_2,->RELENG_2_0] std::ostream operations have been added to NVUtil.
merged changes from branches/FSM4RTC/OpenRTM-aist r2773, no confliction:
[FSM4RTC,compat,->RELENG_2_0] Some Makefile.am bugs are fixed.
[FSM4RTC,HRTM,bugfix,->RELENG_2_0] Manager/ComponentManager initialization bug has been fixed. refs #3653
[FSM4RTC,->RELENG_2_0] FSM action listener added. refs #3680
[FSM4RTC,incompat,->RELENG_2_0] renameed FsmStructureAction->FsmStructure, FsmProfileListener added. refs #3680
[FSM4RTC,incompat,->RELENG_2_0] FSM listeners add/remove operations are added to RTObject. refs #3681
[FSM4RTC,ext,example,->RELENG_2_0] Now component observer is connected to the FSM state change operation. refs #3591
[FSM4RTC,HRTM,,->RELENG_2_0] updateFsmStatus now calls RTObject::onFsmStateChanged(). refs #3681
[compat,formatting,->RELENG_1_2,->RELENG_2_0] Braces added.
[incompat,->RELENG_1_2,->RELENG_2_0] std::ostream operations have been added to NVUtil.
merged changes from branches/FSM4RTC/OpenRTM-aist r2821, no confliction:
[FSM4RTC,doc,->RELENG_2_0] FSM listeners documentations have been updated. refs #3860
[FSM4RTC,incompat,new funcs,->RELENG_2_0] add/remove functions for FSM listeners have been added. refs #3681
[FSM4RTC,new file,->RELENG_2_0] Macho (Machine object state machine engine) has been introduced to rtm. refs #3683
[FSM4RTC,compat,new prop,->RELENG_2_0] PortProfile/ConnectorProfile "dataport.io_mode" has been added. refs #3688
[prop,->RELENG_2_0] Ignore some generated files.
[prop,->RELENG_2_0] Ignore some generated files.
merged changes from branches/FSM4RTC/OpenRTM-aist r2821, no confliction:
[FSM4RTC,doc,->RELENG_2_0] FSM listeners documentations have been updated. refs #3860
[FSM4RTC,incompat,new funcs,->RELENG_2_0] add/remove functions for FSM listeners have been added. refs #3681
[FSM4RTC,new file,->RELENG_2_0] Macho (Machine object state machine engine) has been introduced to rtm. refs #3683
[FSM4RTC,compat,new prop,->RELENG_2_0] PortProfile/ConnectorProfile "dataport.io_mode" has been added. refs #3688
[prop,->RELENG_2_0] Ignore some generated files.
[prop,->RELENG_2_0] Ignore some generated files.
merged changes from branches/FSM4RTC/OpenRTM-aist r2893:
[FSM4RTC,new file,->RELENG_2_0] Macho (Machine object state machine engine) and StaticFSM.h have been introduced to rtm. refs #3683
[compat,->RELENG_1_2,->RELENG_2_0] NVUtil dump() function outputs doubled CR. It is removed.
[FSM4RTC,example,->RELENG_2_0] StaticFsm sample which is for new Static FSM framework has been added. refs #3655
[FSM4RTC,example,->RELENG_2_0] StaticFsm sample which is for new Static FSM framework has been added. refs #3655
[FSM4RTC,->RELENG_1_2,->RELENG_2_0] Some sample components listener have been modified to follow ConnectorListener changes. refs #3871
[FSM4RTC,->RELENG_2_0] Experimental FSM has been implemented in ConsoleOut component.
[FSM4RTC,->RELENG_2_0] ComponentObserver implementation has been added. refs #3591
[FSM4RTC,->RELENG_2_0] FSm related callback operation has been changed. refs #3681
[coil,test,->RELENG_1_2,->RELENG_2_0] coil::stringutils tests added.
[FSM4RTC,->RELENG_2_0] EventPort class has been intorduced for FSm framework. refs #3683
[revert,->RELENG_2_0] FSM removed.
merged changes from branches/FSM4RTC/OpenRTM-aist r2893:
[FSM4RTC,new file,->RELENG_2_0] Macho (Machine object state machine engine) and StaticFSM.h have been introduced to rtm. refs #3683
[compat,->RELENG_1_2,->RELENG_2_0] NVUtil dump() function outputs doubled CR. It is removed.
[FSM4RTC,example,->RELENG_2_0] StaticFsm sample which is for new Static FSM framework has been added. refs #3655
[FSM4RTC,example,->RELENG_2_0] StaticFsm sample which is for new Static FSM framework has been added. refs #3655
[FSM4RTC,->RELENG_1_2,->RELENG_2_0] Some sample components listener have been modified to follow ConnectorListener changes. refs #3871
[FSM4RTC,->RELENG_2_0] Experimental FSM has been implemented in ConsoleOut component.
[FSM4RTC,->RELENG_2_0] ComponentObserver implementation has been added. refs #3591
[FSM4RTC,->RELENG_2_0] FSm related callback operation has been changed. refs #3681
[coil,test,->RELENG_1_2,->RELENG_2_0] coil::stringutils tests added.
[FSM4RTC,->RELENG_2_0] EventPort class has been intorduced for FSm framework. refs #3683
[revert,->RELENG_2_0] FSM removed.
History
#1 Updated by n-ando over 6 years ago
- Status changed from 新規 to 解決
- % Done changed from 0 to 100
リスナセット・アンセット関数群¶
RTObject_impl に以下の関数を追加
- void addPreFsmActionListener()
- void removePreFsmActionListener()
- void addPostFsmActionListener()
- void removePostFsmActionListener()
- void addFsmProfileListener()
- void removeFsmProfileListener()
- void addFsmStructureListener()
- void removeFsmStructureListener()
コールバックを呼び出すメンバ関数¶
RTObject_impl に以下の関数を追加
- inline void preOnFsmInit(const char* state)
- inline void preOnFsmEntry(const char* state)
- inline void preOnFsmDo(const char* state)
- inline void preOnFsmExit(const char* state)
- inline void preOnFsmStateChange(const char* state)
- inline void postOnFsmInit(const char* state, ReturnCode_t ret)
- inline void postOnFsmEntry(const char* state, ReturnCode_t ret)
- inline void postOnFsmDo(const char* state, ReturnCode_t ret)
- inline void postOnFsmExit(const char* state, ReturnCode_t ret)
- inline void postOnFsmStateChange(const char* state, ReturnCode_t ret)
#2 Updated by n-ando over 6 years ago
- Status changed from 解決 to 終了
[FSM4RTC,incompat] FSM listeners add/remove operations are added to RTObject. refs #3681