Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Re: Transaction Callbacks and function calling conventions


Chronological Thread 
  • From: Abe Stephens < >
  • To:
  • Subject: [Manta] Re: Re: Transaction Callbacks and function calling conventions
  • Date: Mon, 15 Dec 2008 13:53:27 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=B4kV3i8mUEa0kQ4VJewDlhAJe26RCXmYBtNEG50G4B1hjoIjg9zdpSmwOhCAVTneOJ nCzVvEuEfch/PjSqrRzZSpmntTvr/y7oSOP/d2MWA47yK4ESD3OzVODER2IRC7CT1aTE e4ka0/YSpjJD6/GLdXnDsALr8L+7n3HLaRjsQ=


On Dec 15, 2008, at 1:45 PM, Abe Stephens wrote:


template<class T, class Op>
void addTransaction(const char* name, TValue<T>& value, Op op, int flag = TransactionBase::DEFAULT );

Instead of adding a "TransactionBase" this method adds a "Transaction" which doesn't contain a callback. (So the apply method has nothing to delete.)

My guess is that this particular method is a long-depreciated implementation which predated the ultra-templated Callback classes, using the "Op" parameter instead.

Does anyone know for sure?

Abe





Archive powered by MHonArc 2.6.16.

Top of page