|
OpenRTM-aist 2.0.2
|
Class for naming policy management when creating objects. More...
#include <NumberingPolicy.h>


Public Member Functions | |
| ProcessUniquePolicy () | |
| Constructor. | |
| ~ProcessUniquePolicy () override=default | |
| Destractor. | |
| std::string | onCreate (void *obj) override |
| Create the name when creating object. | |
| void | onDelete (void *obj) override |
| Delete the name when deleting object. | |
Public Member Functions inherited from RTM::NumberingPolicyBase | |
| virtual | ~NumberingPolicyBase ()=default |
| Virtual destractor. | |
Protected Member Functions | |
| long int | find (void *obj) |
| Find the object. | |
Class for naming policy management when creating objects.
This is a class to manage the naming policy when creating objects.
|
inline |
Constructor.
Constructor
|
overridedefault |
Destractor.
|
protected |
Find the object.
Find the specified object in the object list and return its index when it is stored.
| obj | The target object for the find |
|
overridevirtual |
Create the name when creating object.
Create the name when creating object. Create the name corresponding to the number of generated instances.
| obj | The target object for the name creation |
Implements RTM::NumberingPolicyBase.
|
overridevirtual |
Delete the name when deleting object.
Delete the name when deleting object. Substract the generated number of instances when deleting the object.
| obj | The target object for the name delete |
Implements RTM::NumberingPolicyBase.