All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ign.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 
18 #ifndef IGN_TRANSPORT_IGN_HH_
19 #define IGN_TRANSPORT_IGN_HH_
20 
21 #include <cstring>
22 
24 
27 extern "C" IGNITION_TRANSPORT_VISIBLE void cmdTopicInfo(const char *_topic);
28 
31 extern "C" IGNITION_TRANSPORT_VISIBLE void cmdServiceInfo(const char *_service);
32 
35 
38 
46 extern "C" IGNITION_TRANSPORT_VISIBLE void cmdTopicPub(const char *_topic,
47  const char *_msgType,
48  const char *_msgData);
49 
60 extern "C" IGNITION_TRANSPORT_VISIBLE void cmdServiceReq(const char *_service,
61  const char *_reqType,
62  const char *_repType,
63  const int _timeout,
64  const char *_reqData);
65 
69 extern "C" IGNITION_TRANSPORT_VISIBLE void cmdTopicEcho(const char *_topic,
70  const double _duration);
71 
75 
76 #endif
IGNITION_TRANSPORT_VISIBLE void cmdTopicList()
External hook to execute 'ign topic -l' from the command line.
IGNITION_TRANSPORT_VISIBLE char * ignitionVersion()
External hook to read the library version.
IGNITION_TRANSPORT_VISIBLE void cmdTopicEcho(const char *_topic, const double _duration)
External hook to execute 'ign topic -e' from the command line.
IGNITION_TRANSPORT_VISIBLE void cmdTopicInfo(const char *_topic)
External hook to execute 'ign topic -i' from the command line.
IGNITION_TRANSPORT_VISIBLE void cmdTopicPub(const char *_topic, const char *_msgType, const char *_msgData)
External hook to execute 'ign topic -p' from the command line.
IGNITION_TRANSPORT_VISIBLE void cmdServiceList()
External hook to execute 'ign service -l' from the command line.
#define IGNITION_TRANSPORT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: Helpers.hh:57
IGNITION_TRANSPORT_VISIBLE void cmdServiceInfo(const char *_service)
External hook to execute 'ign service -i' from the command line.
IGNITION_TRANSPORT_VISIBLE void cmdServiceReq(const char *_service, const char *_reqType, const char *_repType, const int _timeout, const char *_reqData)
External hook to execute 'ign service -r' from the command line.