Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Variables
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
Enumerations
Enumerator
a
b
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
z
Related Functions
:
a
g
i
l
o
p
t
u
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
z
Functions
_
a
b
c
d
e
g
l
m
o
p
r
s
t
u
v
Variables
Typedefs
a
c
d
e
g
i
l
m
n
o
p
q
s
t
v
Macros
_
a
b
c
d
e
f
g
i
l
o
p
r
s
t
z
python
pointmatchersupport
registrars
inspector_registrar.cpp
Go to the documentation of this file.
1
#include "
inspector_registrar.h
"
2
3
namespace
python
4
{
5
namespace
pointmatchersupport
6
{
7
namespace
registrars
8
{
9
void
pybindInspectorRegistrar
(py::module& p_module)
10
{
11
py::class_<InspectorRegistrar, std::shared_ptr<InspectorRegistrar>>(p_module,
"InspectorRegistrar"
)
12
.def(
"getDescriptor"
, &
InspectorRegistrar::getDescriptor
, py::arg(
"name"
),
"Return a descriptor following a name, throw an exception if name is invalid"
)
13
.def(
"create"
, &
InspectorRegistrar::create
, py::arg(
"name"
), py::arg(
"params"
) =
Parameters
(),
"Create an instance"
)
14
.def(
"getDescription"
, &
InspectorRegistrar::getDescription
, py::arg(
"name"
),
"Get the description of a class"
)
15
.def(
"dump"
, [](
const
InspectorRegistrar
&
self
)
16
{
17
std::ostringstream oss;
18
self
.dump(oss);
19
py::print(oss.str());
20
},
"Print the list of registered classes to stream"
);
21
}
22
}
23
}
24
}
PointMatcherSupport::Registrar::getDescription
const std::string getDescription(const std::string &name) const
Get the description of a class.
Definition:
Registrar.h:178
python::pointmatchersupport::registrars::pybindInspectorRegistrar
void pybindInspectorRegistrar(py::module &p_module)
Definition:
inspector_registrar.cpp:9
Parameters
PM::Parameters Parameters
Definition:
filterProfiler.cpp:20
PointMatcherSupport::Registrar::getDescriptor
std::shared_ptr< ClassDescriptor > getDescriptor(const std::string &name) const
Return a descriptor following a name, throw an exception if name is invalid.
Definition:
Registrar.h:145
python
Definition:
add_descriptor.cpp:5
PointMatcherSupport::Registrar::create
std::shared_ptr< Interface > create(const std::string &name, const Parametrizable::Parameters ¶ms=Parametrizable::Parameters()) const
Create an instance.
Definition:
Registrar.h:161
inspector_registrar.h
PointMatcherSupport::Registrar
A factor for subclasses of Interface.
Definition:
Registrar.h:59
libpointmatcher
Author(s):
autogenerated on Sun Dec 22 2024 03:21:53