helics
3.5.3
|
Functions that manipulate cloning filters in some way.
Functions that manipulate cloning translators in some way.
void helicsFilterAddDeliveryEndpoint | ( | HelicsFilter | filt, |
const char * | deliveryEndpoint, | ||
HelicsError * | err | ||
) |
Add a delivery endpoint to a cloning filter.
All cloned messages are sent to the delivery address(es).
filt | The given filter. | |
deliveryEndpoint | The name of the endpoint to deliver messages to. | |
[in,out] | err | A pointer to an error object for catching errors. |
Referenced by helicscpp::CloningFilter::addDeliveryEndpoint().
const char* helicsFilterGetInfo | ( | HelicsFilter | filt | ) |
Get the data in the info field of a filter.
filt | The given filter. |
Referenced by helicscpp::Filter::getInfo().
int helicsFilterGetOption | ( | HelicsFilter | filt, |
int | option | ||
) |
Get a handle option for the filter.
filt | The given filter to query. |
option | The option to query /ref helics_handle_options. |
References HELICS_FALSE.
const char* helicsFilterGetTag | ( | HelicsFilter | filt, |
const char * | tagname | ||
) |
Get the data in a specified tag of a filter.
filt | The filter to query. |
tagname | The name of the tag to query. |
Referenced by helicscpp::Filter::getTag().
void helicsFilterRemoveDeliveryEndpoint | ( | HelicsFilter | filt, |
const char * | deliveryEndpoint, | ||
HelicsError * | err | ||
) |
Remove a delivery destination from a cloning filter.
filt | The given filter (must be a cloning filter). | |
deliveryEndpoint | A string with the delivery endpoint to remove. | |
[in,out] | err | A pointer to an error object for catching errors. |
Referenced by helicscpp::CloningFilter::removeDeliveryEndpoint().
void helicsFilterRemoveTarget | ( | HelicsFilter | filt, |
const char * | target, | ||
HelicsError * | err | ||
) |
Remove a destination target from a filter.
filt | The given filter. | |
target | The named endpoint to remove as a target. | |
[in,out] | err | A pointer to an error object for catching errors. |
References helics::Interface::removeTarget().
Referenced by helicscpp::Filter::removeTarget().
void helicsFilterSetInfo | ( | HelicsFilter | filt, |
const char * | info, | ||
HelicsError * | err | ||
) |
Set the data in the info field for a filter.
filt | The given filter. | |
info | The string to set. | |
[in,out] | err | An error object to fill out in case of an error. |
Referenced by helicscpp::Filter::setInfo().
void helicsFilterSetOption | ( | HelicsFilter | filt, |
int | option, | ||
int | value, | ||
HelicsError * | err | ||
) |
Set an option value for a filter.
filt | The given filter. | |
option | The option to set /ref helics_handle_options. | |
value | The value of the option commonly 0 for false 1 for true. | |
[in,out] | err | An error object to fill out in case of an error. |
void helicsFilterSetTag | ( | HelicsFilter | filt, |
const char * | tagname, | ||
const char * | tagvalue, | ||
HelicsError * | err | ||
) |
Set the data in a specific tag for a filter.
filt | The filter object to set the tag for. | |
tagname | The string to set. | |
tagvalue | the string value to associate with a tag. | |
[in,out] | err | An error object to fill out in case of an error. |
Referenced by helicscpp::Filter::setTag().
const char* helicsTranslatorGetInfo | ( | HelicsTranslator | trans | ) |
Get the data in the info field of a translator.
trans | The given translator. |
Referenced by helicscpp::Translator::getInfo().
int helicsTranslatorGetOption | ( | HelicsTranslator | trans, |
int | option | ||
) |
Get a handle option for the translator.
trans | The given translator to query. |
option | The option to query /ref helics_handle_options. |
References HELICS_FALSE.
const char* helicsTranslatorGetTag | ( | HelicsTranslator | trans, |
const char * | tagname | ||
) |
Get the data in a specified tag of a translator.
trans | The translator to query. |
tagname | The name of the tag to query. |
Referenced by helicscpp::Translator::getTag().
void helicsTranslatorRemoveTarget | ( | HelicsTranslator | trans, |
const char * | target, | ||
HelicsError * | err | ||
) |
Remove a target from a translator.
trans | The given translator. | |
target | The name of the interface to remove as a target. | |
[in,out] | err | A pointer to an error object for catching errors. |
References helics::Interface::removeTarget().
Referenced by helicscpp::Translator::removeTarget().
void helicsTranslatorSetInfo | ( | HelicsTranslator | trans, |
const char * | info, | ||
HelicsError * | err | ||
) |
Set the data in the info field for a translator.
trans | The given translator. | |
info | The string to set. | |
[in,out] | err | An error object to fill out in case of an error. |
Referenced by helicscpp::Translator::setInfo().
void helicsTranslatorSetOption | ( | HelicsTranslator | trans, |
int | option, | ||
int | value, | ||
HelicsError * | err | ||
) |
Set an option value for a translator.
trans | The given translator. | |
option | The option to set /ref helics_handle_options. | |
value | The value of the option, commonly 0 for false or 1 for true. | |
[in,out] | err | An error object to fill out in case of an error. |
void helicsTranslatorSetTag | ( | HelicsTranslator | trans, |
const char * | tagname, | ||
const char * | tagvalue, | ||
HelicsError * | err | ||
) |
Set the data in a specific tag for a translator.
trans | The translator object to set the tag for. | |
tagname | The string to set. | |
tagvalue | The string value to associate with a tag. | |
[in,out] | err | An error object to fill out in case of an error. |
Referenced by helicscpp::Translator::setTag().