|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjp.go.aist.rtm.RTC.DefaultNumberingPolicy
class DefaultNumberingPolicy
Class for naming policy management when creating objects
This is a class to manage the naming policy when creating objects.
| Constructor Summary | |
|---|---|
DefaultNumberingPolicy()
Constructor |
|
| Method Summary | |
|---|---|
protected long |
find(java.lang.Object obj)
Find the object |
java.lang.String |
onCreate(RTObject_impl obj)
Create the name when creating object |
void |
onDelete(RTObject_impl obj)
Delete the name when deleting object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultNumberingPolicy()
| Method Detail |
|---|
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 creation
public 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 delete
protected long find(java.lang.Object obj)
throws java.lang.Exception
Find the specified object in the object list and return its index when it is stored.
obj -
The target object for the find
java.lang.Exception -
The object doesn't exist.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||