Skip to content

IndexBuilderService

class IndexBuilderService : public std::enable_shared_from_this<IndexBuilderService>

@brief A singleton class for building logger indices from logger files. It calls karabo-idxbuild with a list of command line arguments

Functions

Name Description
getInstance Return a pointer to a singleton instance of IndexBuilderService.
buildIndexFor Build an index by calling karabo-idxbuild with the supplied command line arguments commandLineArguments :
allowLock This device may not be locked Return : false

Function Details

allowLock

bool allowLock() const

This device may not be locked

Return : false

buildIndexFor

void buildIndexFor(const std::string& commandLineArguments)

Build an index by calling karabo-idxbuild with the supplied command line arguments

commandLineArguments :

getInstance

static Pointer getInstance()

Return a pointer to a singleton instance of IndexBuilderService. If no instance exists one is created.

Return :