Arc::InfoRegisterContainer Class Reference

#include <InfoRegister.h>

Public Member Functions

InfoRegistraraddRegistrar (XMLNode doc)
void addService (InfoRegister *reg, const std::list< std::string > &ids, XMLNode cfg=XMLNode())
void removeService (InfoRegister *reg)

Detailed Description

Singleton class for scanning configuration and storing refernces to registration elements.


Member Function Documentation

InfoRegistrar* Arc::InfoRegisterContainer::addRegistrar ( XMLNode  doc  ) 

Adds ISISes to list of handled services.

Supplied configuration document is scanned for InfoRegistrar elements and those are turned into InfoRegistrar classes for handling connection to ISIS service each.

void Arc::InfoRegisterContainer::addService ( InfoRegister reg,
const std::list< std::string > &  ids,
XMLNode  cfg = XMLNode() 
)

Adds service to list of handled.

This method must be called first time after last addRegistrar was called - services will be only associated with ISISes which are already added. Argument ids contains list of ISIS identifiers to which service is associated. If ids is empty then service is associated to all ISISes currently added. If argument cfg is available and no ISISes are configured then addRegistrars is called with cfg used as configuration document.

void Arc::InfoRegisterContainer::removeService ( InfoRegister reg  ) 

This method must be called if service being destroyed.


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 11:54:23 2012 for Hosting Environment (Daemon) by  doxygen 1.6.3