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::SecondOrderFilter< SignalType >
 
class  ROSEE::Utils::Timer< Clock >
 

Namespaces

 ROSEE
 
 ROSEE::Utils
 

Functions

static int ROSEE::Utils::binomial_coefficent (int n, int k)
 
static bool ROSEE::Utils::create_directory (std::string pathDirectory)
 
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. All string are put togheter so the original meaning of each set is lost. 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...
 
static std::vector< std::string > ROSEE::Utils::getFilesInDir (std::string pathFolder)
 
static std::string ROSEE::Utils::getPackagePath ()
 
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. The type of the keys (typename) must be the same obviously, but the values (valueType1 and valueType2) can be anything, because they are not considered. 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. This is used to dynamically load a derived object from a node that only knows the base interface. For example, we call the create_object(ros::nodeHandle) method of a derived EEHAL class The object must be a library which will return a RetType pointer with the function_name This function will "convert" to smart pointer for convenience. More...
 
static void ROSEE::Utils::out2file (std::string pathFile, std::string output)
 


end-effector
Author(s): Luca Muratore , Davide Torielli , Liana Bertoni
autogenerated on Tue Apr 5 2022 02:57:53