PDF
AuboStudio SDK  0.6.3
arcs::aubo_scope::IoModel Class Reference

IoModel Provides methods that returns I/Os from the current robot installation. More...

#include <io_model.h>

Public Member Functions

 IoModel (IoModel &f)
 IoModel (IoModel &&f)
 ~IoModel ()
std::vector< IoPtr > getAll ()
 Returns the collection of available I/Os, including Modbus, EuroMap67 and named General Purpose Registers.
IoPtr getIo (const std::string &name)
 Io Get an I/O by name.
std::vector< IoPtr > getIos (std::function< bool(IoPtr)> filter)
 Get a subset of I/Os using a filter.

Private Member Functions

 IoModel ()

Private Attributes

void * d_ { nullptr }

Friends

class DataSwitch

Detailed Description

IoModel Provides methods that returns I/Os from the current robot installation.

Definition at line 24 of file io_model.h.

Constructor & Destructor Documentation

◆ IoModel() [1/3]

arcs::aubo_scope::IoModel::IoModel ( IoModel & f)

References IoModel().

Referenced by IoModel(), and IoModel().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IoModel() [2/3]

arcs::aubo_scope::IoModel::IoModel ( IoModel && f)

References IoModel().

Here is the call graph for this function:

◆ ~IoModel()

arcs::aubo_scope::IoModel::~IoModel ( )

◆ IoModel() [3/3]

arcs::aubo_scope::IoModel::IoModel ( )
private

Member Function Documentation

◆ getAll()

std::vector< IoPtr > arcs::aubo_scope::IoModel::getAll ( )

Returns the collection of available I/Os, including Modbus, EuroMap67 and named General Purpose Registers.

Returns
the collection of available I/Os.

◆ getIo()

IoPtr arcs::aubo_scope::IoModel::getIo ( const std::string & name)

Io Get an I/O by name.

Parameters
namethe name of the I/O.
Returns
the I/O with the given name.

◆ getIos()

std::vector< IoPtr > arcs::aubo_scope::IoModel::getIos ( std::function< bool(IoPtr)> filter)

Get a subset of I/Os using a filter.

Parameters
filtersee IOFilterFactory.
Returns
the collection of IOs that are accepted by the filter.

◆ DataSwitch

friend class DataSwitch
friend

Definition at line 77 of file io_model.h.

References DataSwitch.

Referenced by DataSwitch.

Member Data Documentation

◆ d_

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

Definition at line 79 of file io_model.h.


The documentation for this class was generated from the following file: