GPU-Accelerated Coverage  0.1.0
Compute coverage tours for known environment with articulated objects on GPU
Public Member Functions | Public Attributes | List of all members
gpu_coverage::Config::Param< T > Struct Template Reference

Configuration parameter. More...

#include <Config.h>

Inheritance diagram for gpu_coverage::Config::Param< T >:
Inheritance graph
[legend]

Public Member Functions

 Param (const std::string &name, const std::string &description, const T &dflt)
 Constructor. More...
 
virtual ~Param ()
 Destructor.
 
virtual void write (std::ostream &os) const
 Write this parameter to a configuration file output stream. More...
 
virtual void read (std::istream &is) throw (std::invalid_argument)
 Read this parameter from a configuration file input stream. More...
 
- Public Member Functions inherited from gpu_coverage::Config::AbstractParam
 AbstractParam (const std::string &name, const std::string &description)
 Constructor. More...
 
virtual ~AbstractParam ()
 Destructor.
 

Public Attributes

dflt
 Default value of the parameter.
 
value
 Current value of the parameter.
 
- Public Attributes inherited from gpu_coverage::Config::AbstractParam
const std::string name
 The name of the descriptor.
 
const std::string description
 A human-readable description of the parameter.
 

Detailed Description

template<class T>
struct gpu_coverage::Config::Param< T >

Configuration parameter.

Template Parameters
Thetype of the configuration value.

Constructor & Destructor Documentation

template<class T>
gpu_coverage::Config::Param< T >::Param ( const std::string &  name,
const std::string &  description,
const T &  dflt 
)
inline

Constructor.

Parameters
[in]nameThe name of the parameter.
[in]descriptionA human-readable description of the parameter.
[in]dfltThe default value of the parameter.

Member Function Documentation

template<class T>
virtual void gpu_coverage::Config::Param< T >::read ( std::istream &  is)
throw (std::invalid_argument
)
virtual

Read this parameter from a configuration file input stream.

Parameters
[in]isThe input stream to read from.

Implements gpu_coverage::Config::AbstractParam.

template<class T>
virtual void gpu_coverage::Config::Param< T >::write ( std::ostream &  os) const
virtual

Write this parameter to a configuration file output stream.

Parameters
[in]osThe output stream to write to.

Implements gpu_coverage::Config::AbstractParam.


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