Namespaces | Macros | Typedefs | Enumerations | Functions
init.h File Reference
#include "sick_scan/sick_scan_base.h"
#include "ros/forwards.h"
#include "ros/spinner.h"
#include "common.h"
Include dependency graph for init.h:

Go to the source code of this file.

Namespaces

 roswrap
 
 roswrap::init_options
 

Macros

#define ROSCPP_INIT_H
 

Typedefs

typedef init_options::InitOption roswrap::InitOption
 

Enumerations

enum  roswrap::init_options::InitOption { roswrap::init_options::NoSigintHandler = 1 << 0, roswrap::init_options::AnonymousName = 1 << 1, roswrap::init_options::NoRosout = 1 << 2 }
 Flags for ROS initialization. More...
 

Functions

ROSCPP_DECL CallbackQueue * roswrap::getGlobalCallbackQueue ()
 Returns a pointer to the global default callback queue. More...
 
ROSCPP_DECL std::string roswrap::getROSArg (int argc, const char *const *argv, const std::string &arg)
 searches the command line arguments for the given arg parameter. In case this argument is not found an empty string is returned. More...
 
ROSCPP_DECL void roswrap::init (const M_string &remappings, const std::string &name, uint32_t options=0)
 alternate ROS initialization function. More...
 
ROSCPP_DECL void roswrap::init (const VP_string &remapping_args, const std::string &name, uint32_t options=0)
 alternate ROS initialization function. More...
 
ROSCPP_DECL void roswrap::init (int &argc, char **argv, const std::string &name, uint32_t options=0)
 ROS initialization function. More...
 
ROSCPP_DECL bool roswrap::isInitialized ()
 Returns whether or not ros::init() has been called. More...
 
ROSCPP_DECL bool roswrap::isShuttingDown ()
 Returns whether or not ros::shutdown() has been (or is being) called. More...
 
ROSCPP_DECL bool roswrap::isStarted ()
 Returns whether or not the node has been started through ros::start() More...
 
ROSCPP_DECL bool roswrap::ok ()
 Check whether it's time to exit. More...
 
ROSCPP_DECL void roswrap::removeROSArgs (int argc, const char *const *argv, V_string &args_out)
 returns a vector of program arguments that do not include any ROS remapping arguments. Useful if you need to parse your arguments to determine your node name More...
 
ROSCPP_DECL void roswrap::requestShutdown ()
 Request that the node shut itself down from within a ROS thread. More...
 
ROSCPP_DECL void roswrap::shutdown ()
 Disconnects everything and unregisters from the master. It is generally not necessary to call this function, as the node will automatically shutdown when all NodeHandles destruct. However, if you want to break out of a spin() loop explicitly, this function allows that. More...
 
ROSCPP_DECL void roswrap::spin ()
 Enter simple event loop. More...
 
ROSCPP_DECL void roswrap::spin (Spinner &spinner)
 Enter simple event loop. More...
 
ROSCPP_DECL void roswrap::spinOnce ()
 Process a single round of callbacks. More...
 
ROSCPP_DECL void roswrap::start ()
 Actually starts the internals of the node (spins up threads, starts the network polling and xmlrpc loops, connects to internal subscriptions like /clock, starts internal service servers, etc.). More...
 
ROSCPP_DECL void roswrap::waitForShutdown ()
 Wait for this node to be shutdown, whether through Ctrl-C, ros::shutdown(), or similar. More...
 

Macro Definition Documentation

◆ ROSCPP_INIT_H

#define ROSCPP_INIT_H

Definition at line 37 of file init.h.



sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:13