41 #ifndef YOCTO_VOLTAGEOUTPUT_H 42 #define YOCTO_VOLTAGEOUTPUT_H 55 #define Y_CURRENTVOLTAGE_INVALID (YAPI_INVALID_DOUBLE) 56 #define Y_VOLTAGETRANSITION_INVALID (YAPI_INVALID_STRING) 57 #define Y_VOLTAGEATSTARTUP_INVALID (YAPI_INVALID_DOUBLE) 68 #pragma option push -w-8022 106 int set_currentVoltage(
double newval);
108 {
return this->set_currentVoltage(newval); }
117 double get_currentVoltage(
void);
120 {
return this->get_currentVoltage(); }
122 string get_voltageTransition(
void);
125 {
return this->get_voltageTransition(); }
127 int set_voltageTransition(
const string& newval);
129 {
return this->set_voltageTransition(newval); }
141 int set_voltageAtStartUp(
double newval);
143 {
return this->set_voltageAtStartUp(newval); }
152 double get_voltageAtStartUp(
void);
155 {
return this->get_voltageAtStartUp(); }
212 virtual int voltageMove(
double V_target,
int ms_duration);
227 {
return this->nextVoltageOutput();}
int setCurrentVoltage(double newval)
static YVoltageOutput * FindVoltageOutput(string func)
int setVoltageAtStartUp(double newval)
string _voltageTransition
static const double VOLTAGEATSTARTUP_INVALID
static YVoltageOutput * FirstVoltageOutput(void)
string voltageTransition(void)
virtual int _parseAttr(YJSONObject *json_val)
double voltageAtStartUp(void)
static const double CURRENTVOLTAGE_INVALID
YVoltageOutput * yFirstVoltageOutput(void)
virtual int registerValueCallback(YFunctionValueCallback callback)
static YVoltageOutput * First(void)
#define YOCTO_CLASS_EXPORT
int setVoltageTransition(const string &newval)
YVoltageOutput * next(void)
YVoltageOutputValueCallback _valueCallbackVoltageOutput
YVoltageOutput * yFindVoltageOutput(const string &func)
void(* YVoltageOutputValueCallback)(YVoltageOutput *func, const string &functionValue)
static YVoltageOutput * Find(string func)
static const string VOLTAGETRANSITION_INVALID
double currentVoltage(void)
virtual int _invokeValueCallback(string value)