ros_float32_type.cpp
Go to the documentation of this file.
1 /******************************************************************************
2 * This file is part of the OROCOS toolchain ROS project *
3 * *
4 * (C) 2010 Steven Bellens, steven.bellens@mech.kuleuven.be *
5 * Department of Mechanical Engineering, *
6 * Katholieke Universiteit Leuven, Belgium. *
7 * *
8 * You may redistribute this software and/or modify it under either the *
9 * terms of the GNU Lesser General Public License version 2.1 (LGPLv2.1 *
10 * <http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>) or (at your *
11 * discretion) of the Modified BSD License: *
12 * Redistribution and use in source and binary forms, with or without *
13 * modification, are permitted provided that the following conditions *
14 * are met: *
15 * 1. Redistributions of source code must retain the above copyright *
16 * notice, this list of conditions and the following disclaimer. *
17 * 2. Redistributions in binary form must reproduce the above copyright *
18 * notice, this list of conditions and the following disclaimer in the *
19 * documentation and/or other materials provided with the distribution. *
20 * 3. The name of the author may not be used to endorse or promote *
21 * products derived from this software without specific prior written *
22 * permission. *
23 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR *
24 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED *
25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE *
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,*
27 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES *
28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS *
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) *
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, *
31 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING *
32 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE *
33 * POSSIBILITY OF SUCH DAMAGE. *
34 * *
35 *******************************************************************************/
36 
38 
39 namespace ros_integration{
40  using namespace RTT;
41  using namespace RTT::types;
42 
44 
45  RTT::types::Types()->addType( new types::StdTypeInfo<float>("float32") );
46  RTT::types::Types()->addType( new types::SequenceTypeInfo< std::vector<float> >("float32[]") );
47  RTT::types::Types()->addType( new types::CArrayTypeInfo< RTT::types::carray<float> >("cfloat32[]") );
48  }
49 }
TypeInfoRepository::shared_ptr Types()


rtt_ros
Author(s): Ruben Smits
autogenerated on Sat Jun 8 2019 18:04:54