INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

NONFRAMEWORK CODE
Driver Interfaces
Drivers
Libraries
Utilities

FRAMEWORK CODE
Interfaces
Components
Libraries
Utilities

Full Software Listings

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

orcalog::MasterFileWriter Class Reference

Maintains the master file. More...

#include <masterfilewriter.h>

List of all members.

Public Member Functions

int loggerCount () const
 Returns number of registered loggers.
int addLog (const std::string &filename, const std::string &interfaceType, const std::string &encodingType, const std::string &comment)
void notifyOfLogfileAddition (int loggerId, int indexInSubLogfile, const orca::Time &arrivalTime)
 Call this when an item is written in a sub-logfile.

Detailed Description

Maintains the master file.

All public operations are thread safe.


Member Function Documentation

int MasterFileWriter::addLog ( const std::string &  filename,
const std::string &  interfaceType,
const std::string &  encodingType,
const std::string &  comment 
)

Loggers register themselves. Returns a unique ID used by loggers later to identify themselves. Raises orcalog::Exception if the logger cannot be registered, e.g. because logging has already started.

References orcalog::headerLine(), and orcaice::Context::tracer().


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

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5