epics-base / pvaClientCPP

pvaClientCPP is an EPICS V4 C++ module
http://epics-pvdata.sourceforge.net/index.html
Other
2 stars 8 forks source link

fix issue 41 #42

Closed mrkraimer closed 7 years ago

mrkraimer commented 7 years ago

Fix problem that PvaClientChannel::setStateChangeRequester fails if issueConnect not called

mrkraimer commented 7 years ago

Unless I hear objections I will merge tomorrow Thursday May 25.

ralphlange commented 7 years ago

I find the comment misleading. What is issueConnect()??

Otherwise, this seems to adequately address the issue that channel is NULL (was never connected).

mrkraimer commented 7 years ago

When a PvaClientChannel is created it does not immediately connect. This means that it's internal channel variable is null. The channel variable only receives a non null value when issueConnect is called. I hope this explanation helps.

I will now merge