|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.reprap.Device
public class Device
Class implements an abstract device containing the basic properties and methods. An "implemented" device refers to for example a UCB/Stepper motor combination, extruder or other.
Field Summary | |
---|---|
private Address |
address
Adress of the device. |
private Communicator |
communicator
Communicator |
Printer |
printer
To whom (grammar) do I belong? if null, device is a brain in a bottle (i.e. |
Constructor Summary | |
---|---|
Device(Address address)
|
|
Device(Communicator communicator,
Address address)
Basic constructor for a device. |
Method Summary | |
---|---|
Address |
getAddress()
|
Communicator |
getCommunicator()
|
Printer |
getPrinter()
|
void |
setPrinter(Printer p)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Address address
private Communicator communicator
public Printer printer
Constructor Detail |
---|
public Device(Communicator communicator, Address address)
communicator
- communicator used by the deviceaddress
- address of the devicepublic Device(Address address)
Method Detail |
---|
public Address getAddress()
public Communicator getCommunicator()
public void setPrinter(Printer p)
public Printer getPrinter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |