ROSEndEffector
ROS End-Effector package: provides a ROS-based set of standard interfaces to command robotics end-effectors in an agnostic fashion.
Classes | Namespaces | Functions
Utils.h File Reference
#include <cmath>
#include <memory>
#include <iostream>
#include <dlfcn.h>
#include <boost/filesystem.hpp>
#include <fstream>
#include <chrono>
#include <atomic>
+ Include dependency graph for Utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ROSEE::Utils::DifferentKeysException< Map1, Map2 >
 
class  ROSEE::Utils::Timer< Clock >
 
class  ROSEE::Utils::SecondOrderFilter< SignalType >
 

Namespaces

 ROSEE
 
 ROSEE::Utils
 

Functions

static bool ROSEE::Utils::create_directory (std::string pathDirectory)
 
static void ROSEE::Utils::out2file (std::string pathFile, std::string output)
 
static std::vector< std::string > ROSEE::Utils::getFilesInDir (std::string pathFolder)
 
static int ROSEE::Utils::binomial_coefficent (int n, int k)
 
static std::string ROSEE::Utils::getPackagePath ()
 
template<class KeyType , class ValueType >
static std::vector< KeyType > ROSEE::Utils::extract_keys (std::map< KeyType, ValueType > const &input_map)
 
template<class T >
static std::vector< std::string > ROSEE::Utils::extract_keys_merged (std::map< std::set< std::string >, T > const &input_map, unsigned int max_string_number=0)
 Extract all the string in the set keys of a map. More...
 
template<class T >
static std::vector< std::string > ROSEE::Utils::extract_keys_merged (std::map< std::pair< std::string, std::string >, T > const &input_map, unsigned int max_string_number=0)
 See above, this is the version with pair instead of set. More...
 
template<typename keyType , typename valueType1 , typename valueType2 >
bool ROSEE::Utils::keys_equal (std::map< keyType, valueType1 > const &lhs, std::map< keyType, valueType2 > const &rhs)
 Return false if two maps have different keys. More...
 
template<typename RetType , typename... Args>
std::unique_ptr< RetType > ROSEE::Utils::loadObject (std::string lib_name, std::string function_name, Args...args)
 Utils to dynamically load an object. More...