YARP
Yet Another Robot Platform
ResourceFinder.cpp File Reference
#include <yarp/os/ResourceFinder.h>
#include <yarp/os/Bottle.h>
#include <yarp/os/Network.h>
#include <yarp/os/Os.h>
#include <yarp/os/Property.h>
#include <yarp/os/SystemClock.h>
#include <yarp/os/Time.h>
#include <yarp/os/impl/Logger.h>
#include <yarp/os/impl/NameConfig.h>
#include <yarp/os/impl/PlatformSysStat.h>
#include <cerrno>
#include <cstdio>
#include <cstdlib>
#include <string>
+ Include dependency graph for ResourceFinder.cpp:

Go to the source code of this file.

Classes

class  yarp::os::ResourceFinder::Private
 

Macros

#define RTARGET   stderr
 
#define RESOURCE_FINDER_CACHE_TIME   10
 

Functions

static std::string getPwd ()
 
static Bottle parsePaths (const std::string &txt)
 
static void appendResourceType (std::string &path, const std::string &resourceType)
 
static void prependResourceType (std::string &path, const std::string &resourceType)
 
static void appendResourceType (Bottle &paths, const std::string &resourceType)
 

Macro Definition Documentation

◆ RESOURCE_FINDER_CACHE_TIME

#define RESOURCE_FINDER_CACHE_TIME   10

Definition at line 31 of file ResourceFinder.cpp.

◆ RTARGET

#define RTARGET   stderr

Definition at line 30 of file ResourceFinder.cpp.

Function Documentation

◆ appendResourceType() [1/2]

static void appendResourceType ( std::string &  path,
const std::string &  resourceType 
)
static

Definition at line 90 of file ResourceFinder.cpp.

◆ appendResourceType() [2/2]

static void appendResourceType ( Bottle paths,
const std::string &  resourceType 
)
static

Definition at line 115 of file ResourceFinder.cpp.

◆ getPwd()

static std::string getPwd ( )
static

Definition at line 34 of file ResourceFinder.cpp.

◆ parsePaths()

static Bottle parsePaths ( const std::string &  txt)
static

Definition at line 61 of file ResourceFinder.cpp.

◆ prependResourceType()

static void prependResourceType ( std::string &  path,
const std::string &  resourceType 
)
static

Definition at line 105 of file ResourceFinder.cpp.