User Defined Filters in RCF 2.0.XXXX

RCF support and general discussion.
Post Reply
miguelluis
Posts: 5
Joined: Tue Mar 11, 2014 1:47 pm

User Defined Filters in RCF 2.0.XXXX

Post by miguelluis »

We are upgrading from RCF 1.3 to RCF 2.0.XXXX. We were using a user defined filter, but it appears that the RcfServer::addService() call is now private and there is no public access to RcfServer::FilterServicePtr. I don't see anything in the documentation about user defined filters, so has this functionality been removed? Our main interest is for backward compatibility with existing code. Please let me know if the method for installing a user defined filter has changed or if it is no longer possible to use one.

Thanks.

jarl
Posts: 238
Joined: Mon Oct 03, 2011 4:53 am
Contact:

Re: User Defined Filters in RCF 2.0.XXXX

Post by jarl »

Hi Miguel,

User defined filters are deprecated (mainly because we were not aware of anyone using them) - however the intent is still to support them. You'll need to add this function to RcfServer:

Code: Select all

		
		FilterServicePtr getFilterServicePtr() {
			return mFilterServicePtr;
		}
, in order to get access to the predefined FilterService that is part of each RcfServer. Once you have access to the FilterService, you should be able to use it in the same way as with older RCF versions.
Kind Regards

Jarl Lindrud
Delta V Software
http://www.deltavsoft.com

Post Reply