YARP
Yet Another Robot Platform
ResourceFinder.cpp File Reference
#include <yarp/os/ResourceFinder.h>
#include <yarp/conf/environment.h>
#include <yarp/conf/filesystem.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/LogComponent.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 35 of file ResourceFinder.cpp.

◆ RTARGET

#define RTARGET   stderr

Definition at line 34 of file ResourceFinder.cpp.

Function Documentation

◆ appendResourceType() [1/2]

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

Definition at line 128 of file ResourceFinder.cpp.

◆ appendResourceType() [2/2]

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

Definition at line 103 of file ResourceFinder.cpp.

◆ getPwd()

static std::string getPwd ( )
static

Definition at line 47 of file ResourceFinder.cpp.

◆ parsePaths()

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

Definition at line 74 of file ResourceFinder.cpp.

◆ prependResourceType()

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

Definition at line 118 of file ResourceFinder.cpp.