moved chan out to derived class

This commit is contained in:
Jeff Hill
2002-05-09 00:26:13 +00:00
parent e696fa03eb
commit 78e871e05c
4 changed files with 62 additions and 58 deletions

View File

@@ -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 &notifyIn ) :
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;
}