Skip to content

Commit c87372d

Browse files
jmirabelolivier-stasse
authored andcommitted
Add SwitchBoolean
1 parent 5924257 commit c87372d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tools/switch.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,9 @@ namespace dynamicgraph {
3030
typedef Switch<Vector,int> SwitchVector;
3131
template<>
3232
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN (SwitchVector, "SwitchVector");
33+
34+
typedef Switch<bool,int> SwitchBool;
35+
template<>
36+
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN (SwitchBool, "SwitchBoolean");
3337
} // namespace sot
3438
} // namespace dynamicgraph

0 commit comments

Comments
 (0)