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

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

#include <digital_io.h>

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

Public 成员函数

 DigitalIo (DigitalIo &f)
 DigitalIo (DigitalIo &&f)
 ~DigitalIo ()
bool setValue (bool high)
 Set digital I/O output signal.
bool 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 成员函数

 DigitalIo ()

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 digital I/Os.

在文件 digital_io.h14 行定义.

构造及析构函数说明

◆ DigitalIo() [1/3]

arcs::aubo_scope::DigitalIo::DigitalIo ( DigitalIo & f)

引用了 DigitalIo().

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

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

◆ DigitalIo() [2/3]

arcs::aubo_scope::DigitalIo::DigitalIo ( DigitalIo && f)

引用了 DigitalIo().

函数调用图:

◆ ~DigitalIo()

arcs::aubo_scope::DigitalIo::~DigitalIo ( )

◆ DigitalIo() [3/3]

arcs::aubo_scope::DigitalIo::DigitalIo ( )
private

成员函数说明

◆ getValue()

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

◆ setValue()

bool arcs::aubo_scope::DigitalIo::setValue ( bool high)

Set digital I/O output signal.

Note that the I/O must be an output I/O.

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

◆ DataSwitch

friend class DataSwitch
friend

在文件 digital_io.h38 行定义.

引用了 DataSwitch.

被这些函数引用 DataSwitch.

类成员变量说明

◆ d_

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

在文件 digital_io.h40 行定义.


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