Atoms Crowd
7.0.0
Main Page
Related Pages
Modules
C++ API reference
Namespace List
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
i
j
l
m
o
p
q
r
s
v
Functions
c
d
e
f
g
i
l
m
o
r
s
Typedefs
a
b
c
d
e
j
l
m
p
q
r
s
v
Enumerations
Enumerator
d
r
Class List
Class List
Class Index
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
q
r
s
t
u
v
w
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
Enumerations
Enumerator
Related Functions
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
NodeFactory.impl.h
1
// ===========================================================================
2
// Copyright (c) 2015 Toolchefs Ltd. All rights reserved.
3
//
4
// Use of this software is subject to the terms of the Toolchefs license
5
// agreement provided at the time of installation or download, or which
6
// otherwise accompanies this software in either electronic or hard copy form.
7
// ===========================================================================
8
9
namespace
AtomsGraph
10
{
11
template
<
class
T>
12
T*
NodeFactory::createNode
(
const
std::string& typeName)
13
{
14
Node
* nodePtr =
createNode
(typeName);
15
if
(!nodePtr)
16
return
nullptr
;
17
return
dynamic_cast<
T*
>
(nodePtr);
18
}
19
}
AtomsGraph::NodeFactory::createNode
T * createNode(const std::string &typeName)
Creates a new node.
Definition:
NodeFactory.impl.h:12
AtomsGraph::Node
Definition:
Node.h:31
AtomsGraph
AtomsGraph namespace.
Definition:
PosePort.h:15
Atoms
Public
AtomsGraph
NodeFactory.impl.h