|
reSIProcate/repro
9694
|
#include <OutboundTarget.hxx>


Public Member Functions | |
| OutboundTarget (const resip::Data &aor, const resip::ContactList &recs) | |
| virtual | ~OutboundTarget () |
| OutboundTarget * | nextInstance () |
| virtual OutboundTarget * | clone () const |
| const resip::Data & | getAor () const |
Static Public Member Functions | |
| static bool | instanceCompare (const resip::ContactInstanceRecord &lhs, const resip::ContactInstanceRecord &rhs) |
Protected Attributes | |
| resip::Data | mAor |
| resip::ContactList | mList |
Definition at line 8 of file OutboundTarget.hxx.
| repro::OutboundTarget::OutboundTarget | ( | const resip::Data & | aor, |
| const resip::ContactList & | recs | ||
| ) |
Definition at line 6 of file OutboundTarget.cxx.
: QValueTarget(recs.empty() ? resip::ContactInstanceRecord() : recs.front()), mAor(aor), mList(recs) { if(!mList.empty()) { mList.pop_front(); } }
| repro::OutboundTarget::~OutboundTarget | ( | ) | [virtual] |
Definition at line 18 of file OutboundTarget.cxx.
{}
| OutboundTarget * repro::OutboundTarget::clone | ( | ) | const [virtual] |
Reimplemented from repro::QValueTarget.
Definition at line 34 of file OutboundTarget.cxx.
{
return new OutboundTarget(*this);
}
| const resip::Data& repro::OutboundTarget::getAor | ( | ) | const [inline] |
Definition at line 25 of file OutboundTarget.hxx.
{ return mAor;}
| static bool repro::OutboundTarget::instanceCompare | ( | const resip::ContactInstanceRecord & | lhs, |
| const resip::ContactInstanceRecord & | rhs | ||
| ) | [inline, static] |
Definition at line 19 of file OutboundTarget.hxx.
{
return lhs.mLastUpdated > rhs.mLastUpdated;
}
| OutboundTarget * repro::OutboundTarget::nextInstance | ( | ) |
Definition at line 22 of file OutboundTarget.cxx.
{
if(mList.size() <= 1)
{
return 0;
}
mList.pop_front();
return new OutboundTarget(mAor, mList);
}
resip::Data repro::OutboundTarget::mAor [protected] |
Definition at line 28 of file OutboundTarget.hxx.
resip::ContactList repro::OutboundTarget::mList [protected] |
Definition at line 29 of file OutboundTarget.hxx.
1.7.5.1