TOBI Interface A  0.1
boost::uint32_t tia::Constants::getSignalFlag ( const std::string &  s)

Maps given strings "on" or "off" to boolean values 0 or 1.

Parameters:
[in]sString to be checked.
Returns:
Bool
Exceptions:
ticpp::Exceptionthrown if std::string neither on or off (or 0/1)! Maps given std::strings "yes" or "no" to boolean values 0 or 1.
Parameters:
[in]sstd::string to be checked.
Returns:
Bool
Exceptions:
ticpp::Exceptionthrown if std::string neither yes or no (or 0/1)! Checks, if the given std::string equals "master".
Parameters:
[in]sstd::string to be checked.
Returns:
Bool Checks, if the given std::string equals "slave".
Parameters:
[in]sstd::string to be checked.
Returns:
Bool Checks, if the given std::string equals "aperiodic".
Parameters:
[in]sstd::string to be checked.
Returns:
Bool Maps a given std::string to the specific code of this filter at the the g.USBamp.
Parameters:
[in]sstd::string to be checked.
Returns:
FilterID
Exceptions:
ticpp::Exceptionthrown if filter name not found! Maps a given std::string to the specific OP_MODE of the g.USBamp.
Parameters:
[in]sstd::string to be checked.
Returns:
OP_MODE std::string
Exceptions:
ticpp::Exceptionthrown if OP_MODE name not found! Maps a given std::string to the specific g.USBamp channels group (naming on the front of the g.USBamp).
Parameters:
[in]sstd::string to be checked.
Returns:
block_id
Exceptions:
ticpp::Exceptionthrown if channel group naming not found! Maps a given std::string to the respective SignalType flag.
Parameters:
[in]sstd::string to be checked.
Returns:
flag
Exceptions:
ticpp::Exceptionthrown if std::string not representing any valid signaltype!
 All Data Structures Files Functions Variables Enumerations