Package jmri.jmrix.dccpp
Class DCCppRegister
- java.lang.Object
-
- jmri.jmrix.dccpp.DCCppRegister
-
class DCCppRegister extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DCCppRegister()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
allocate()
void
decUserCount()
int
getAddress()
int
getUserCount()
void
incUserCount()
boolean
isAllocated()
boolean
isFree()
void
release()
void
setAddress(int a)
void
setUserCount(int i)
-
-
-
Constructor Detail
-
DCCppRegister
public DCCppRegister()
-
-
Method Detail
-
getUserCount
public int getUserCount()
-
setUserCount
public void setUserCount(int i)
-
incUserCount
public void incUserCount()
-
decUserCount
public void decUserCount()
-
getAddress
public int getAddress()
-
setAddress
public void setAddress(int a)
-
isAllocated
public boolean isAllocated()
-
isFree
public boolean isFree()
-
allocate
public void allocate()
-
release
public void release()
-
-