MOOS 0.2375
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
CMOOSPlayBackIndex Class Reference

#include <MOOSPlayBackIndex.h>

Collaboration diagram for CMOOSPlayBackIndex:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool SetLastTimeProcessed (double dfTime)
string GetStatusString ()
bool IsWaitingForClient ()
double GetLastMessageTime ()
bool ClearFilter ()
bool Filter (const std::string &sSrc, bool bWanted)
bool IsFiltered (const std::string &sSrc)
bool SetTickInterval (double dfInterval)
bool Reset ()
bool IsEOF ()
bool Iterate (MOOSMSG_LIST &Output)
double GetFinishTime ()
double GetStartTime ()
int GetCurrentLine ()
double GetTimeNow ()
int GetSize ()
bool IsOpen ()
bool Initialise (const string &sFileName)
STRING_SET GetSources ()
 CMOOSPlayBackIndex ()
virtual ~CMOOSPlayBackIndex ()
bool GotoTime (double dfT)

Public Attributes

ALogIndexWrapper m_ALog
string m_sFileName
ifstream m_InputFile
double m_dfLastMessageTime
int m_nLastLine
double m_dfTickTime
double m_dfLastClientProcessedTime
double m_dfClientLagTime

Protected Member Functions

bool MessageFromLine (const std::string &sLine, CMOOSMsg &Msg)

Protected Attributes

std::string m_sBinaryFileName
std::ifstream m_BinaryFile
bool m_bWaitingForClientCatchup
double m_dfLogStart
STRING_SET m_SourceFilter
int m_nCurrentLine

Detailed Description

Definition at line 52 of file MOOSPlayBackIndex.h.


Constructor & Destructor Documentation

CMOOSPlayBackIndex::CMOOSPlayBackIndex ( )

Definition at line 53 of file MOOSPlayBackIndex.cpp.

CMOOSPlayBackIndex::~CMOOSPlayBackIndex ( ) [virtual]

Definition at line 62 of file MOOSPlayBackIndex.cpp.


Member Function Documentation

bool CMOOSPlayBackIndex::ClearFilter ( )

Definition at line 230 of file MOOSPlayBackIndex.cpp.

bool CMOOSPlayBackIndex::Filter ( const std::string &  sSrc,
bool  bWanted 
)

Definition at line 209 of file MOOSPlayBackIndex.cpp.

int CMOOSPlayBackIndex::GetCurrentLine ( )

Definition at line 94 of file MOOSPlayBackIndex.cpp.

double CMOOSPlayBackIndex::GetFinishTime ( )

Definition at line 108 of file MOOSPlayBackIndex.cpp.

double CMOOSPlayBackIndex::GetLastMessageTime ( )

Definition at line 356 of file MOOSPlayBackIndex.cpp.

int CMOOSPlayBackIndex::GetSize ( )

Definition at line 84 of file MOOSPlayBackIndex.cpp.

STRING_SET CMOOSPlayBackIndex::GetSources ( ) [inline]

Definition at line 77 of file MOOSPlayBackIndex.h.

double CMOOSPlayBackIndex::GetStartTime ( )

Definition at line 99 of file MOOSPlayBackIndex.cpp.

string CMOOSPlayBackIndex::GetStatusString ( )

Definition at line 373 of file MOOSPlayBackIndex.cpp.

double CMOOSPlayBackIndex::GetTimeNow ( )

Definition at line 89 of file MOOSPlayBackIndex.cpp.

bool CMOOSPlayBackIndex::GotoTime ( double  dfT)

Definition at line 380 of file MOOSPlayBackIndex.cpp.

bool CMOOSPlayBackIndex::Initialise ( const string &  sFileName)

Definition at line 67 of file MOOSPlayBackIndex.cpp.

bool CMOOSPlayBackIndex::IsEOF ( )

Definition at line 117 of file MOOSPlayBackIndex.cpp.

bool CMOOSPlayBackIndex::IsFiltered ( const std::string &  sSrc)

Definition at line 204 of file MOOSPlayBackIndex.cpp.

bool CMOOSPlayBackIndex::IsOpen ( void  )

Definition at line 79 of file MOOSPlayBackIndex.cpp.

bool CMOOSPlayBackIndex::IsWaitingForClient ( )

Definition at line 368 of file MOOSPlayBackIndex.cpp.

bool CMOOSPlayBackIndex::Iterate ( MOOSMSG_LIST Output)

Definition at line 125 of file MOOSPlayBackIndex.cpp.

bool CMOOSPlayBackIndex::MessageFromLine ( const std::string &  sLine,
CMOOSMsg Msg 
) [protected]

splits a fully qualified path into parts -path, filestem and extension

Definition at line 236 of file MOOSPlayBackIndex.cpp.

bool CMOOSPlayBackIndex::Reset ( )

Definition at line 187 of file MOOSPlayBackIndex.cpp.

bool CMOOSPlayBackIndex::SetLastTimeProcessed ( double  dfTime)

Definition at line 361 of file MOOSPlayBackIndex.cpp.

bool CMOOSPlayBackIndex::SetTickInterval ( double  dfInterval)

Definition at line 198 of file MOOSPlayBackIndex.cpp.


Member Data Documentation

Definition at line 57 of file MOOSPlayBackIndex.h.

std::ifstream CMOOSPlayBackIndex::m_BinaryFile [protected]

Definition at line 91 of file MOOSPlayBackIndex.h.

Definition at line 92 of file MOOSPlayBackIndex.h.

Definition at line 87 of file MOOSPlayBackIndex.h.

Definition at line 86 of file MOOSPlayBackIndex.h.

Definition at line 83 of file MOOSPlayBackIndex.h.

Definition at line 93 of file MOOSPlayBackIndex.h.

Definition at line 85 of file MOOSPlayBackIndex.h.

Definition at line 82 of file MOOSPlayBackIndex.h.

Definition at line 98 of file MOOSPlayBackIndex.h.

Definition at line 84 of file MOOSPlayBackIndex.h.

std::string CMOOSPlayBackIndex::m_sBinaryFileName [protected]

Definition at line 90 of file MOOSPlayBackIndex.h.

Definition at line 81 of file MOOSPlayBackIndex.h.

Definition at line 96 of file MOOSPlayBackIndex.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines