AuboStudio SDK  0.6.3
arcs::aubo_scope::AnalogIo类 参考

This interface provides support for analog I/Os. 更多...

#include <analog_io.h>

类 arcs::aubo_scope::AnalogIo 继承关系图:
arcs::aubo_scope::AnalogIo 的协作图:

Public 成员函数

 AnalogIo (AnalogIo &f)
 AnalogIo (AnalogIo &&f)
 ~AnalogIo ()
double getMinRangeValue ()
double getMaxRangeValue ()
bool isCurrent ()
bool isVoltage ()
bool setValue (double value)
 Set analog I/O output signal.
double getValue ()
Public 成员函数 继承自 arcs::aubo_scope::Io
 Io (Io &f)
 Io (Io &&f)
virtual ~Io ()
std::string getDisplayName () const
std::string getDefaultName () const
std::string getValueStr () const
IoType getType () const
InterfaceType getInterfaceType () const
int getAction () const
bool isInput () const
bool isResolvable () const
 Some I/Os, such as MODBUS I/Os and analog Tool inputs, are in some situations not present in AuboScope or available for use.
size_t hashCode ()

Private 成员函数

 AnalogIo ()

Private 属性

void * d_ { nullptr }

友元

class DataSwitch

额外继承的成员函数

Public 类型 继承自 arcs::aubo_scope::Io
enum  IoType : int {
  DIGITAL , ANALOG , INTEGER , BOOLEAN ,
  DOUBLE
}
enum  InterfaceType : int {
  STANDARD , TOOL , CONFIGURABLE , LINKIO ,
  MODBUS , GENERAL_PURPOSE , PROFINET , ETHERNET_IP
}
Protected 成员函数 继承自 arcs::aubo_scope::Io
 Io ()

详细描述

This interface provides support for analog I/Os.

在文件 analog_io.h14 行定义.

构造及析构函数说明

◆ AnalogIo() [1/3]

arcs::aubo_scope::AnalogIo::AnalogIo ( AnalogIo & f)

引用了 AnalogIo().

被这些函数引用 AnalogIo() , 以及 AnalogIo().

函数调用图:
这是这个函数的调用关系图:

◆ AnalogIo() [2/3]

arcs::aubo_scope::AnalogIo::AnalogIo ( AnalogIo && f)

引用了 AnalogIo().

函数调用图:

◆ ~AnalogIo()

arcs::aubo_scope::AnalogIo::~AnalogIo ( )

◆ AnalogIo() [3/3]

arcs::aubo_scope::AnalogIo::AnalogIo ( )
private

成员函数说明

◆ getMaxRangeValue()

double arcs::aubo_scope::AnalogIo::getMaxRangeValue ( )

◆ getMinRangeValue()

double arcs::aubo_scope::AnalogIo::getMinRangeValue ( )

◆ getValue()

double arcs::aubo_scope::AnalogIo::getValue ( )
返回
Returns the last reading of the I/O.

◆ isCurrent()

bool arcs::aubo_scope::AnalogIo::isCurrent ( )

◆ isVoltage()

bool arcs::aubo_scope::AnalogIo::isVoltage ( )

◆ setValue()

bool arcs::aubo_scope::AnalogIo::setValue ( double value)

Set analog I/O output signal.

Notice the I/O must be an output I/O

参数
valueThe analog value to be set.
返回
true if the analog signal was set, false if the signal was not set, e.g. because the controller was not running.

◆ DataSwitch

friend class DataSwitch
friend

在文件 analog_io.h44 行定义.

引用了 DataSwitch.

被这些函数引用 DataSwitch.

类成员变量说明

◆ d_

void* arcs::aubo_scope::AnalogIo::d_ { nullptr }
private

在文件 analog_io.h46 行定义.


该类的文档由以下文件生成: