javaclient2.structures
Class PlayerDevAddr
java.lang.Object
javaclient2.structures.PlayerDevAddr
public class PlayerDevAddr
- extends java.lang.Object
Devices are identified by 12-byte addresses of this form. Some of the
fields are transport-dependent in their intepretation.
(see the player_devaddr structure from player.h)
- Version:
- v2.0 - Player 2.0 supported
- Author:
- Radu Bogdan Rusu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLAYERXDR_DEVADDR_SIZE
public static final int PLAYERXDR_DEVADDR_SIZE
- See Also:
- Constant Field Values
PLAYER_DEVADDR_SIZE
public static final int PLAYER_DEVADDR_SIZE
- See Also:
- Constant Field Values
PlayerDevAddr
public PlayerDevAddr()
getHost
public int getHost()
- Returns:
- The "host" on which the device resides
setHost
public void setHost(int newhost)
- Parameters:
newhost
- The "host" on which the device resides
getRobot
public int getRobot()
- Returns:
- The "robot" or device collection in which the device resides
setRobot
public void setRobot(int newrobot)
- Parameters:
newrobot
- The "robot" or device collection in which the device resides
getInterf
public short getInterf()
- Returns:
- The interface provided by the device; must be one of PLAYER_*_CODE
setInterf
public void setInterf(int newinterf)
- Parameters:
newinterf
- The interface provided by the device; must be one of PLAYER_*_CODE
getIndex
public short getIndex()
- Returns:
- Which device of that interface
setIndex
public void setIndex(int newindex)
- Parameters:
newindex
- Which device of that interface