Home()
Menu() {
public :
. What?
. How
. Pictures
. Download
. Doc
}
Hardware() {
public :
. What
. 8051
. Lightning
}
Software() {
public :
. What
. Design
. Server
. Frontend
}
|
::: Software::Current_ClassDiag_Design-0.1 :::
OwLib.OwAdapter
OwLib.OwDevice
OwLib.OwDevice.ds2890
OwLib.OwDevice.dsxxxx
OwLib.OwDevice.dsyyyy
OwLib.OwPort
OwLib.OwAddress
OwLib.OwNet
OwLib.OwNet.Node
OwLib.OwNet.Item
OwLib.OwNet.Branch
OwAdapter
PUBLIC
owAdapter();
~owAdapter();
string getName();
bool detected();
selectPort();
// capabilities
int canOverdrive() ;
int canHyperdrive();
int canFlex();
int canProgram();
int canDeliverPower();
int canDeliverSmartPower();
int canBreak();
// I/O
int isPresent(/* device */) ;
int isAlarming(/* device */) ;
int select(/* device */) ;
// I/O Fun
int reset() ;
void putBit(bool oneBit) ;
bool getBit();
void putByte(char oneByte);
char getByte() ;
char * getBlock(int len);
putBlock(char * dataBlock, int offset, int len);
// powerstuff
int setPowerDuration(int timeFactor);
int startPowerDelivery(int changeCondition);
int setPowerNormal();
// program stuff
int setProgramPulseDuration(int timeFactor);
int startProgramPulse(int changeCondition);
// breakstuff
int startBreak();
// speedstuff
int setSpeed(int speed);
int getSpeed();
PRIVATE:
string name;
string version;
OwAddress address;
OwPort port;
int detected;
// Capability of adapter
bool drive ;
bool canProgram ;
bool power ;
bool canbreak ;
// selected state
int speed;
int programpulseDuration;
int powerDuration;
int powerModus;
OwDevice
PUBLIC:
OwDevice();
OwDevice(uchar * id);
OwDevice(uchar * id, int s, int properties);
~OwDevice();
getID(char * id);
getFamily(char * fam);
int getCurrentSpeed();
int getMaxSpeed();
int setSpeed(int s);
int canFallback();
int canOverdrive();
int isAlarming();
int isPresent() ;
PRIVATE:
OwAddress id;
uchar family;
uchar currentSpeed;
uchar maxSpeed;
bool canFallback;
bool canOverdrive;
bool isAlarming;
bool isPresent;
ds2890 inherits OwDevice()
PUBLIC:
ds2890();
~ds2890();
int setWiper();
uchar getWiper();
uchar getFeatureReg();
uchar getFeatureReg(uchar wiper);
uchar getCtrlReg();
uchar getCtrlReg(uchar wiper);
uchar getWiperValue();
uchar getWiperValue(uchar wiper);
int setWiperValue();
int setWiperValue(uchar wiper);
int incrementWiper();
int incrementWiper(uchar wiper);
int decrementWiper();
int decrementWiper(uchar wiper);
PRIVATE:
uchar wiper;
uchar wiperValue;
uchar feature;
uchar control;
OwPort
PUBLIC:
owPort();
~owPort();
string getDesc();
string getName();
PRIVATE:
string name;
string description;
OwAddress
PUBLIC:
owAddress(byte[] id);
owAddress(long id);
owAddress(string id);
~ owAddress();
bool isValid(byte[] id);
bool isValid(long id);
bool isValid(string id);
byte[] toByteArray(long id);
byte[] toByteArray(string id);
long toLong(byte[] id);
long toLong(string id);
string toString(byte[] id);
string toString(long id);
PRIVATE:
uchar adressID[8];
|
hosted by
Linx() {
public :
. OneWire
. C++
. 8051
. Misc
}
Testing() {
public :
. OneWire
}
|