gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ e()

void e ( GReturn  rc)
inline

A trivial, C++ style return code check used in Galil's examples and demos.

Throws GReturn if return value is not G_NO_ERROR. See Commands_Example.cpp for example usage and catch() handler.

Definition at line 33 of file examples.h.

References G_NO_ERROR.

Referenced by GclibJava::GArrayUpload(), ip_assigner(), and remote_server().