ICAROUS
All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Modules Pages
Static Public Member Functions | Static Private Attributes | List of all members
larcfm::DetectionPolygonParameterReader Class Reference

#include <DetectionPolygonParameterReader.h>

Static Public Member Functions

static void registerDefaults ()
 
static void registerDetectionPolygon (DetectionPolygon *cd)
 
static void registerDetectionPolygon (DetectionPolygon *cd, const std::string &aternate_name)
 
static Triple< std::vector< DetectionPolygon * >, DetectionPolygon *, DetectionPolygon * > readPolygonDetection (const ParameterData &params)
 
static Triple< std::vector< DetectionPolygon * >, DetectionPolygon *, DetectionPolygon * > readPolygonDetection (const ParameterData &params, bool verbose)
 

Static Private Attributes

static std::map< std::string, DetectionPolygon * > registeredDetectionPolygonClasses
 
static bool registered = false
 

Detailed Description

This class contains static methods to read in DetectionPolygon instance definitions from a ParameterData object in a format consistent with a ParameterData object created by DetectionPolygonParameterWriter.

Member Function Documentation

◆ readPolygonDetection()

Triple< vector< DetectionPolygon * >, DetectionPolygon *, DetectionPolygon * > larcfm::DetectionPolygonParameterReader::readPolygonDetection ( const ParameterData params)
static

The user is responsible for deleting the entries in the list (which will contain the second and third tuple elements).

◆ registerDefaults()

void larcfm::DetectionPolygonParameterReader::registerDefaults ( )
static

Register standard FormalATM classes. This may also be done through explicit calls to registerDetection3D and registerDetectionPolygon, below. Nonstandard classed need to be registered individually.

◆ registerDetectionPolygon()

void larcfm::DetectionPolygonParameterReader::registerDetectionPolygon ( DetectionPolygon cd)
static

Register a new DetectionPolygon class with this reader.


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