Namespaces | |
thread | |
Classes | |
class | DynamicLibrary |
Wrapper around the dynamic library facilities of the operating system. More... | |
class | FileEventListener |
Contains an event-based API to monitor file changes. More... | |
class | FileMonitor |
class | MonitoredFile |
class | FileRepository |
class | FileSystem |
Contains functions to interact with the file system. More... | |
class | Locale |
class | TemporaryLocale |
RAII class to modify the locale temporarily. More... | |
class | PipeProcess |
class | Plugin |
class | PluginManager |
class | SetDirectory |
Typedefs | |
typedef vector< string > | ListOfFiles |
typedef vector< FileEventListener * > | ListOfListeners |
typedef list< MonitoredFile * > | ListOfMonitors |
Functions | |
const char * | eventmaskToString (int evtmask) |
void | addAFileListenerInDict (string pathfilename, FileEventListener *listener) |
int | FileMonitor_init () |
void | catch_alarm (int sig) |
std::string | cleanPath (const std::string &path) |
Variables | |
map< string, ListOfFiles > | dir2files |
map< int, string > | fd2fn |
map< string, ListOfListeners > | file2listener |
int | filemonitor_inotifyfd =-1 |
ListOfMonitors | monitors |
volatile sig_atomic_t | keep_going = 1 |
FileRepository | PluginRepository ("SOFA_PLUGIN_PATH", { Utils::getSofaPathTo("plugins"), Utils::getSofaPathTo("collections"), Utils::getSofaPathTo("lib"), }) |
Default repository. More... | |
FileRepository | DataRepository ("SOFA_DATA_PATH", { Utils::getSofaPathTo("share/sofa"), Utils::getSofaPathTo("share/sofa/examples") }, { { Utils::getSofaPathTo("etc/sofa.ini"), {"SHARE_DIR", "EXAMPLES_DIR"} } }) |
Default repository. More... | |
typedef vector<string> sofa::helper::system::ListOfFiles |
typedef list< MonitoredFile > sofa::helper::system::ListOfMonitors |
void sofa::helper::system::addAFileListenerInDict | ( | string | pathfilename, |
FileEventListener * | listener | ||
) |
void sofa::helper::system::catch_alarm | ( | int | sig | ) |
std::string sofa::helper::system::cleanPath | ( | const std::string & | path | ) |
const char * sofa::helper::system::eventmaskToString | ( | int | evtmask | ) |
int sofa::helper::system::FileMonitor_init | ( | ) |
SOFA_HELPER_API FileRepository sofa::helper::system::DataRepository | ( | "SOFA_DATA_PATH" | , |
{ Utils::getSofaPathTo("share/sofa"), Utils::getSofaPathTo("share/sofa/examples") } | , | ||
{ { Utils::getSofaPathTo("etc/sofa.ini"), {"SHARE_DIR", "EXAMPLES_DIR"} } } | |||
) |
Default repository.
map<string, ListOfFiles> sofa::helper::system::dir2files |
map<int, string> sofa::helper::system::fd2fn |
map<string, ListOfListeners> sofa::helper::system::file2listener |
int sofa::helper::system::filemonitor_inotifyfd =-1 |
volatile sig_atomic_t sofa::helper::system::keep_going = 1 |
ListOfMonitors sofa::helper::system::monitors |
SOFA_HELPER_API FileRepository sofa::helper::system::PluginRepository | ( | "SOFA_PLUGIN_PATH" | , |
{ Utils::getSofaPathTo("plugins"), Utils::getSofaPathTo("collections"), Utils::getSofaPathTo("lib"), } | |||
) |
Default repository.