dtn::FragmentState Class Reference

#include <FragmentState.h>

List of all members.

Public Member Functions

 FragmentState ()
 FragmentState (Bundle *bundle)
void add_fragment (Bundle *fragment)
bool erase_fragment (Bundle *fragment)
bool check_completed () const
size_t num_fragments () const
BundleRefbundle ()
BundleListfragment_list ()

Private Attributes

BundleRef bundle_
 The bundle to eb.
BundleList fragments_
 List of partial fragments.


Detailed Description

Definition at line 30 of file FragmentState.h.


Constructor & Destructor Documentation

dtn::FragmentState::FragmentState (  )  [inline]

Definition at line 32 of file FragmentState.h.

dtn::FragmentState::FragmentState ( Bundle bundle  )  [inline]

Definition at line 37 of file FragmentState.h.


Member Function Documentation

void dtn::FragmentState::add_fragment ( Bundle fragment  ) 

BundleRef& dtn::FragmentState::bundle (  )  [inline]

bool dtn::FragmentState::check_completed (  )  const

bool dtn::FragmentState::erase_fragment ( Bundle fragment  ) 

Definition at line 35 of file FragmentState.cc.

References dtn::BundleList::erase(), and fragments_.

Referenced by dtn::FragmentManager::delete_fragment().

BundleList& dtn::FragmentState::fragment_list (  )  [inline]

size_t dtn::FragmentState::num_fragments (  )  const [inline]


Member Data Documentation

The bundle to eb.

Definition at line 50 of file FragmentState.h.

Referenced by bundle(), and check_completed().

List of partial fragments.

Definition at line 51 of file FragmentState.h.

Referenced by add_fragment(), check_completed(), erase_fragment(), fragment_list(), and num_fragments().


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