helics
3.5.3
|
const char* helicsInputGetExtractionUnits | ( | HelicsInput | ipt | ) |
Get the units of an input.
The same as helicsInputGetUnits.
ipt | The input to query. |
Referenced by helicscpp::Input::getUnits(), and helicsInputGetUnits().
const char* helicsInputGetInfo | ( | HelicsInput | inp | ) |
Get the data in the info field of an input.
inp | The input to query. |
Referenced by helicscpp::Input::getInfo().
const char* helicsInputGetInjectionUnits | ( | HelicsInput | ipt | ) |
Get the units of the publication that an input is linked to.
ipt | The input to query. |
Referenced by helicscpp::Input::getInjectionUnits().
const char* helicsInputGetName | ( | HelicsInput | ipt | ) |
Get the key of an input.
ipt | The input to query. |
Referenced by helicscpp::Input::getName().
int helicsInputGetOption | ( | HelicsInput | inp, |
int | option | ||
) |
Get the current value of an input handle option
inp | The input to query. |
option | Integer representation of the option in question see /ref helics_handle_options. |
References HELICS_FALSE.
int helicsInputGetPublicationDataType | ( | HelicsInput | ipt | ) |
Get the type the publisher to an input is sending.
ipt | The input to query. |
References helicsGetDataType(), and helicsInputGetPublicationType().
const char* helicsInputGetPublicationType | ( | HelicsInput | ipt | ) |
Get the type the publisher to an input is sending.
ipt | The input to query. |
Referenced by helicscpp::Input::getPublicationType(), and helicsInputGetPublicationDataType().
const char* helicsInputGetTag | ( | HelicsInput | inp, |
const char * | tagname | ||
) |
Get the data in a specified tag of an input.
inp | The input object to query. |
tagname | The name of the tag to get the value for. |
Referenced by helicscpp::Input::getTag().
const char* helicsInputGetTarget | ( | HelicsInput | ipt | ) |
Get the target of an input.
Referenced by helicscpp::Input::getTarget(), and helicsSubscriptionGetTarget().
const char* helicsInputGetType | ( | HelicsInput | ipt | ) |
Get the type of an input.
ipt | The input to query. |
Referenced by helicscpp::Input::getType().
const char* helicsInputGetUnits | ( | HelicsInput | ipt | ) |
Get the units of an input.
ipt | The input to query. |
References helicsInputGetExtractionUnits().
void helicsInputSetInfo | ( | HelicsInput | inp, |
const char * | info, | ||
HelicsError * | err | ||
) |
Set the data in the info field for an input.
inp | The input to query. | |
info | The string to set. | |
[in,out] | err | An error object to fill out in case of an error. |
Referenced by helicscpp::Input::setInfo().
void helicsInputSetMinimumChange | ( | HelicsInput | inp, |
double | tolerance, | ||
HelicsError * | err | ||
) |
Set the minimum change detection tolerance.
inp | The input to modify. | |
tolerance | The tolerance level for registering an update, values changing less than this value will not show as being updated. | |
[in,out] | err | An error object to fill out in case of an error. |
void helicsInputSetOption | ( | HelicsInput | inp, |
int | option, | ||
int | value, | ||
HelicsError * | err | ||
) |
Set an option on an input
inp | The input to query. | |
option | The option to set for the input /ref helics_handle_options. | |
value | The value to set the option to. | |
[in,out] | err | An error object to fill out in case of an error. |
void helicsInputSetTag | ( | HelicsInput | inp, |
const char * | tagname, | ||
const char * | tagvalue, | ||
HelicsError * | err | ||
) |
Set the data in a specific tag for an input.
inp | The input object to query. | |
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::Input::setTag().
const char* helicsPublicationGetInfo | ( | HelicsPublication | pub | ) |
Get the data in the info field of an publication.
pub | The publication to query. |
Referenced by helicscpp::Publication::getInfo().
const char* helicsPublicationGetName | ( | HelicsPublication | pub | ) |
Get the name of a publication.
This will be the global key used to identify the publication to the federation.
pub | The publication to query. |
Referenced by helicscpp::Publication::getName().
int helicsPublicationGetOption | ( | HelicsPublication | pub, |
int | option | ||
) |
Get the value of an option for a publication
pub | The publication to query. |
option | The value to query see /ref helics_handle_options. |
References HELICS_FALSE.
const char* helicsPublicationGetTag | ( | HelicsPublication | pub, |
const char * | tagname | ||
) |
Get the data in a specified tag of a publication.
pub | The publication object to query. |
tagname | The name of the tag to query. |
Referenced by helicscpp::Publication::getTag().
const char* helicsPublicationGetType | ( | HelicsPublication | pub | ) |
Get the type of a publication.
pub | The publication to query. |
Referenced by helicscpp::Publication::getType().
const char* helicsPublicationGetUnits | ( | HelicsPublication | pub | ) |
Get the units of a publication.
pub | The publication to query. |
Referenced by helicscpp::Publication::getUnits().
void helicsPublicationSetInfo | ( | HelicsPublication | pub, |
const char * | info, | ||
HelicsError * | err | ||
) |
Set the data in the info field for a publication.
pub | The publication to set the info field for. | |
info | The string to set. | |
[in,out] | err | An error object to fill out in case of an error. |
Referenced by helicscpp::Publication::setInfo().
void helicsPublicationSetMinimumChange | ( | HelicsPublication | pub, |
double | tolerance, | ||
HelicsError * | err | ||
) |
Set the minimum change detection tolerance.
pub | The publication to modify. | |
tolerance | The tolerance level for publication, values changing less than this value will not be published. | |
[in,out] | err | An error object to fill out in case of an error. |
void helicsPublicationSetOption | ( | HelicsPublication | pub, |
int | option, | ||
int | val, | ||
HelicsError * | err | ||
) |
Set the value of an option for a publication
pub | The publication to query. | |
option | Integer code for the option to set /ref helics_handle_options. | |
val | The value to set the option to. | |
[in,out] | err | An error object to fill out in case of an error. |
void helicsPublicationSetTag | ( | HelicsPublication | pub, |
const char * | tagname, | ||
const char * | tagvalue, | ||
HelicsError * | err | ||
) |
Set the data in a specific tag for a publication.
pub | The publication object to set a tag for. | |
tagname | The name of the tag 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::Publication::setTag().
HELICS_DEPRECATED const char* helicsSubscriptionGetTarget | ( | HelicsInput | ipt | ) |
Get the target of a subscription.
References helicsInputGetTarget().