class NodeNumberingPolicy extends java.lang.Object implements NumberingPolicy, ObjectCreator<NumberingPolicy>, ObjectDestructor
This class searches for RTC from naming service and does a numbering.
| Constructor and Description | 
|---|
NodeNumberingPolicy()
 Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
NumberingPolicy | 
creator_()
 Creats NodeNumberingPolicy 
 | 
void | 
destructor_(java.lang.Object obj)
 Destructs Object 
 | 
protected boolean | 
find(java.lang.String name)
 Find the object 
 | 
static void | 
NodeNumberingPolicyInit()
 Module initialization 
 | 
java.lang.String | 
onCreate(RTObject_impl obj)
 Create the name when creating object 
 | 
void | 
onDelete(RTObject_impl obj)
 Delete the name when deleting object 
 | 
public java.lang.String onCreate(RTObject_impl obj)
Create the name when creating object. Create the name corresponding to the number of generated instances.
onCreate in interface NumberingPolicyobj - 
   The target object for the name creationpublic void onDelete(RTObject_impl obj)
Delete the name when deleting object. Substract the generated number of instances when deleting the object.
onDelete in interface NumberingPolicyobj - 
   The target object for the name deleteprotected boolean find(java.lang.String name)
Find the specified object in the object list and return true
name - 
   The target object name for the findpublic NumberingPolicy creator_()
creator_ in interface ObjectCreator<NumberingPolicy>public void destructor_(java.lang.Object obj)
destructor_ in interface ObjectDestructorobj - 
   The target instances for destructionpublic static void NodeNumberingPolicyInit()
This initialization function registers DefaultNumberingPolicy's factory.