nfd::strategy_choice::Entry Class Reference

represents a Strategy Choice entry More...

#include <strategy-choice-entry.hpp>

Inheritance diagram for nfd::strategy_choice::Entry:
Collaboration diagram for nfd::strategy_choice::Entry:

Public Member Functions

 Entry (const Name &prefix)
 
 ~Entry ()
 
const Name & getPrefix () const
 
const Name & getStrategyInstanceName () const
 
fw::StrategygetStrategy () const
 
void setStrategy (unique_ptr< fw::Strategy > strategy)
 

Friends

class name_tree::Entry
 

Detailed Description

represents a Strategy Choice entry

Definition at line 45 of file strategy-choice-entry.hpp.

Constructor & Destructor Documentation

nfd::strategy_choice::Entry::Entry ( const Name &  prefix)

Definition at line 33 of file strategy-choice-entry.cpp.

nfd::strategy_choice::Entry::~Entry ( )
default

Member Function Documentation

const Name& nfd::strategy_choice::Entry::getPrefix ( ) const
inline
Returns
name prefix on which this strategy choice is applied

Definition at line 55 of file strategy-choice-entry.hpp.

fw::Strategy& nfd::strategy_choice::Entry::getStrategy ( ) const
inline
Returns
strategy instance

Definition at line 68 of file strategy-choice-entry.hpp.

const Name & nfd::strategy_choice::Entry::getStrategyInstanceName ( ) const
Returns
strategy instance name

Definition at line 42 of file strategy-choice-entry.cpp.

void nfd::strategy_choice::Entry::setStrategy ( unique_ptr< fw::Strategy strategy)

Definition at line 48 of file strategy-choice-entry.cpp.

Friends And Related Function Documentation

friend class name_tree::Entry
friend

Definition at line 82 of file strategy-choice-entry.hpp.