nlsr::update::ManagerBase Class Reference

#include <manager-base.hpp>

+ Inheritance diagram for nlsr::update::ManagerBase:
+ Collaboration diagram for nlsr::update::ManagerBase:

Classes

class  Error
 

Public Member Functions

 ManagerBase (ndn::mgmt::Dispatcher &m_dispatcher, const std::string &module)
 

Protected Member Functions

ndn::PartialName makeRelPrefix (const std::string &verb) const
 generate the relative prefix for a handler by appending the verb name to the module name More...
 
template<typename T >
bool validateParameters (const ndn::mgmt::ControlParameters &parameters)
 validate the parameters for a given command More...
 

Protected Attributes

ndn::mgmt::Dispatcher & m_dispatcher
 

Detailed Description

Definition at line 50 of file manager-base.hpp.

Constructor & Destructor Documentation

◆ ManagerBase()

nlsr::update::ManagerBase::ManagerBase ( ndn::mgmt::Dispatcher &  m_dispatcher,
const std::string &  module 
)

Definition at line 30 of file manager-base.cpp.

Member Function Documentation

◆ makeRelPrefix()

ndn::PartialName nlsr::update::ManagerBase::makeRelPrefix ( const std::string &  verb) const
protected

generate the relative prefix for a handler by appending the verb name to the module name

Definition at line 38 of file manager-base.cpp.

◆ validateParameters()

template<typename T >
bool nlsr::update::ManagerBase::validateParameters ( const ndn::mgmt::ControlParameters &  parameters)
inlineprotected

validate the parameters for a given command

Definition at line 72 of file manager-base.hpp.

Member Data Documentation

◆ m_dispatcher

ndn::mgmt::Dispatcher& nlsr::update::ManagerBase::m_dispatcher
protected

Definition at line 92 of file manager-base.hpp.