Class for naming policy management when creating objects.
More...
#include <NodeNumberingPolicy.h>
|
virtual bool | find (std::string name) |
|
Class for naming policy management when creating objects.
- Since
- 1.2.0
◆ NodeNumberingPolicy()
RTM::NodeNumberingPolicy::NodeNumberingPolicy |
( |
| ) |
|
◆ ~NodeNumberingPolicy()
RTM::NodeNumberingPolicy::~NodeNumberingPolicy |
( |
| ) |
|
|
overridedefault |
◆ find()
virtual bool RTM::NodeNumberingPolicy::find |
( |
std::string | name | ) |
|
|
protectedvirtual |
◆ onCreate()
std::string RTM::NodeNumberingPolicy::onCreate |
( |
void * | obj | ) |
|
|
overridevirtual |
Create the name when creating object.
Create the name when creating object. Create the name corresponding to the number of generated instances.
- Parameters
-
obj | The target object for the name creation |
- Returns
- Names of the created object
Implements RTM::NumberingPolicyBase.
◆ onDelete()
void RTM::NodeNumberingPolicy::onDelete |
( |
void * | obj | ) |
|
|
overridevirtual |
Delete the name when deleting object.
Delete the name when deleting object. Substract the generated number of instances when deleting the object.
- Parameters
-
obj | The target object for the name delete |
Implements RTM::NumberingPolicyBase.
The documentation for this class was generated from the following file: