appkit  1.5.1
RoadNarrows Robotics Application Kit
LogBook.h File Reference

LogBook class interface. More...

#include <sys/types.h>
#include <sys/time.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <string>
#include <deque>
#include <map>
#include <vector>
#include "rnr/rnrconfig.h"
#include "rnr/log.h"

Go to the source code of this file.

Classes

class  rnr::LogBook
 
struct  rnr::LogBook::Entry
 Log entry structure. More...
 
struct  rnr::LogBook::BookMark
 Log bookmark structure. More...
 
struct  rnr::lbmanip_bm_
 LogBook parametric bookmark stream manipulator structure. More...
 
struct  rnr::lbmanip_fg_
 LogBook parametric formatting flags manipulator structure. More...
 

Namespaces

 rnr
 RoadNarrows Robotics.
 

Macros

#define BOOKMARKFUNC()   bookmark(__func__)
 Convenience macro to bookmark log using function name.
 

Functions

std::ostream & rnr::operator<< (std::ostream &os, const LogBook &log)
 Stream insertion operator. More...
 
LogBookrnr::eoe (LogBook &log)
 LogBook end-of-entry stream manipulator. More...
 
LogBookrnr::bookmark (LogBook &log)
 LogBook bookmark stream manipulator. More...
 
lbmanip_bm_ rnr::bookmark (const std::string str)
 LogBook bookmark parametric manipulator function. More...
 
LogBookrnr::operator<< (LogBook &log, lbmanip_bm_ f)
 LogBook bookmark parametric manipulator stream operators. More...
 
lbmanip_fg_ rnr::setflags (const unsigned flags)
 LogBook formatting flags parametric manipulator function. More...
 
LogBookrnr::operator<< (LogBook &log, lbmanip_fg_ f)
 LogBook formatting flags parametric manipulator stream operators. More...
 

Detailed Description

LogBook class interface.

Author
Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)
Copyright
© 2017-2017. RoadNarrows LLC.
http://www.roadnarrows.com
All Rights Reserved
License
MIT
EULA@
Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose, provided that (1) The above copyright notice and the following two paragraphs appear in all copies of the source code and (2) redistributions including binaries reproduces these notices in the supporting documentation. Substantial modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated in all files where they apply.

IN NO EVENT SHALL THE AUTHOR, ROADNARROWS LLC, OR ANY MEMBERS/EMPLOYEES OF ROADNARROW LLC OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

THE AUTHOR AND ROADNARROWS LLC SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

—@

Definition in file LogBook.h.