Robert Hutchings <
rm.hut...@gmail.com> wrote in
news:f72ec871-705c-4eb6...@googlegroups.com:
> My manager gave me this code today, and I am not sure understand the
> Patterns code. I know ABOUT design patterns (GoF, etc), but has
> anyone seen code like this before?
Not sure what exactly you do not understand. You only showed Instrument
code, not Patterns code (which is presumably a namespace or another class
somewhere else). Also, it looks like you have truncated the example and
kept only least interesting parts.
The code is using superfluent 'inline' keywords and does not use
'virtual' or 'override' keywords although it allegedly should override
some virtual functions ("It implements the Observable interface"). I
suggest first to delete the 'inline' keywords and add 'override' keywords
where appropriate, then it ought to become a bit clearer.
hth
Paavo
>
> ***********************************************************************