Local derivation of tmcController to implement MagAO-X logging. More...
#include <kcubeCtrl.hpp>
Public Member Functions | |
virtual void | ftdiErrmsg (const std::string &src, const std::string &msg, int rv, const std::string &file, int line) |
Print a message to MagAO-X logs describing an error from an \libftdi1 function. More... | |
virtual void | otherErrmsg (const std::string &src, const std::string &msg, const std::string &file, int line) |
Print a message to MagAO-X logs describing an error. More... | |
Local derivation of tmcController to implement MagAO-X logging.
Definition at line 35 of file kcubeCtrl.hpp.
|
inlinevirtual |
Print a message to MagAO-X logs describing an error from an \libftdi1 function.
Intended to be overriden in a derived class to provide custom error messaging.
[in] | src | The source of the error (the tmcController function) |
[in] | msg | The message describing the error |
[in] | rv | The return value of the \libftdi1 function |
[in] | file | The file name of this file |
[in] | line | The line number at which the error was recorded |
Definition at line 42 of file kcubeCtrl.hpp.
|
inlinevirtual |
Print a message to MagAO-X logs describing an error.
Intended to be overriden in a derived class to provide custom error messaging.
[in] | src | The source of the error (the tmcController function) |
[in] | msg | The message describing the error |
[in] | file | The file name of this file |
[in] | line | The line number at which the error was recorded |
Definition at line 58 of file kcubeCtrl.hpp.