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 49 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 29 of file manager-base.cpp.

+ Here is the caller graph for this function:

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 37 of file manager-base.cpp.

+ Here is the caller graph for this function:

◆ 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 77 of file manager-base.hpp.

Member Data Documentation

◆ m_dispatcher

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

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