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

This is the base interface representing all types of I/Os available in AuboScope. 更多...

#include <io.h>

类 arcs::aubo_scope::Io 继承关系图:

Public 类型

enum  IoType : int {
  DIGITAL , ANALOG , INTEGER , BOOLEAN ,
  DOUBLE
}
enum  InterfaceType : int {
  STANDARD , TOOL , CONFIGURABLE , LINKIO ,
  MODBUS , GENERAL_PURPOSE , PROFINET , ETHERNET_IP
}

Public 成员函数

 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 ()

Protected 成员函数

 Io ()

Private 属性

void * d_ { nullptr }

友元

class DataSwitch

详细描述

This is the base interface representing all types of I/Os available in AuboScope.

在文件 io.h16 行定义.

成员枚举类型说明

◆ InterfaceType

枚举值
STANDARD 
TOOL 
CONFIGURABLE 
LINKIO 
MODBUS 
GENERAL_PURPOSE 
PROFINET 
ETHERNET_IP 

在文件 io.h27 行定义.

◆ IoType

枚举值
DIGITAL 
ANALOG 
INTEGER 
BOOLEAN 
DOUBLE 

在文件 io.h19 行定义.

构造及析构函数说明

◆ Io() [1/3]

arcs::aubo_scope::Io::Io ( Io & f)

引用了 Io().

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

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

◆ Io() [2/3]

arcs::aubo_scope::Io::Io ( Io && f)

引用了 Io().

函数调用图:

◆ ~Io()

virtual arcs::aubo_scope::Io::~Io ( )
virtual

◆ Io() [3/3]

arcs::aubo_scope::Io::Io ( )
protected

成员函数说明

◆ getAction()

int arcs::aubo_scope::Io::getAction ( ) const
返回
the action number of the I/O.

◆ getDefaultName()

std::string arcs::aubo_scope::Io::getDefaultName ( ) const
返回
the robot default name of the I/O.

◆ getDisplayName()

std::string arcs::aubo_scope::Io::getDisplayName ( ) const
返回
the user defined name of the IO in the currently selected installation.

◆ getInterfaceType()

InterfaceType arcs::aubo_scope::Io::getInterfaceType ( ) const
返回
the interface type this I/O belongs to.

◆ getType()

IoType arcs::aubo_scope::Io::getType ( ) const
返回
the I/O type.

◆ getValueStr()

std::string arcs::aubo_scope::Io::getValueStr ( ) const
返回
get current reading of the I/O as a string.

◆ hashCode()

size_t arcs::aubo_scope::Io::hashCode ( )

◆ isInput()

bool arcs::aubo_scope::Io::isInput ( ) const
返回
true if I/O supports reading of values and false otherwise.

◆ isResolvable()

bool arcs::aubo_scope::Io::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.

This method can be used to determine if the I/O is available.

For more details about the specific situations where certain types of I/Os can be unresolved, see the relevant interfaces extending this base interface, e.g. ModbusIO#isResolvable().

返回
true, if I/O can be resolved. false otherwise.

◆ DataSwitch

friend class DataSwitch
friend

在文件 io.h108 行定义.

引用了 DataSwitch.

被这些函数引用 DataSwitch.

类成员变量说明

◆ d_

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

在文件 io.h109 行定义.


该类的文档由以下文件生成:
  • include/aubo_caps/domain/io/io.h