Transducer creator and handler class.
More...
#include <transducer-handler.h>
Transducer creator and handler class.
woss::TransducerHandler class imports and saves woss::Transducer. It provides access to them via string name.
◆ TMCIter
◆ TMIter
◆ TransducerMap
◆ TransducerHandler() [1/4]
| TransducerHandler::TransducerHandler |
( |
| ) |
|
◆ TransducerHandler() [2/4]
◆ TransducerHandler() [3/4]
◆ TransducerHandler() [4/4]
| TransducerHandler::TransducerHandler |
( |
TransducerMap & |
transduc_map | ) |
|
◆ ~TransducerHandler()
| virtual woss::TransducerHandler::~TransducerHandler |
( |
| ) |
|
|
virtualdefault |
◆ begin()
Returns a const iterator to the beginning of the tranducer map
- Returns
- const iterator
References transducer_map.
◆ clear()
◆ empty()
| bool woss::TransducerHandler::empty |
( |
| ) |
const |
|
inline |
Checks if the instance has any stored values
- Returns
- true if condition applies, false otherwise
References transducer_map.
◆ end()
Returns a const iterator to the end of the tranducer map
- Returns
- const iterator
References transducer_map.
◆ eraseValue()
Erases and deletes the pointer to a woss::Transducer for given string
- Parameters
-
| name | const reference to string |
- Returns
- reference to *this
References transducer_map.
◆ getDebug()
| bool woss::TransducerHandler::getDebug |
( |
| ) |
const |
|
inline |
◆ getValue()
| std::unique_ptr< Transducer > TransducerHandler::getValue |
( |
const std::string & |
name | ) |
const |
◆ importValueAscii()
| bool TransducerHandler::importValueAscii |
( |
const std::string & |
type_name, |
|
|
const std::string & |
file_name |
|
) |
| |
|
virtual |
◆ importValueBinary()
| bool TransducerHandler::importValueBinary |
( |
const std::string & |
type_name, |
|
|
const std::string & |
file_name |
|
) |
| |
|
virtual |
◆ initializeNotValid()
| void TransducerHandler::initializeNotValid |
( |
| ) |
|
|
protected |
◆ insertValue()
| bool TransducerHandler::insertValue |
( |
const std::string & |
name, |
|
|
const Transducer & |
transducer |
|
) |
| |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ replaceValue()
◆ setDebug()
Sets debug flag for all instances
- Parameters
-
References debug.
◆ size()
| int woss::TransducerHandler::size |
( |
| ) |
const |
|
inline |
Returns the number of pointers stored
- Returns
- number of pointers stored
References transducer_map.
◆ writeValueAscii()
| bool TransducerHandler::writeValueAscii |
( |
const std::string & |
type_name, |
|
|
const std::string & |
file_name |
|
) |
| |
|
virtual |
Writes a woss::Transducer to the given file
- Parameters
-
| type_name | transducer type name |
| file_name | file path |
- Returns
- true if method was successful, false otherwise
References transducer_map.
◆ writeValueBinary()
| bool TransducerHandler::writeValueBinary |
( |
const std::string & |
type_name, |
|
|
const std::string & |
file_name |
|
) |
| |
|
virtual |
Writes a woss::Transducer to the given binary file
- Parameters
-
| type_name | transducer type name |
| file_name | file path |
- Returns
- true if method was successful, false otherwise
References transducer_map.
◆ debug
| bool woss::TransducerHandler::debug |
|
protected |
◆ transducer_map
beam pattern map
Referenced by begin(), clear(), empty(), end(), eraseValue(), getValue(), importValueAscii(), importValueBinary(), initializeNotValid(), insertValue(), replaceValue(), size(), TransducerHandler(), writeValueAscii(), and writeValueBinary().
◆ TRANSDUCER_NOT_VALID
| const std::string TransducerHandler::TRANSDUCER_NOT_VALID = "TRANSDUCER_NOT_VALID" |
|
staticprotected |
The documentation for this class was generated from the following files: