C_TimeStamp Class Reference

#include <C_TimeStamp.h>

Collaboration diagram for C_TimeStamp:

Collaboration graph
[legend]
List of all members.

Public Types

enum  eTimeStampType { TS_NONE, TS_NPT_SECS, TS_NPT_FULL, TS_SMPT }

Public Member Functions

 C_TimeStamp (void)
virtual ~C_TimeStamp (void)
bool parseTimeStamp (double inTimeStampInSeconds)
bool parseTimeStamp (string inTimeStamp)
string toString ()
LOOG_INT64 toHunNanos ()

Protected Member Functions

bool parseNPT (string inTimeStamp, sFourPartTime *inFPT)
bool parseThreePartTime (string inTimeStamp, sFourPartTime *inFPT, string *outLeftOver)
bool parseSMPT (string inTimeStamp, sFourPartTime *inFPT)
bool parseSecsOnly (string inTimeStamp)

Protected Attributes

string mTimeStamp
sFourPartTime mFPT
eTimeStampType mStampType
LOOG_UINT64 mSecs
LOOG_UINT64 mHuns

Member Enumeration Documentation

enum C_TimeStamp::eTimeStampType
 

Enumeration values:
TS_NONE 
TS_NPT_SECS 
TS_NPT_FULL 
TS_SMPT 

Definition at line 52 of file C_TimeStamp.h.


Constructor & Destructor Documentation

C_TimeStamp::C_TimeStamp void   ) 
 

Definition at line 38 of file C_TimeStamp.cpp.

C_TimeStamp::~C_TimeStamp void   )  [virtual]
 

Definition at line 46 of file C_TimeStamp.cpp.


Member Function Documentation

bool C_TimeStamp::parseNPT string  inTimeStamp,
sFourPartTime inFPT
[protected]
 

Definition at line 50 of file C_TimeStamp.cpp.

References LOOG_UINT64, parseThreePartTime(), C_TimeStamp::sFourPartTime::partials, and StringHelper::stringToFractNum().

Referenced by parseTimeStamp().

Here is the call graph for this function:

bool C_TimeStamp::parseSecsOnly string  inTimeStamp  )  [protected]
 

Definition at line 186 of file C_TimeStamp.cpp.

References LOOG_UINT64, mHuns, mSecs, mStampType, StringHelper::stringToFractNum(), and StringHelper::stringToNum().

Referenced by parseTimeStamp().

Here is the call graph for this function:

bool C_TimeStamp::parseSMPT string  inTimeStamp,
sFourPartTime inFPT
[protected]
 

Definition at line 83 of file C_TimeStamp.cpp.

References parseThreePartTime(), C_TimeStamp::sFourPartTime::partials, and StringHelper::stringToNum().

Referenced by parseTimeStamp().

Here is the call graph for this function:

bool C_TimeStamp::parseThreePartTime string  inTimeStamp,
sFourPartTime inFPT,
string *  outLeftOver
[protected]
 

Definition at line 114 of file C_TimeStamp.cpp.

References C_TimeStamp::sFourPartTime::hours, LOOG_INT64, C_TimeStamp::sFourPartTime::minutes, C_TimeStamp::sFourPartTime::partials, C_TimeStamp::sFourPartTime::seconds, and StringHelper::stringToNum().

Referenced by parseNPT(), and parseSMPT().

Here is the call graph for this function:

bool C_TimeStamp::parseTimeStamp string  inTimeStamp  ) 
 

Definition at line 254 of file C_TimeStamp.cpp.

References mFPT, mStampType, parseNPT(), parseSecsOnly(), and parseSMPT().

Here is the call graph for this function:

bool C_TimeStamp::parseTimeStamp double  inTimeStampInSeconds  ) 
 

Definition at line 239 of file C_TimeStamp.cpp.

Referenced by CMMLRawSourceFilter::DataProcessLoop(), CMMLRawSourcePin::deliverTag(), CMMLTagUtils::getClipsFrom(), illiminable::libTemporalURIDotNET::TimeStamp::parseTimeStamp(), and CMMLRecomposer::recomposeStreamFrom().

LOOG_INT64 C_TimeStamp::toHunNanos  ) 
 

Definition at line 227 of file C_TimeStamp.cpp.

References C_TimeStamp::sFourPartTime::hours, LOOG_INT64, mFPT, C_TimeStamp::sFourPartTime::minutes, mSecs, C_TimeStamp::sFourPartTime::partials, C_TimeStamp::sFourPartTime::seconds, TS_NPT_FULL, and TS_NPT_SECS.

Referenced by CMMLRawSourceFilter::DataProcessLoop(), CMMLRawSourcePin::deliverTag(), CMMLTagUtils::getClipsFrom(), CMMLRecomposer::recomposeStreamFrom(), and illiminable::libTemporalURIDotNET::TimeStamp::toHunNanos().

string C_TimeStamp::toString  ) 
 


Member Data Documentation

sFourPartTime C_TimeStamp::mFPT [protected]
 

Definition at line 82 of file C_TimeStamp.h.

Referenced by parseTimeStamp(), and toHunNanos().

LOOG_UINT64 C_TimeStamp::mHuns [protected]
 

Definition at line 86 of file C_TimeStamp.h.

Referenced by parseSecsOnly().

LOOG_UINT64 C_TimeStamp::mSecs [protected]
 

Definition at line 85 of file C_TimeStamp.h.

Referenced by parseSecsOnly(), and toHunNanos().

eTimeStampType C_TimeStamp::mStampType [protected]
 

Definition at line 83 of file C_TimeStamp.h.

Referenced by parseSecsOnly(), and parseTimeStamp().

string C_TimeStamp::mTimeStamp [protected]
 

Definition at line 80 of file C_TimeStamp.h.


The documentation for this class was generated from the following files:
Generated on Tue Feb 15 15:02:19 2005 for oggdsf by  doxygen 1.3.9