EtherCAT Client Library Code 0.0.1
EtherCAT Client library that uses different communication protocols with EtherCAT Master server.
Loading...
Searching...
No Matches
EcReplFault Class Reference
Collaboration diagram for EcReplFault:
Collaboration graph

Public Member Functions

 EcReplFault ()
 Constructor of EcReplCmd Fault Class. This class is responsible to manage the fault coming from ZMQ communication.
 ~EcReplFault ()
 Destructor of EcReplCmd Fault Class.
void set_zmq_cmd (std::string zmq_cmd)
 method to set the ZMQ Command type.
void set_type (int type)
 method to set the type of ZMQ Command fault.
void set_info (std::string info)
 method to set the information related on ZMQ Command fault.
void set_recovery_info (std::string recovery_info)
 method to se the recovery for the ZMQ Command.
std::string get_zmq_cmd ()
 method to get the ZMQ Command type
int get_type ()
 method to get the type of ZMQ Command fault.
std::string get_info ()
 method to get the recovery for the ZMQ Command.
std::string get_recovery_info ()
 method to set the information related on ZMQ Command fault.

Private Attributes

int _type
std::string _info
std::string _recovery_info
std::string _zmq_cmd

Member Function Documentation

◆ get_info()

std::string EcReplFault::get_info ( )
inline

method to get the recovery for the ZMQ Command.

Returns
std::__cxx11::string

◆ get_recovery_info()

std::string EcReplFault::get_recovery_info ( )
inline

method to set the information related on ZMQ Command fault.

Returns
std::__cxx11::string

◆ get_type()

int EcReplFault::get_type ( )
inline

method to get the type of ZMQ Command fault.

Returns
int

◆ get_zmq_cmd()

std::string EcReplFault::get_zmq_cmd ( )
inline

method to get the ZMQ Command type

Returns
std::__cxx11::string

◆ set_info()

void EcReplFault::set_info ( std::string info)
inline

method to set the information related on ZMQ Command fault.

Parameters
infop_info:...

◆ set_recovery_info()

void EcReplFault::set_recovery_info ( std::string recovery_info)
inline

method to se the recovery for the ZMQ Command.

Parameters
recovery_infop_recovery_info:...

◆ set_type()

void EcReplFault::set_type ( int type)
inline

method to set the type of ZMQ Command fault.

Parameters
typep_type:...

◆ set_zmq_cmd()

void EcReplFault::set_zmq_cmd ( std::string zmq_cmd)
inline

method to set the ZMQ Command type.

Parameters
zmq_cmdp_zmq_cmd:...

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