Drake
BuilderFactoryBase Class Referenceabstract

Factory interface to construct BuilderBase instances. More...

#include <drake/automotive/maliput/multilane/builder.h>

Inheritance diagram for BuilderFactoryBase:
[legend]

Public Member Functions

 BuilderFactoryBase ()=default
 
virtual ~BuilderFactoryBase ()=default
 
virtual std::unique_ptr< BuilderBaseMake (double lane_width, const api::HBounds &elevation_bounds, double linear_tolerance, double angular_tolerance, double scale_length, ComputationPolicy computation_policy) const =0
 Creates a BuilderBase instance. More...
 
Does not allow copy, move, or assignment
 BuilderFactoryBase (const BuilderFactoryBase &)=delete
 
BuilderFactoryBaseoperator= (const BuilderFactoryBase &)=delete
 
 BuilderFactoryBase (BuilderFactoryBase &&)=delete
 
BuilderFactoryBaseoperator= (BuilderFactoryBase &&)=delete
 

Detailed Description

Factory interface to construct BuilderBase instances.

Defined for testing purposes, and production code must use BuilderFactory objects.

Constructor & Destructor Documentation

BuilderFactoryBase ( const BuilderFactoryBase )
delete
BuilderFactoryBase ( )
default
virtual ~BuilderFactoryBase ( )
virtualdefault

Member Function Documentation

virtual std::unique_ptr<BuilderBase> Make ( double  lane_width,
const api::HBounds elevation_bounds,
double  linear_tolerance,
double  angular_tolerance,
double  scale_length,
ComputationPolicy  computation_policy 
) const
pure virtual

Creates a BuilderBase instance.

lane_width, elevation_bounds, linear_tolerance, angular_tolerance, scale_length and computation_policy are BuilderBase properties.

Implemented in BuilderFactory.

BuilderFactoryBase& operator= ( const BuilderFactoryBase )
delete
BuilderFactoryBase& operator= ( BuilderFactoryBase &&  )
delete

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