Skip to content

Namespace jac

Namespace List > jac

Namespaces

Type Name
namespace ProtoBuilder

Classes

Type Name
class Controller
class Device <class Machine>
class KeyValueFeature <class Next>
class KeyValueNamespace
struct KeyValueNamespaceProtoBuilder
class LinkReadable <class Machine>
class LinkWritable
struct Logger
class MachineCtrl
class Sha1Hasher
class Timeout
class TimeoutLock
class Uploader

Public Types

Type Name
typedef std::function< std::unique_ptr< KeyValueNamespace >(const std::string &)> KeyValueOpener

Public Static Functions

Type Name
bool deleteDir (std::filesystem::path & path, bool onlyContents)
std::optional< std::filesystem::path > getAbsolute (std::string filename, std::filesystem::path & rootDir)
std::optional< std::pair< std::vector< std::string >, size_t > > listDir (std::filesystem::path & path)

Public Types Documentation

typedef KeyValueOpener

using jac::KeyValueOpener = typedef std::function<std::unique_ptr<KeyValueNamespace>(const std::string&)>;

Public Static Functions Documentation

function deleteDir

static bool jac::deleteDir (
    std::filesystem::path & path,
    bool onlyContents
) 

function getAbsolute

static std::optional< std::filesystem::path > jac::getAbsolute (
    std::string filename,
    std::filesystem::path & rootDir
) 

function listDir

static std::optional< std::pair< std::vector< std::string >, size_t > > jac::listDir (
    std::filesystem::path & path
) 


The documentation for this class was generated from the following file src/jac/device/controller.cpp