#include <epicsstring.h>
Definition at line 9 of file epicsstring.h.
EpicsString::EpicsString |
( |
QString |
pvName, |
|
|
QObject * |
parent = 0 , |
|
|
int |
debug = 0 |
|
) |
| |
Definition at line 5 of file epicsstring.cpp.
EpicsObject(QString pvName, QObject *parent=0, int debug=0)
EpicsString::~EpicsString |
( |
| ) |
|
|
virtual |
void EpicsString::caput |
( |
QString |
val | ) |
|
|
slot |
void EpicsString::changeConnection |
( |
QString |
pv | ) |
|
void EpicsString::changeValue |
( |
QString |
val | ) |
|
|
slot |
void EpicsString::event_handler |
( |
struct event_handler_args |
arg | ) |
|
|
staticprivate |
Definition at line 16 of file epicsstring.cpp.
References changeValue(), and EpicsObject::debug().
Referenced by get_event_handler().
18 union db_access_val *pb = (
union db_access_val *) arg.dbr;
24 res = QString::number(pb->shrtval);
27 res = QString::number(pb->longval);
30 res = QString::number(pb->fltval);
33 res = QString::number(pb->enmval);
36 res = QString::number(pb->charval);
39 res = QString::number(pb->doubleval);
42 res = QString(pb->strval);
44 printf(
"data type %ld not supported\n", arg.type);
49 if (s && s->
debug()) {
50 printf(
"%s Epics String Event Handler called %ld = %s\n", ca_name(arg.chid), arg.type, qPrintable(res));
void changeValue(QString val)
caEventCallBackFunc * EpicsString::get_event_handler |
( |
| ) |
|
|
privatevirtual |
QString EpicsString::value |
( |
| ) |
|
void EpicsString::valueChanged |
( |
QString |
| ) |
|
|
signal |
QString EpicsString::m_Value |
|
private |
The documentation for this class was generated from the following files: