71 string(
"Bad state: file attached"));
79 }
else if (type ==
"rp04") {
84 }
else if (type ==
"rp06") {
89 }
else if (type ==
"rm03") {
94 }
else if (type ==
"rm80") {
99 }
else if (type ==
"rm05") {
104 }
else if (type ==
"rp07") {
111 string(
"Bad args: only off or rp04,rp06,rm03,rm80,rm05,rp07 supported"));
130 os << bl << (text?text:
"--") <<
"Rw11UnitRHRP @ " <<
this << endl;
I/O appicator to generate fill characters.
virtual void UnitSetup(size_t ind)
FIXME_docs.
Implemenation (inline) of Rw11UnitDiskBase.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
Rw11CntlRHRP & Cntl() const
FIXME_docs.
size_t fBlksize
block size (in bytes)
bool fEnabled
unit enabled
std::string fType
drive type
uint16_t fRpds
drive status
Rw11UnitRHRP(Rw11CntlRHRP *pcntl, size_t index)
Constructor.
static const uint16_t kDTE_RM03
drive type of RM03 rm=1
~Rw11UnitRHRP()
Destructor.
static const uint16_t kDTE_RP06
drive type of RP06 rm=0
static const uint16_t kDTE_RM80
drive type of RM80 rm=1
static const uint16_t kDTE_RM05
drive type of RM05 rm=1
static const uint16_t kDTE_RP07
drive type of RP07 rm=1
static const uint16_t kDTE_RP04
drive type of RP04 rm=0
virtual void SetType(const std::string &type)
FIXME_docs.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
static const uint16_t kDTE_M_RM
rm type flag
uint16_t fRpdt
drive type (encoded)
bool HasVirt() const
FIXME_docs.
size_t Index() const
FIXME_docs.
RosPrintfS< bool > RosPrintf(bool value, const char *form=0, int width=0, int prec=0)
Creates a print object for the formatted output of a bool value.
Declaration of class ReventLoop.