Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Abstract class needs access to table
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01341481
Message ID:
01341697
Views:
14
Hi Joe,

> But occasionally after the class is instantiated and the properties are set, the device needs to be changed to a different one. This requires access to the device table.

This sounds a bit like the design is not yet completed.... The class we're talking about here is the device, at least it's abstraction. Why would the device suddenly decide that it needs to change itself? Could it be that you actually have several classes like CommunicationChannel (plus subclasses for serial, ethernet and ftp), Device and a Connection class. The Connection class could be the one your application talks to and which decides which device it talks to.
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform