Zero  0.1.0
Public Member Functions | List of all members
LogCat Class Reference

#include <logcat.h>

Inheritance diagram for LogCat:
LogScannerCommand Command basethread_t thread_wrapper_t

Public Member Functions

void usage ()
 
void run ()
 
void setupOptions ()
 
- Public Member Functions inherited from Command
po::options_description & getOptions ()
 
void setCommandString (string s)
 
void setOptionValues (po::variables_map &vm)
 
- Public Member Functions inherited from basethread_t
 basethread_t ()
 
virtual ~basethread_t ()
 
- Public Member Functions inherited from thread_wrapper_t
 thread_wrapper_t ()
 
virtual ~thread_wrapper_t ()
 
void spawn ()
 
void fork ()
 
void join ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Command
static Commandparse (int argc, char **argv)
 
static void init ()
 
static void setupSMOptions (po::options_description &options)
 Options passed down to the storage manager. More...
 
static void setSMOptions (sm_options &sm_opt, const po::variables_map &values)
 
- Static Public Member Functions inherited from basethread_t
static void start_base ()
 
static void start_buffer ()
 
static void start_log (string logdir)
 
static void start_archiver (string archdir, size_t wsize, size_t bsize)
 
static void start_merger (string archdir)
 
static void start_other ()
 
static void print_stats ()
 
- Public Attributes inherited from basethread_t
bool finished
 
- Static Public Attributes inherited from LogScannerCommand
static size_t BLOCK_SIZE = 1024 * 1024
 
- Protected Member Functions inherited from LogScannerCommand
BaseScannergetScanner (bitset< logrec_t::t_max_logrec > *filter=nullptr)
 
BaseScannergetMergeScanner ()
 
BaseScannergetLogArchiveScanner ()
 
- Protected Member Functions inherited from Command
void setupCommonOptions ()
 Options common to all commands (e.g., help and config) More...
 
void helpOption ()
 
- Protected Member Functions inherited from basethread_t
void begin_xct ()
 
void commit_xct ()
 
virtual void before_run ()
 
virtual void after_run ()
 
- Protected Attributes inherited from LogScannerCommand
string logdir
 
bool isArchive
 
bool merge
 
string filename
 
int level
 
PageID scan_pid
 
- Protected Attributes inherited from Command
po::options_description options
 
po::variables_map optionValues
 
string commandString
 
- Static Protected Attributes inherited from basethread_t
static sm_options _options
 

Member Function Documentation

§ run()

void LogCat::run ( )
virtual

Implements Command.

§ setupOptions()

void LogCat::setupOptions ( )
virtual

Reimplemented from LogScannerCommand.

§ usage()

void LogCat::usage ( )

The documentation for this class was generated from the following files: