public class ExtendedFsmServiceProvider extends ExtendedFsmServicePOA implements SdoServiceProviderBase, ObjectCreator<SdoServiceProviderBase>, ObjectDestructor
Modifier and Type | Field and Description |
---|---|
protected FsmActionListeners |
m_fsmActionListeners |
Constructor and Description |
---|
ExtendedFsmServiceProvider()
ctor of ExtendedFsmServiceProvider
|
Modifier and Type | Method and Description |
---|---|
ExtendedFsmService |
_this()
Gets CORBA object referense of this RTC.ExtendedFsmService
|
protected void |
changeStatus(java.lang.String state)
FSM status change
|
protected void |
changeStructure(java.lang.String fsm_structure)
Unsetting heartbeat
|
SdoServiceProviderBase |
creator_()
creator_
|
void |
destructor_(java.lang.Object obj)
destructor_
|
static void |
ExtendedFsmServiceProviderInit()
ExtendedFsmServiceProviderInit
|
void |
finalize()
Finalization
|
java.lang.String |
get_current_state()
Get Current FSM State
|
ReturnCode_t |
get_fsm_structure(FsmStructureHolder fsm_structure)
Set FSM Structure
|
protected void |
getFsmStructure(FsmStructure fstruct) |
ServiceProfile |
getProfile()
getting ServiceProfile
|
SDOService |
getSDOService() |
boolean |
init(RTObject_impl rtobj,
ServiceProfile profile)
Initialization
|
boolean |
reinit(ServiceProfile profile)
Re-initialization
|
ReturnCode_t |
set_fsm_structure(FsmStructure fsm_structure)
Set FSM Structure
|
void |
setFsmActionListenerHolder(FsmActionListeners fsmActionListeners)
Setting FsmActionListener holder
|
protected void |
setFSMProfileListeners()
Setting FsmProfile listener
|
protected void |
setFSMStatusListeners()
Setting FSM status listeners
|
protected void |
setFsmStructure(FsmStructure fstruct) |
protected void |
setFSMStructureListeners()
Setting FsmStructure listener
|
protected void |
setListeners(Properties prop)
Connectiong listeners to RTObject
|
protected void |
unsetFSMProfileListeners()
Unsetting FsmProfile listener
|
protected void |
unsetFSMStatusListeners()
Unsetting FSM status listeners
|
protected void |
unsetFSMStructureListeners()
Unsetting FsmStructure listener
|
_all_interfaces, _invoke, _this
protected FsmActionListeners m_fsmActionListeners
public ExtendedFsmServiceProvider()
public ExtendedFsmService _this()
_this
in class ExtendedFsmServicePOA
public SDOService getSDOService()
getSDOService
in interface SdoServiceProviderBase
public boolean init(RTObject_impl rtobj, ServiceProfile profile)
init
in interface SdoServiceProviderBase
rtobj
- profile
- public boolean reinit(ServiceProfile profile)
reinit
in interface SdoServiceProviderBase
profile
- public final ServiceProfile getProfile()
getProfile
in interface SdoServiceProviderBase
public void finalize()
finalize
in interface SdoServiceProviderBase
finalize
in class java.lang.Object
public java.lang.String get_current_state()
This operation returns the current state of an FSM in the target FSM component. (FSM4RTC spec. p.20)
get_current_state
in interface ExtendedFsmServiceOperations
public ReturnCode_t set_fsm_structure(FsmStructure fsm_structure)
This operation sets an FsmStructure to the target component. Then the target component reconfigures its FSM structure such as transition rules according to the values of the given fsm_structure. RTCs may return UNSUPPORTED if this operation is not implemented.
set_fsm_structure
in interface ExtendedFsmServiceOperations
fsm_structure
-
FsmStructure structure which representspublic ReturnCode_t get_fsm_structure(FsmStructureHolder fsm_structure)
This operation returns the structure of an FSM in the target FSM component. ExtendedFsmService returns the name, structure with format specified by fsm_structure.format and EventProfiles. RTCs may return UNSUPPORTED if this operation is not implemented.
get_fsm_structure
in interface ExtendedFsmServiceOperations
fsm_structure
-
FsmStructure structure which represents FSM structureprotected void setListeners(Properties prop)
protected void changeStatus(java.lang.String state)
protected void changeStructure(java.lang.String fsm_structure)
protected void setFSMStatusListeners()
protected void unsetFSMStatusListeners()
protected void setFSMProfileListeners()
protected void unsetFSMProfileListeners()
protected void setFSMStructureListeners()
protected void unsetFSMStructureListeners()
public SdoServiceProviderBase creator_()
creator_
creator_
in interface ObjectCreator<SdoServiceProviderBase>
public void destructor_(java.lang.Object obj)
destructor_
destructor_
in interface ObjectDestructor
obj
- The target instances for destructionpublic static void ExtendedFsmServiceProviderInit()
ExtendedFsmServiceProviderInit
public void setFsmActionListenerHolder(FsmActionListeners fsmActionListeners)
fsmActionListeners
-
a pointer to FsmActionListenersprotected void setFsmStructure(FsmStructure fstruct)
protected void getFsmStructure(FsmStructure fstruct)