Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

L1394::Timecode Class Reference

This class represents a timecode. More...

#include <l1394_timecode.h>

List of all members.

Public Member Functions

Constructor
The following Constructor are available

 Timecode ()
 Constructor.
 Timecode (const Timecode &)
 Copy Constructor.
 ~Timecode ()
 Destructor.
Manipulate the timecode
These functions set/get the values of a Timecode.

void setFrame (u_int frame)
 This method sets the frame.
void setSecond (u_int second)
 This method sets the second.
void setMinute (u_int minute)
 This method functions sets the minute.
void setHour (u_int hour)
 This method sets the hour.
void setDay (u_int day)
 This method sets the day.
void setWeek (u_int week)
 This method sets the week.
void setMonth (u_int month)
 This method sets the month.
void setYear (u_int year)
 This method sets the year.
void setTimezone (u_int timezone)
 This method sets the timezone.
u_int frame () const
 This method returns the frame.
u_int second () const
 This method returns the second.
u_int minute () const
 This method returns the minute.
u_int hour () const
 This method returns the hour.
u_int day () const
 This method returns the day.
u_int week () const
 This method returns week.
u_int month () const
 This method returns the month.
u_int year () const
 This method returns the year.
u_int timezone () const
 This method returns the timezone.
Computing operators
These functions implements some computing operators

Timecodeoperator= (const Timecode &t)
 The operator= assigns the Timecode t to this Timecode and returns a reference to it.


Detailed Description

This class represents a timecode.

Main use of this class to get or set timecode from Vcrs.

Author:
Michael Repplinger

Definition at line 33 of file l1394_timecode.h.


Constructor & Destructor Documentation

L1394::Timecode::Timecode  ) 
 

Constructor.

Definition at line 22 of file l1394_timecode.cpp.

L1394::Timecode::Timecode const Timecode t  ) 
 

Copy Constructor.

Parameters:
t : reference to the Timecode

Definition at line 33 of file l1394_timecode.cpp.

L1394::Timecode::~Timecode  ) 
 

Destructor.

Definition at line 31 of file l1394_timecode.cpp.


Member Function Documentation

L1394::Timecode::day  )  const [inline]
 

This method returns the day.

Definition at line 130 of file l1394_timecode.h.

L1394::Timecode::frame  )  const [inline]
 

This method returns the frame.

Definition at line 110 of file l1394_timecode.h.

Referenced by L1394::AvcVcr::search(), and L1394::AvcVcr::timecode().

L1394::Timecode::hour  )  const [inline]
 

This method returns the hour.

Definition at line 125 of file l1394_timecode.h.

Referenced by L1394::AvcVcr::search(), and L1394::AvcVcr::timecode().

L1394::Timecode::minute  )  const [inline]
 

This method returns the minute.

Definition at line 120 of file l1394_timecode.h.

Referenced by L1394::AvcVcr::search(), and L1394::AvcVcr::timecode().

L1394::Timecode::month  )  const [inline]
 

This method returns the month.

Definition at line 140 of file l1394_timecode.h.

L1394::Timecode::operator= const Timecode t  ) 
 

The operator= assigns the Timecode t to this Timecode and returns a reference to it.

Definition at line 38 of file l1394_timecode.cpp.

References _day, _frame, _hour, _minute, _month, _second, _time_zone, _week, and _year.

L1394::Timecode::second  )  const [inline]
 

This method returns the second.

Definition at line 115 of file l1394_timecode.h.

Referenced by L1394::AvcVcr::search(), and L1394::AvcVcr::timecode().

L1394::Timecode::setDay u_int  day  )  [inline]
 

This method sets the day.

Definition at line 85 of file l1394_timecode.h.

L1394::Timecode::setFrame u_int  frame  )  [inline]
 

This method sets the frame.

Definition at line 65 of file l1394_timecode.h.

Referenced by L1394::AvcVcr::getTimeCode().

L1394::Timecode::setHour u_int  hour  )  [inline]
 

This method sets the hour.

Definition at line 80 of file l1394_timecode.h.

Referenced by L1394::AvcVcr::getTimeCode().

L1394::Timecode::setMinute u_int  minute  )  [inline]
 

This method functions sets the minute.

Definition at line 75 of file l1394_timecode.h.

Referenced by L1394::AvcVcr::getTimeCode().

L1394::Timecode::setMonth u_int  month  )  [inline]
 

This method sets the month.

Definition at line 95 of file l1394_timecode.h.

L1394::Timecode::setSecond u_int  second  )  [inline]
 

This method sets the second.

Definition at line 70 of file l1394_timecode.h.

Referenced by L1394::AvcVcr::getTimeCode().

L1394::Timecode::setTimezone u_int  timezone  )  [inline]
 

This method sets the timezone.

Definition at line 105 of file l1394_timecode.h.

L1394::Timecode::setWeek u_int  week  )  [inline]
 

This method sets the week.

Definition at line 90 of file l1394_timecode.h.

L1394::Timecode::setYear u_int  year  )  [inline]
 

This method sets the year.

Definition at line 100 of file l1394_timecode.h.

L1394::Timecode::timezone  )  const [inline]
 

This method returns the timezone.

Definition at line 150 of file l1394_timecode.h.

L1394::Timecode::week  )  const [inline]
 

This method returns week.

Definition at line 135 of file l1394_timecode.h.

L1394::Timecode::year  )  const [inline]
 

This method returns the year.

Definition at line 145 of file l1394_timecode.h.


The documentation for this class was generated from the following files:
Generated on Wed Aug 24 00:36:45 2005 for L1394 by doxygen 1.4.2
L1394 library (NMM) grahics.cs.uni-sb.de/~repplix/l1394_home/