#include <ServiceMan.h>
SandboxManager - Manage allocation of directory and file resources for Services.
SandboxManager::SandboxManager |
( |
const std::string & |
CVAC_DataDir | ) |
|
Look and see what directories are there from the last time we where run and add them to the sandbox list. Clean up any training directories that failed to get cleaned up because of an exception or early stop.
std::string SandboxManager::createClientDir |
( |
const std::string & |
clientName | ) |
|
Create a client directory if this is the first time we have seen this client else return the existing client directory.
std::string SandboxManager::createClientName |
( |
const std::string & |
serviceName, |
|
|
const std::string & |
connectionName |
|
) |
| |
Request a client name. This name is based on the service name and the connection client name gotten from the service manager.
std::string SandboxManager::createTrainingDir |
( |
const std::string & |
clientName | ) |
|
Create a training directory in the client directory. If the client directory does not exist then create it.
void SandboxManager::deleteTrainingDir |
( |
const std::string & |
clientName | ) |
|
Delete the training directory.
std::string SandboxManager::getTrainingDir |
( |
const std::string & |
clientName | ) |
|
Get the clients training directory
std::string cvac::SandboxManager::mCVAC_DataDir |
|
private |
The documentation for this class was generated from the following files: