1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | [AsynDriver] getAddress and callbacks |
From: | Joao Afonso via Tech-talk <[email protected]> |
To: | Mark Rivers <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Fri, 14 Jun 2019 16:51:10 +0000 |
Hello Mark,
Sorry to bother you, I have a question regarding the usage of this function:
I have a use case where it is useful to override asynPortDriver::getAddress() to get a custom reason and address.
These values are chosen previously by drvUserCreate(), and stored in
pasynUser->drvUser and pasynUser->reason.
This seems to work well for gets and puts, but not when a callback for for a "I/O Intr" record is executed.
In those cases, the IOC will get the address from "pasynManager->getAddr()", and not from
getAddress(), which breaks the program.
(for ex. in paramList::octetCallback())
Is there a way to make the callbacks also use the custom asynPortDriver::getAddress()
value?
Thank you in advance,
Joao
|