IBR-DTNSuite
0.8
|
#include <ExtensionBlock.h>
Public Member Functions | |
virtual dtn::data::Block * | create ()=0 |
Static Public Member Functions | |
static Factory & | get (char type) throw (ibrcommon::Exception) |
Protected Member Functions | |
Factory (char type) | |
virtual | ~Factory () |
Definition at line 22 of file ExtensionBlock.h.
dtn::data::ExtensionBlock::Factory::Factory | ( | char | type | ) | [protected] |
Definition at line 63 of file ExtensionBlock.cpp.
References dtn::data::ExtensionBlock::FactoryList::add(), dtn::data::ExtensionBlock::factories, and dtn::data::ExtensionBlock::FactoryList::initialize().
dtn::data::ExtensionBlock::Factory::~Factory | ( | ) | [protected, virtual] |
Reimplemented in dtn::security::PayloadConfidentialBlock::Factory, dtn::security::ExtensionSecurityBlock::Factory, dtn::security::BundleAuthenticationBlock::Factory, dtn::security::PayloadIntegrityBlock::Factory, dtn::data::AgeBlock::Factory, dtn::data::CompressedPayloadBlock::Factory, dtn::data::ScopeControlHopLimitBlock::Factory, and dtn::data::StreamBlock::Factory.
Definition at line 70 of file ExtensionBlock.cpp.
References dtn::data::ExtensionBlock::factories, and dtn::data::ExtensionBlock::FactoryList::remove().
virtual dtn::data::Block* dtn::data::ExtensionBlock::Factory::create | ( | ) | [pure virtual] |
Implemented in dtn::security::PayloadConfidentialBlock::Factory, dtn::security::ExtensionSecurityBlock::Factory, dtn::security::BundleAuthenticationBlock::Factory, dtn::security::PayloadIntegrityBlock::Factory, dtn::data::AgeBlock::Factory, dtn::data::CompressedPayloadBlock::Factory, dtn::data::ScopeControlHopLimitBlock::Factory, and dtn::data::StreamBlock::Factory.
Referenced by dtn::data::Bundle::insert(), dtn::data::Bundle::push_back(), and dtn::data::Bundle::push_front().
ExtensionBlock::Factory & dtn::data::ExtensionBlock::Factory::get | ( | char | type | ) | throw (ibrcommon::Exception) [static] |
Definition at line 75 of file ExtensionBlock.cpp.
References dtn::data::ExtensionBlock::factories, dtn::data::ExtensionBlock::FactoryList::get(), and dtn::data::ExtensionBlock::FactoryList::initialize().
Referenced by dtn::data::DefaultDeserializer::operator>>(), dtn::api::PlainDeserializer::readBlock(), and dtn::data::SeparateDeserializer::readBlock().