#include <interpolation_factory.h>
Public Types | |
typedef boost::function < boost::shared_ptr < Interpolation >FCL_REAL, FCL_REAL)> | CreateFunction |
Public Member Functions | |
boost::shared_ptr< Interpolation > | create (const InterpolationType type, FCL_REAL start_value, FCL_REAL end_value) |
void | registerClass (const InterpolationType type, const CreateFunction create_function) |
Static Public Member Functions | |
static InterpolationFactory & | instance () |
Private Member Functions | |
InterpolationFactory () | |
InterpolationFactory (const InterpolationFactory &) | |
InterpolationFactory & | operator= (const InterpolationFactory &) |
Private Attributes | |
std::map< InterpolationType, CreateFunction > | creation_map_ |
Definition at line 51 of file interpolation_factory.h.
typedef boost::function<boost::shared_ptr<Interpolation>FCL_REAL, FCL_REAL)> fcl::InterpolationFactory::CreateFunction |
Definition at line 54 of file interpolation_factory.h.
fcl::InterpolationFactory::InterpolationFactory | ( | ) | [private] |
Definition at line 45 of file interpolation_factory.cpp.
fcl::InterpolationFactory::InterpolationFactory | ( | const InterpolationFactory & | ) | [inline, private] |
Definition at line 67 of file interpolation_factory.h.
boost::shared_ptr< Interpolation > fcl::InterpolationFactory::create | ( | const InterpolationType | type, |
FCL_REAL | start_value, | ||
FCL_REAL | end_value | ||
) |
Definition at line 63 of file interpolation_factory.cpp.
InterpolationFactory & fcl::InterpolationFactory::instance | ( | ) | [static] |
Definition at line 50 of file interpolation_factory.cpp.
InterpolationFactory& fcl::InterpolationFactory::operator= | ( | const InterpolationFactory & | ) | [inline, private] |
Definition at line 70 of file interpolation_factory.h.
void fcl::InterpolationFactory::registerClass | ( | const InterpolationType | type, |
const CreateFunction | create_function | ||
) |
Definition at line 57 of file interpolation_factory.cpp.
std::map<InterpolationType, CreateFunction> fcl::InterpolationFactory::creation_map_ [private] |
Definition at line 76 of file interpolation_factory.h.