AuboCaps  0.6.0
arcs::aubo_scope::AnalogIo Class Reference

This interface provides support for analog I/Os. More...

#include <analog_io.h>

Inheritance diagram for arcs::aubo_scope::AnalogIo:
Collaboration diagram for arcs::aubo_scope::AnalogIo:

Public Member Functions

 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. More...
 
double getValue ()
 
- Public Member Functions inherited from 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
 
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. More...
 
size_t hashCode ()
 

Private Member Functions

 AnalogIo ()
 

Private Attributes

void * d_ { nullptr }
 

Friends

class DataSwitch
 

Additional Inherited Members

- Public Types inherited from arcs::aubo_scope::Io
enum  IoType : int {
  DIGITAL, ANALOG, INTEGER, BOOLEAN,
  DOUBLE
}
 
enum  InterfaceType : int {
  STANDARD, TOOL, CONFIGURABLE, LINKIO,
  MODBUS, GENERAL_PURPOSE
}
 
- Protected Member Functions inherited from arcs::aubo_scope::Io
 Io ()
 

Detailed Description

This interface provides support for analog I/Os.

Definition at line 14 of file analog_io.h.

Constructor & Destructor Documentation

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

Member Function Documentation

double arcs::aubo_scope::AnalogIo::getMaxRangeValue ( )
double arcs::aubo_scope::AnalogIo::getMinRangeValue ( )
double arcs::aubo_scope::AnalogIo::getValue ( )
Returns
Returns the last reading of the I/O.
bool arcs::aubo_scope::AnalogIo::isCurrent ( )
bool arcs::aubo_scope::AnalogIo::isVoltage ( )
bool arcs::aubo_scope::AnalogIo::setValue ( double  value)

Set analog I/O output signal.

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

Parameters
valueThe analog value to be set.
Returns
true if the analog signal was set, false if the signal was not set, e.g. because the controller was not running.

Friends And Related Function Documentation

friend class DataSwitch
friend

Definition at line 44 of file analog_io.h.

Member Data Documentation

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

Definition at line 46 of file analog_io.h.


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