![]() |
helics
3.6.1
|
#include <Translator.hpp>
Public Member Functions | |
| Translator (HelicsTranslator htrans) HELICS_NOTHROW | |
| Translator () HELICS_NOTHROW | |
| Translator (const Translator &trans) | |
| Translator & | operator= (const Translator &translatorer) |
| operator HelicsTranslator () const | |
| HelicsTranslator | baseObject () const |
| bool | isValid () const |
| const char * | getName () const |
| void | set (const std::string &property, double val) |
| void | setString (const std::string &property, const std::string &val) |
| void | addDestinationEndpoint (const std::string &dest) |
| void | addSourceEndpoint (const std::string &source) |
| void | addDestinationInput (const std::string &dest) |
| void | addSourcePublication (const std::string &source) |
| void | removeTarget (const std::string &dest) |
| const char * | getInfo () const |
| void | setInfo (const std::string &info) |
| const char * | getTag (const std::string &tagname) const |
| void | setTag (const std::string &tagname, const std::string &tagvalue) |
| void | setOption (int32_t option, int32_t value=1) |
| int32_t | getOption (int32_t option) |
Protected Attributes | |
| HelicsTranslator | translator |
| the reference to the underlying HelicsTranslator object | |
object managing a translator in the C++98 interface
|
inlineexplicit |
construct from C level HelicsTranslator object
|
inline |
default constructor
|
inline |
copy constructor
|
inline |
add a destination target to a cloning translator
all messages going to a destination are copied to the delivery address(es)
References helicsTranslatorAddDestinationEndpoint(), and translator.
|
inline |
add a destination target to a cloning translator
all messages going to a destination are copied to the delivery address(es)
References helicsTranslatorAddInputTarget(), and translator.
|
inline |
add a source target to a cloning translator
all messages coming from a source are copied to the delivery address(es)
References helicsTranslatorAddSourceEndpoint(), and translator.
|
inline |
add a source target to a cloning translator
all messages coming from a source are copied to the delivery address(es)
References helicsTranslatorAddPublicationTarget(), and translator.
|
inline |
get the underlying HelicsTranslator object
References translator.
|
inline |
get the interface information field of the translator
References helicsTranslatorGetInfo(), and translator.
|
inline |
get the name for the translator
References helicsTranslatorGetName(), and translator.
|
inline |
get the value of a tag for the translator
References helicsTranslatorGetTag(), and translator.
|
inline |
check if the translator is valid
References HELICS_TRUE, helicsTranslatorIsValid(), and translator.
|
inline |
cast operator to get the underlying object
References translator.
|
inline |
copy assignment
References translator.
|
inline |
remove a destination target from a cloning translator
References helicsTranslatorRemoveTarget(), and translator.
|
inline |
set a property on a translator
| property | the name of the property of the translator to change |
| val | the numerical value of the property |
References helicsTranslatorSet(), and translator.
|
inline |
set the interface information field of the translator
References helicsTranslatorSetInfo(), and translator.
|
inline |
set a string property on a translator
| property | the name of the property of the translator to change |
| val | the numerical value of the property |
References helicsTranslatorSetString(), and translator.
|
inline |
set the value of a tag for the translator
References helicsTranslatorSetTag(), and translator.