jp.go.aist.rtm.RTC
Class ComponentObserverConsumer

java.lang.Object
  extended by jp.go.aist.rtm.RTC.ComponentObserverConsumer
All Implemented Interfaces:
ObjectCreator<SdoServiceConsumerBase>, ObjectDestructor, SdoServiceConsumerBase, CallbackFunction

public class ComponentObserverConsumer
extends java.lang.Object
implements SdoServiceConsumerBase, CallbackFunction, ObjectCreator<SdoServiceConsumerBase>, ObjectDestructor


Constructor Summary
ComponentObserverConsumer()
           ctor of ComponentObserverConsumer
 
Method Summary
static void ComponentObserverConsumerInit()
           ComponentObserverConsumerInit
 SdoServiceConsumerBase creator_()
           creator_
 void destructor_(java.lang.Object obj)
           destructor_
 void doOperate()
           Sending a heartbeart signal to observer
 void finalize()
           Finalization
 ServiceProfile getProfile()
           getting ServiceProfile
 boolean init(RTObject_impl rtobj, ServiceProfile profile)
           Initialization
 boolean reinit(ServiceProfile profile)
           Re-initialization
protected  void setComponentProfileListeners()
           Setting ComponentProfile listener
protected  void setComponentStatusListeners()
           Setting RTC status listeners
protected  void setConfigurationListeners()
           Setting Configuration listener
protected  void setExecutionContextListeners()
           Setting EC status listener
protected  void setHeartbeat(Properties prop)
           Setting heartbeat
protected  void setListeners(Properties prop)
           Connectiong listeners to RTObject
protected  void setPortProfileListeners()
           Setting port profile listener
protected
<DataType> void
switchListeners(boolean next, DataRef<java.lang.Boolean> pre, DataType obj, java.lang.String setfunc, java.lang.String unsetfunc)
           Switching listeners connecting/disconnecting
protected  java.lang.String toString(StatusKind kind)
           Converting kind to string
protected  void unsetComponentProfileListeners()
           Unsetting ComponentProfile listener
protected  void unsetComponentStatusListeners()
           Unsetting RTC status listeners
protected  void unsetConfigurationListeners()
           Unsetting Configurationlistener
protected  void unsetExecutionContextListeners()
           Unsetting EC status listener
protected  void unsetHeartbeat()
           Unsetting heartbeat
protected  void unsetPortProfileListeners()
           Unsetting port profile listener
protected  void updateStatus(StatusKind statuskind, java.lang.String msg)
           Calling remote object
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentObserverConsumer

public ComponentObserverConsumer()
ctor of ComponentObserverConsumer

Method Detail

init

public boolean init(RTObject_impl rtobj,
                    ServiceProfile profile)
Initialization

Specified by:
init in interface SdoServiceConsumerBase
Parameters:
rtobj -
profile -
Returns:

reinit

public boolean reinit(ServiceProfile profile)
Re-initialization

Specified by:
reinit in interface SdoServiceConsumerBase
Parameters:
profile -
Returns:

getProfile

public final ServiceProfile getProfile()
getting ServiceProfile

Specified by:
getProfile in interface SdoServiceConsumerBase
Returns:

finalize

public void finalize()
Finalization

Specified by:
finalize in interface SdoServiceConsumerBase
Overrides:
finalize in class java.lang.Object

updateStatus

protected void updateStatus(StatusKind statuskind,
                            java.lang.String msg)
Calling remote object


toString

protected final java.lang.String toString(StatusKind kind)
Converting kind to string


setListeners

protected void setListeners(Properties prop)
Connectiong listeners to RTObject


switchListeners

protected <DataType> void switchListeners(boolean next,
                                          DataRef<java.lang.Boolean> pre,
                                          DataType obj,
                                          java.lang.String setfunc,
                                          java.lang.String unsetfunc)
Switching listeners connecting/disconnecting


doOperate

public void doOperate()
Sending a heartbeart signal to observer

Specified by:
doOperate in interface CallbackFunction

setHeartbeat

protected void setHeartbeat(Properties prop)
Setting heartbeat


unsetHeartbeat

protected void unsetHeartbeat()
Unsetting heartbeat


setComponentStatusListeners

protected void setComponentStatusListeners()
Setting RTC status listeners


unsetComponentStatusListeners

protected void unsetComponentStatusListeners()
Unsetting RTC status listeners


setPortProfileListeners

protected void setPortProfileListeners()
Setting port profile listener


unsetPortProfileListeners

protected void unsetPortProfileListeners()
Unsetting port profile listener


setExecutionContextListeners

protected void setExecutionContextListeners()
Setting EC status listener


unsetExecutionContextListeners

protected void unsetExecutionContextListeners()
Unsetting EC status listener


setComponentProfileListeners

protected void setComponentProfileListeners()
Setting ComponentProfile listener


unsetComponentProfileListeners

protected void unsetComponentProfileListeners()
Unsetting ComponentProfile listener


setConfigurationListeners

protected void setConfigurationListeners()
Setting Configuration listener


unsetConfigurationListeners

protected void unsetConfigurationListeners()
Unsetting Configurationlistener


creator_

public SdoServiceConsumerBase creator_()

creator_

Specified by:
creator_ in interface ObjectCreator<SdoServiceConsumerBase>
Returns:
Object Created instances

destructor_

public void destructor_(java.lang.Object obj)

destructor_

Specified by:
destructor_ in interface ObjectDestructor
Parameters:
obj - The target instances for destruction

ComponentObserverConsumerInit

public static void ComponentObserverConsumerInit()

ComponentObserverConsumerInit