Gyoto
|
Base class for metric description. More...
#include <iostream>
#include <fstream>
#include <string>
#include <GyotoWorldline.h>
#include <GyotoSmartPointer.h>
#include <GyotoAstrobj.h>
#include <GyotoRegister.h>
Go to the source code of this file.
Classes | |
class | Gyoto::Metric::Generic |
Base class for metrics. More... |
Namespaces | |
namespace | Gyoto |
Namespace for the Gyoto library. | |
namespace | Gyoto::Metric |
Access to metrics. |
Typedefs | |
typedef SmartPointer < Metric::Generic > | Gyoto::Metric::Subcontractor_t (FactoryMessenger *) |
A function to build instances of a specific Metric::Generic sub-class. |
Functions | |
Gyoto::Metric::Subcontractor_t * | Gyoto::Metric::getSubcontractor (std::string name) |
Query the Metric register. | |
void | Gyoto::Metric::Register (std::string kind, Gyoto::Metric::Subcontractor_t *) |
Make a Metric kind known to the Factory. | |
void | Gyoto::Metric::initRegister () |
Empty the Metric register. |
Variables | |
Register::Entry * | Gyoto::Metric::Register_ |
The Metric register. |
Base class for metric description.
Classes which represent a metric (e.g. Gyoto::Kerr) should inherit from Gyoto::Metric::Generic and implement all of the virtual methods.