YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
ResourceFinder.cpp File Reference
#include <yarp/os/ResourceFinder.h>
#include <yarp/conf/dirs.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 void appendResourceType (std::string &path, const std::string &resourceType)
 
static void prependResourceType (std::string &path, const std::string &resourceType)
 
static void appendResourceType (std::vector< std::string > &paths, const std::string &resourceType)
 

Macro Definition Documentation

◆ RESOURCE_FINDER_CACHE_TIME

#define RESOURCE_FINDER_CACHE_TIME   10

Definition at line 33 of file ResourceFinder.cpp.

◆ RTARGET

#define RTARGET   stderr

Definition at line 32 of file ResourceFinder.cpp.

Function Documentation

◆ appendResourceType() [1/2]

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

Definition at line 91 of file ResourceFinder.cpp.

◆ appendResourceType() [2/2]

static void appendResourceType ( std::vector< std::string > &  paths,
const std::string &  resourceType 
)
static

Definition at line 116 of file ResourceFinder.cpp.

◆ getPwd()

static std::string getPwd ( )
static

Definition at line 64 of file ResourceFinder.cpp.

◆ prependResourceType()

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

Definition at line 106 of file ResourceFinder.cpp.