dtn::ScheduledLink Class Reference

#include <ScheduledLink.h>

Inheritance diagram for dtn::ScheduledLink:

dtn::Link

List of all members.

Public Types

typedef std::set< FutureContact * > FutureContactSet

Public Member Functions

 ScheduledLink (std::string name, ConvergenceLayer *cl, const char *nexthop)
 Constructor / Destructor.
virtual ~ScheduledLink ()
FutureContactSetfuture_contacts ()
 Return the list of future contacts that exist on the link.
void add_fc (FutureContact *fc)
 Add a future contact.
void delete_fc (FutureContact *fc)
 Delete a future contact.
void convert_fc (FutureContact *fc)
 Convert a future contact to an "active contact".
FutureContactSetfuture_contacts_list ()

Protected Attributes

FutureContactSetfcts_


Detailed Description

Definition at line 34 of file ScheduledLink.h.


Member Typedef Documentation

Definition at line 36 of file ScheduledLink.h.


Constructor & Destructor Documentation

dtn::ScheduledLink::ScheduledLink ( std::string  name,
ConvergenceLayer cl,
const char *  nexthop 
)

Constructor / Destructor.

Definition at line 28 of file ScheduledLink.cc.

References fcts_.

dtn::ScheduledLink::~ScheduledLink (  )  [virtual]

Definition at line 36 of file ScheduledLink.cc.


Member Function Documentation

void dtn::ScheduledLink::add_fc ( FutureContact fc  ) 

Add a future contact.

Definition at line 44 of file ScheduledLink.cc.

References fcts_.

void dtn::ScheduledLink::convert_fc ( FutureContact fc  ) 

Convert a future contact to an "active contact".

Definition at line 62 of file ScheduledLink.cc.

void dtn::ScheduledLink::delete_fc ( FutureContact fc  ) 

Delete a future contact.

Definition at line 53 of file ScheduledLink.cc.

References fcts_.

FutureContactSet* dtn::ScheduledLink::future_contacts (  )  [inline]

Return the list of future contacts that exist on the link.

Definition at line 49 of file ScheduledLink.h.

References fcts_.

FutureContactSet* dtn::ScheduledLink::future_contacts_list (  )  [inline]

Definition at line 61 of file ScheduledLink.h.

References fcts_.


Member Data Documentation


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

Generated on Fri Jan 30 09:27:03 2009 for DTN Reference Implementation by  doxygen 1.5.8