|
BusBoy
2
|
Registers an algorithm upon instantiation. More...
#include <AlgorithmAutoRegister.h>
Public Member Functions | |
| AlgorithmAutoRegister (const std::string &name, Algorithm *algorithm) | |
| ~AlgorithmAutoRegister () | |
Registers an algorithm upon instantiation.
Declaring an instance as a global variable will register the algorithm when its library loads
| BUSBOY::AlgorithmAutoRegister::AlgorithmAutoRegister | ( | const std::string & | name, |
| Algorithm * | algorithm | ||
| ) |
| BUSBOY::AlgorithmAutoRegister::~AlgorithmAutoRegister | ( | ) |
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.