Main Page
Namespaces
Classes
Files
File List
File Members
src
orocos
types
ros_string_type.cpp
Go to the documentation of this file.
1
/*
2
* (C) 2010, Steven Bellens, steven.bellens@mech.kuleuven.be
3
* Department of Mechanical Engineering,
4
* Katholieke Universiteit Leuven, Belgium.
5
*
6
* Redistribution and use in source and binary forms, with or without
7
* modification, are permitted provided that the following conditions
8
* are met:
9
* 1. Redistributions of source code must retain the above copyright
10
* notice, this list of conditions and the following disclaimer.
11
* 2. Redistributions in binary form must reproduce the above copyright
12
* notice, this list of conditions and the following disclaimer in the
13
* documentation and/or other materials provided with the distribution.
14
* 3. Neither the name of the copyright holder nor the names of its contributors
15
* may be used to endorse or promote products derived from this software
16
* without specific prior written permission.
17
*
18
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
22
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
24
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
28
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
* POSSIBILITY OF SUCH DAMAGE.
30
*/
31
32
#include "
ros_primitives_typekit_plugin.hpp
"
33
34
namespace
ros_integration
{
35
using namespace
RTT
;
36
using namespace
RTT::types
;
37
38
void
loadStringTypes
(){
39
RTT::types::Types
()->addType(
new
types::StdStringTypeInfo
() );
40
RTT::types::Types
()->addType(
new
types::SequenceTypeInfo
<std::vector<std::string> >(
"string[]"
) );
41
RTT::types::Types
()->addType(
new
types::CArrayTypeInfo
<
types::carray<std::string>
>(
"cstring[]"
) );
42
}
43
}
RTT::types::StdStringTypeInfo
RTT::types
RTT::types::carray
RTT::types::CArrayTypeInfo
ros_integration::loadStringTypes
void loadStringTypes()
Definition:
ros_string_type.cpp:38
RTT::types::Types
TypeInfoRepository::shared_ptr Types()
RTT
RTT::types::SequenceTypeInfo
ros_integration
Definition:
ros_float32_type.cpp:34
ros_primitives_typekit_plugin.hpp
rtt_ros
Author(s): Ruben Smits
autogenerated on Mon May 10 2021 02:44:45