BusBoy  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
BUSBOY::AlgorithmRegistry Class Reference

Singleton that holds a mapping of names to algorithms. More...

#include <AlgorithmRegistry.h>

Public Member Functions

void registerAlgorithm (const std::string &name, Algorithm *algorithm)
 
bool hasAlgorithm (const std::string &name) const
 
AlgorithmgetAlgorithm (const std::string &name) const
 
 ~AlgorithmRegistry ()
 

Static Public Member Functions

static AlgorithmRegistryinstance ()
 

Detailed Description

Singleton that holds a mapping of names to algorithms.

Constructor & Destructor Documentation

BUSBOY::AlgorithmRegistry::~AlgorithmRegistry ( )

Member Function Documentation

Algorithm * BUSBOY::AlgorithmRegistry::getAlgorithm ( const std::string &  name) const
bool BUSBOY::AlgorithmRegistry::hasAlgorithm ( const std::string &  name) const
AlgorithmRegistry & BUSBOY::AlgorithmRegistry::instance ( )
static
void BUSBOY::AlgorithmRegistry::registerAlgorithm ( const std::string &  name,
Algorithm algorithm 
)

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

Copyright 2014 Google Inc. All rights reserved.