array_types.cpp
Go to the documentation of this file.
00001 #include "types/Types.hpp"
00002 #include "types/CArrayTypeInfo.hpp"
00003 #include "types/BoostArrayTypeInfo.hpp"
00004 #include "../../datasource_fixture.hpp"
00005 #include <rtt/types/SequenceTypeInfo.hpp>
00006 
00007 void loadArrayTypes()
00008 {
00009     // these are all execised by the datasource_fixture:
00010 
00011     // 3 types of arrays: carray, boost array and std::vector
00012     Types()->addType( new CArrayTypeInfo< carray<int> >("int[]") );
00013     Types()->addType( new BoostArrayTypeInfo< boost::array<int,5> >("int5") );
00014     Types()->addType( new SequenceTypeInfo< vector<int> >("ints") );
00015 
00016     Types()->addType( new CArrayTypeInfo< carray<double> >("double[]") );
00017     Types()->addType( new CArrayTypeInfo< carray<char> >("char[]") );
00018 }


rtt
Author(s): RTT Developers
autogenerated on Fri Sep 9 2016 04:01:50