On Tuesday, Nov 12, 2002, at 09:41 Australia/Melbourne, _brian_d_foy wrote:

In article <[EMAIL PROTECTED]>, Scott Penrose <[EMAIL PROTECTED]> wrote:

On Monday, Nov 11, 2002, at 21:38 Australia/Melbourne, _brian_d_foy
wrote:

how about Device::Power::Plasmatronic?
They would be more logically grouped as Regulator.
power regulators aren't the only sort of regulator though.  i think
you have to say something about power.
Very good point.

I am happy with Hardware::Regulator::Plasmatronic, or
Regulator::Plasmatronic, or even Device::Regulator::Plasmatronic.
We could even go for Power::Regulator::Plasmatronic.
Device is the right top-level namespace.

But to replace Regulator with the word Power is probably not totally
desirable.
what other sort of power devices are there?  i guess regulators
are different than batteries, but i can't think of other
examples.
In a solar powered house (like mine) there is
	- Regulator		= Controls the power in and out of the batteries
	- Inverter		= Turns low voltage DC to high voltage AC
	- Charger			= When the batteries are just too low
	- Current Meter 	= Many current meters

is the Plasmatronic a product name or a company name?  that is,
does Plasmatronic completely identify the device, so is it like
calling every modem a 3Com?  if it is very specific, you might
get around the Regulator part of the name.
Technically it is a company, but their products are called things like
Plasmatronic 40
Plasmatronic 20
Plasmatronic 60

My code handles all of them, there is slight differences in scaling factors of the raw data, but the protocol is the same.

Let me think, how to combine the words Device, Power, Regulator and Plasmatronic.
How about.
Device::Power::PlasmatronicRegulator;

I guess the only problem with the above is if we end up one day in the future having a common Regulator API (eg: Device::Regulator) which abstracts all of them.

Scott
--
Scott Penrose
VP in charge of Pancakes
http://linux.dd.com.au/
[EMAIL PROTECTED]

Dismaimer: If you receive this email in error - please eat it immediately to prevent it from falling into the wrong hands.

Reply via email to