Classes | Public Member Functions | List of all members
NumberingPolicy Class Referenceabstract

Abstruct class for naming policy management when creating objects. More...

#include <NumberingPolicy.h>

Inheritance diagram for NumberingPolicy:
Inheritance graph
[legend]

Classes

struct  ObjectNotFound
 The structures for exception handling when object was not found. More...
 

Public Member Functions

virtual std::string onCreate (void *obj)=0
 Create the name when creating objects. More...
 
virtual void onDelete (void *obj)=0
 Delete the name when deleting objects. More...
 
virtual ~NumberingPolicy (void)
 Virtual destractor. More...
 

Detailed Description

Abstruct class for naming policy management when creating objects.

This is the abstract interface class to manage the naming policy when creating objects. Concrete classes must implement the following pure virtual functions.

Since
0.4.0

Definition at line 54 of file NumberingPolicy.h.

Constructor & Destructor Documentation

virtual NumberingPolicy::~NumberingPolicy ( void  )
inlinevirtual

Virtual destractor.

Definition at line 78 of file NumberingPolicy.h.

Member Function Documentation

virtual std::string NumberingPolicy::onCreate ( void *  obj)
pure virtual

Create the name when creating objects.

Pure virtual function to create the name when creating objects.

Parameters
objThe target object for the creation
Returns
Name of the created object

Implemented in DefaultNumberingPolicy.

virtual void NumberingPolicy::onDelete ( void *  obj)
pure virtual

Delete the name when deleting objects.

Pure virtual function to delete the name when deleting object.

Parameters
objThe target object of the delete

Implemented in DefaultNumberingPolicy.


The documentation for this class was generated from the following file:


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:07:59