MOOS

CMOOSMemMappedAlogFile Class Reference

#include <MOOSMemoryMapped.h>

Inheritance diagram for CMOOSMemMappedAlogFile:

CMOOSMemMappedTextFile< ALogLineInfo > List of all members.

Public Member Functions

bool Open (const std::string &sName, bool bSummary=true, int nMaxLines=-1)
bool SortLineIndex ()
int SeekToFindTime (double dfT)
bool ReadSourceAndTypeSets ()
bool ReadStartTime ()
double GetLogStart ()
double GetEntryTime (int i)
std::set< std::string > GetSourceNames ()
std::set< std::string > GetMessageNames ()

Static Public Member Functions

static bool TimePredicate (const LINE &L, double dfT)
static bool TimePredicate2 (const LINE &L, const LINE &L2)
static bool GetNextToken (const std::string &s, int &nPos, std::string &sTk)

Public Attributes

std::set< std::string > m_MessageNames
std::set< std::string > m_SourceNames
double m_dfLogStart

Detailed Description

specialisation of memory mapped ASCII file to swoop around MOOS alog files. Main specialisation here is that the templated type is a ALogLineInfo struct which contains time information. This is sorted during creation


Member Function Documentation

bool CMOOSMemMappedAlogFile::ReadSourceAndTypeSets  )  [inline]
 

This function builds two sets , one conataining all the unique messgae names and the other containing the set of message sources (processes)


The documentation for this class was generated from the following file:
Generated on Tue Mar 13 10:23:13 2007 for MOOSGenLib by  doxygen 1.4.6