Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #9256
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Default User" <defaultuserbr@yahoo.com> |
| Newsgroups | comp.lang.c++ |
| Subject | Re: Mapping operations to codes |
| Date | Tue, 23 Aug 2011 17:05:34 -0500 |
| Lines | 22 |
| Message-ID | <9bimhfFsesU1@mid.individual.net> (permalink) |
| References | <9bi243F224U1@mid.individual.net> <j30pb0$1pi$1@dont-email.me> <9bidfjFom5U1@mid.individual.net> <j3128j$2kc$1@dont-email.me> <9biiotF1hlU1@mid.individual.net> <j316se$3vm$1@dont-email.me> |
| X-Trace | individual.net N5DWvkRvxOKnvP+pnOVdKgTAI5UXEYn1wgjl6F89e+h78yJkpJ |
| Cancel-Lock | sha1:aVFQoBpzU6qvIXF+yE0CLIDraMc= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5931 |
| X-RFC2646 | Format=Flowed; Response |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.6090 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.c++:9256 |
Show key headers only | View raw
"Victor Bazarov" <v.bazarov@comcast.invalid> wrote in message news:j316se$3vm$1@dont-email.me... > On 8/23/2011 5:01 PM, Default User wrote: >> [..] >> At the driver level, I need to map operation codes to driver functions. >> The >> original code had large case statements. I've been breaking that into >> smaller "handlers" for the various op codes. > > I still don't see the need to keep a map at the driver level and per > instance, sorry. It can only be necessary if two drivers of the *same* > type could report different pointers-to-member for the same op code, in > certain conditions (say, depending on their states). Where would you want to map them? Brian
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Mapping operations to codes "Default User" <defaultuserbr@yahoo.com> - 2011-08-23 11:17 -0500
Re: Mapping operations to codes Paul <pchristor@yahoo.co.uk> - 2011-08-23 10:33 -0700
Re: Mapping operations to codes Victor Bazarov <v.bazarov@comcast.invalid> - 2011-08-23 13:51 -0400
Re: Mapping operations to codes "Default User" <defaultuserbr@yahoo.com> - 2011-08-23 14:30 -0500
Re: Mapping operations to codes Victor Bazarov <v.bazarov@comcast.invalid> - 2011-08-23 16:23 -0400
Re: Mapping operations to codes "Default User" <defaultuserbr@yahoo.com> - 2011-08-23 16:01 -0500
Re: Mapping operations to codes Victor Bazarov <v.bazarov@comcast.invalid> - 2011-08-23 17:42 -0400
Re: Mapping operations to codes "Default User" <defaultuserbr@yahoo.com> - 2011-08-23 17:05 -0500
Re: Mapping operations to codes Paul <pchristor@yahoo.co.uk> - 2011-08-24 03:23 -0700
csiph-web