#include <incrontab.h>
Public Member Functions | |
InCronTabEntry () | |
Constructor. | |
InCronTabEntry (const std::string &rPath, uint32_t uMask, const std::string &rCmd) | |
Constructor. | |
~InCronTabEntry () | |
Destructor. | |
std::string | ToString () const |
Converts the entry to string representation. | |
const std::string & | GetPath () const |
Returns the watch filesystem path. | |
int32_t | GetMask () const |
Returns the event mask. | |
const std::string & | GetCmd () const |
Returns the command string. | |
bool | IsNoLoop () const |
Checks whether this entry has set loop-avoidance. | |
Static Public Member Functions | |
static bool | Parse (const std::string &rStr, InCronTabEntry &rEntry) |
Parses a string and attempts to extract entry parameters. | |
Protected Attributes | |
std::string | m_path |
watch path | |
uint32_t | m_uMask |
event mask | |
std::string | m_cmd |
command string | |
bool | m_fNoLoop |
no loop yes/no |
|
Constructor. Creates an empty entry for later use with Parse().
|
|
Constructor. Creates an entry based on defined parameters.
|
|
Destructor.
|
|
Returns the command string.
|
|
Returns the event mask.
|
|
Returns the watch filesystem path.
|
|
Checks whether this entry has set loop-avoidance.
|
|
Parses a string and attempts to extract entry parameters.
|
|
Converts the entry to string representation. This method creates a string for use in a table file.
|
|
command string
|
|
no loop yes/no
|
|
watch path
|
|
event mask
|