reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::SdpContents::Session::Time Class Reference

Process t= (start/stop time) lines in SDP. More...

#include <SdpContents.hxx>

Classes

class  Repeat
 Repeat time. More...
 

Public Member Functions

 Time (unsigned long start, unsigned long stop)
 Constructor.
 
 Time (const Time &rhs)
 
Time & operator= (const Time &rhs)
 
void parse (ParseBuffer &pb)
 
EncodeStream & encode (EncodeStream &) const
 
void addRepeat (const Repeat &repeat)
 
unsigned long getStart () const
 return the start time
 
unsigned long getStop () const
 return the stop time
 
const std::list< Repeat > & getRepeats () const
 

Friends

class Session
 

Detailed Description

Process t= (start/stop time) lines in SDP.

Definition at line 453 of file SdpContents.hxx.

Constructor & Destructor Documentation

◆ Time() [1/2]

SdpContents::Session::Time::Time ( unsigned long  start,
unsigned long  stop 
)

Constructor.

The times given are the decimal part of an NTP timestamp. To convert these values to UNIX time, subtract decimal 2208988800 from the value.

Parameters
startstart time
stopstop time

Definition at line 653 of file SdpContents.cxx.

◆ Time() [2/2]

SdpContents::Session::Time::Time ( const Time &  rhs)

Definition at line 659 of file SdpContents.cxx.

Member Function Documentation

◆ addRepeat()

void SdpContents::Session::Time::addRepeat ( const Repeat &  repeat)

Definition at line 711 of file SdpContents.cxx.

◆ encode()

EncodeStream & SdpContents::Session::Time::encode ( EncodeStream &  s) const

Definition at line 677 of file SdpContents.cxx.

◆ getRepeats()

const std::list< Repeat > & resip::SdpContents::Session::Time::getRepeats ( ) const
inline

Definition at line 510 of file SdpContents.hxx.

◆ getStart()

unsigned long resip::SdpContents::Session::Time::getStart ( ) const
inline

return the start time

Returns
start time

Definition at line 504 of file SdpContents.hxx.

◆ getStop()

unsigned long resip::SdpContents::Session::Time::getStop ( ) const
inline

return the stop time

Returns
stop time

Definition at line 509 of file SdpContents.hxx.

◆ operator=()

SdpContents::Session::Time & SdpContents::Session::Time::operator= ( const Time &  rhs)

Definition at line 665 of file SdpContents.cxx.

◆ parse()

void SdpContents::Session::Time::parse ( ParseBuffer &  pb)

Definition at line 692 of file SdpContents.cxx.

Friends And Related Symbol Documentation

◆ Session

friend class Session
friend

Definition at line 518 of file SdpContents.hxx.


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