PeriDyno
1.0.0
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace 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
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
b
c
d
e
g
h
i
k
m
p
q
r
s
t
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Classes
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
x
y
z
~
Variables
_
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
Typedefs
a
b
c
d
e
f
h
i
j
m
n
o
p
q
r
s
t
v
Enumerations
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
w
x
y
Related Symbols
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
w
x
Functions
_
a
b
c
d
f
g
i
l
m
o
p
q
s
t
v
w
x
Variables
Typedefs
Enumerations
Enumerator
g
v
w
Macros
_
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Loading...
Searching...
No Matches
D:
Peridyno
peridyno
src
Framework
FCallbackFunc.cpp
Go to the documentation of this file.
1
#include "
FCallbackFunc.h
"
2
3
#include "
FBase.h
"
4
5
namespace
dyno
6
{
7
8
FCallBackFunc::FCallBackFunc
(std::function<
void
()> func)
9
{
10
mCallback
= func;
11
}
8
FCallBackFunc::FCallBackFunc
(std::function<
void
()> func) {
…
}
12
13
void
FCallBackFunc::update
()
14
{
15
for
(
auto
f :
mInputs
)
16
{
17
if
(f->isEmpty())
18
return
;
19
}
20
21
mCallback
();
22
}
13
void
FCallBackFunc::update
() {
…
}
23
24
void
FCallBackFunc::addInput
(
FBase
* f)
25
{
26
mInputs
.push_back(f);
27
}
24
void
FCallBackFunc::addInput
(
FBase
* f) {
…
}
28
29
}
FBase.h
FCallbackFunc.h
dyno::FBase
Definition
FBase.h:44
dyno::FCallBackFunc::mInputs
std::vector< FBase * > mInputs
Definition
FCallbackFunc.h:38
dyno::FCallBackFunc::update
void update()
Definition
FCallbackFunc.cpp:13
dyno::FCallBackFunc::mCallback
std::function< void()> mCallback
Definition
FCallbackFunc.h:36
dyno::FCallBackFunc::addInput
void addInput(FBase *f)
Definition
FCallbackFunc.cpp:24
dyno::FCallBackFunc::FCallBackFunc
FCallBackFunc(std::function< void()> func)
Definition
FCallbackFunc.cpp:8
dyno
This is an implementation of AdditiveCCD based on peridyno.
Definition
Array.h:25
Generated by
1.13.2