On Oct 1, 2010, at 02:19, Remco Poelstra wrote:
> I'm representing network enabled amplifiers, some of which have multiple
> inputs, some not. Other have surveillance features build in, which others
> might not have.
> I'm not trying to simulate them, just representing them so I can communicate
On Fri, Oct 1, 2010 at 4:19 AM, Remco Poelstra wrote:
> I think I do not fully understand the difference you are trying to make
> between device and class behaviour.
I think what he means is: use a single class for representing all of your
amplifier types instead of one unique subclass per amp
Op 30-9-2010 21:58, Quincey Morris schreef:
It's not at all obvious that having your class(es) "represent" your
hardware is the right way to approach this.
What are you actually trying to achieve? If the various kinds of
hardware are differentiated by their "properties", then a single
class enca
On Thu, Sep 30, 2010 at 2:45 PM, jonat...@mugginsoft.com
wrote:
> Trying to dynamically match a stepwise revealed information structure to a
> particular class in a hierarchy sounds fragile.
> If an individual hardware item property doesn't match the class hierarchies
> expectations then you hav
On 30 Sep 2010, at 20:35, Allen Ingling wrote:
> On Thu, Sep 30, 2010 at 2:28 PM, Remco Poelstra wrote:
>
>> Hi,
>>
>>
> Maybe a class cluster would be useful here?
>
Clustering might be a solution but it's a bit of a heavyweight pattern.
Trying to dynamically match a stepwise revealed info
On Sep 30, 2010, at 12:28, Remco Poelstra wrote:
> I've a class that represents a general piece of hardware. Subclasses of that
> class represent more specific versions of that hardware. When I scan the
> network for hardware, I first only know some basic properties of the hardware
> and only a
On Sep 30, 2010, at 1:28 PM, Remco Poelstra wrote:
> Hi,
>
> I've a class that represents a general piece of hardware. Subclasses of that
> class represent more specific versions of that hardware. When I scan the
> network for hardware, I first only know some basic properties of the hardware
>
On Thu, Sep 30, 2010 at 2:28 PM, Remco Poelstra wrote:
> Hi,
>
> I've a class that represents a general piece of hardware. Subclasses of
> that class represent more specific versions of that hardware. When I scan
> the network for hardware, I first only know some basic properties of the
> hardwar
Hi,
I've a class that represents a general piece of hardware. Subclasses of that
class represent more specific versions of that hardware. When I scan the
network for hardware, I first only know some basic properties of the hardware
and only after some more queries I'll know all details. I thoug