User Manual, Developers Guide and API Documentation

wns::ldk::flowseparator::CreateOnFirstCompound Class Reference

Autocreate missing instances. More...

#include <ldk/flowseparator/NotFoundStrategy.hpp>

Inheritance diagram for wns::ldk::flowseparator::CreateOnFirstCompound:

Inheritance graph
[legend]
Collaboration diagram for wns::ldk::flowseparator::CreateOnFirstCompound:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CreateOnFirstCompound (CreatorStrategy *_creator)
 CreateOnFirstCompound (fun::FUN *fuNet, const pyconfig::View &config)
FunctionalUnitcreatePrototype () const
FunctionalUnitifNotFound (const ConstKeyPtr &key) const
 Return a new FU for the given key.
void onFUNCreated ()
 enable dependency resolution
virtual ~CreateOnFirstCompound ()

Private Attributes

std::auto_ptr< CreatorStrategycreator
 strategy for new fu creation


Detailed Description

CreateOnFirstCompound.png

Sequence Diagram: Create new FU if no FU for Compound found

Definition at line 95 of file NotFoundStrategy.hpp.


Constructor & Destructor Documentation

CreateOnFirstCompound::CreateOnFirstCompound ( fun::FUN fuNet,
const pyconfig::View config 
)

Definition at line 88 of file NotFoundStrategy.cpp.

CreateOnFirstCompound::CreateOnFirstCompound ( CreatorStrategy _creator  ) 

Definition at line 97 of file NotFoundStrategy.cpp.

CreateOnFirstCompound::~CreateOnFirstCompound (  )  [virtual]

Definition at line 101 of file NotFoundStrategy.cpp.


Member Function Documentation

FunctionalUnit * CreateOnFirstCompound::createPrototype (  )  const [virtual]

Implements wns::ldk::flowseparator::NotFoundStrategy.

Definition at line 112 of file NotFoundStrategy.cpp.

FunctionalUnit * CreateOnFirstCompound::ifNotFound ( const ConstKeyPtr key  )  const [virtual]

Implements wns::ldk::flowseparator::NotFoundStrategy.

Definition at line 106 of file NotFoundStrategy.cpp.

void CreateOnFirstCompound::onFUNCreated (  )  [virtual]

Implements wns::ldk::flowseparator::NotFoundStrategy.

Definition at line 118 of file NotFoundStrategy.cpp.


Member Data Documentation

Definition at line 116 of file NotFoundStrategy.hpp.


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

Generated on Sat May 26 03:32:56 2012 for openWNS by  doxygen 1.5.5