GPU-Accelerated Coverage
0.1.0
Compute coverage tours for known environment with articulated objects on GPU
|
Configuration parameter. More...
#include <Config.h>
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... | |
![]() | |
AbstractParam (const std::string &name, const std::string &description) | |
Constructor. More... | |
virtual | ~AbstractParam () |
Destructor. | |
Public Attributes | |
T | dflt |
Default value of the parameter. | |
T | value |
Current value of the parameter. | |
![]() | |
const std::string | name |
The name of the descriptor. | |
const std::string | description |
A human-readable description of the parameter. | |
Configuration parameter.
The | type of the configuration value. |
|
inline |
Constructor.
[in] | name | The name of the parameter. |
[in] | description | A human-readable description of the parameter. |
[in] | dflt | The default value of the parameter. |
|
virtual |
Read this parameter from a configuration file input stream.
[in] | is | The input stream to read from. |
Implements gpu_coverage::Config::AbstractParam.
|
virtual |
Write this parameter to a configuration file output stream.
[in] | os | The output stream to write to. |
Implements gpu_coverage::Config::AbstractParam.