moved chan out to derived class
This commit is contained in:
@@ -20,10 +20,10 @@
|
||||
#include "cac.h"
|
||||
#include "db_access.h" // for dbf_type_to_text
|
||||
|
||||
netSubscription::netSubscription ( nciu &chan,
|
||||
netSubscription::netSubscription ( nciu & chanIn,
|
||||
unsigned typeIn, arrayElementCount countIn,
|
||||
unsigned maskIn, cacStateNotify ¬ifyIn ) :
|
||||
baseNMIU ( chan ), count ( countIn ),
|
||||
count ( countIn ), chan ( chanIn ),
|
||||
notify ( notifyIn ), type ( typeIn ), mask ( maskIn )
|
||||
{
|
||||
if ( ! dbr_type_is_valid ( typeIn ) ) {
|
||||
@@ -79,6 +79,11 @@ void netSubscription::completion ( unsigned typeIn,
|
||||
this->notify.current ( typeIn, countIn, pDataIn );
|
||||
}
|
||||
|
||||
nciu & netSubscription::channel () const
|
||||
{
|
||||
return this->chan;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user