The Pedigree Project 0.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
DevicesCommand::DeviceInfo Class Reference
+ Inheritance diagram for DevicesCommand::DeviceInfo:
+ Collaboration diagram for DevicesCommand::DeviceInfo:

Public Member Functions

void setDevice (Device *dev)
 
Device * getDevice ()
 
const char * getLine1 (size_t index, DebuggerIO::Colour &colour, DebuggerIO::Colour &bgColour)
 
const char * getLine2 (size_t index, size_t &colOffset, DebuggerIO::Colour &colour, DebuggerIO::Colour &bgColour)
 
size_t getLineCount ()
 
- Public Member Functions inherited from Scrollable
void move (size_t x, size_t y)
 
void resize (size_t width, size_t height)
 
void scroll (ssize_t lines)
 
void scrollTo (size_t absolute)
 
void scrollHorizontal (ssize_t columns)
 
void horizontalScrollTo (size_t absolute)
 
void refresh (DebuggerIO *pScreen)
 
void setScrollKeys (char up, char down)
 
ssize_t getLine ()
 
void centreOn (size_t line)
 
size_t height () const
 
size_t width () const
 
virtual size_t getContentWidth ()
 

Private Member Functions

 DeviceInfo (const DeviceInfo &)
 
void operator= (const DeviceInfo &)
 

Private Attributes

Device * m_pDev
 

Additional Inherited Members

- Protected Attributes inherited from Scrollable
size_t m_x
 
size_t m_y
 
size_t m_width
 
size_t m_height
 
ssize_t m_line
 
size_t m_column
 
char m_ScrollUp
 
char m_ScrollDown
 

Detailed Description

Definition at line 89 of file DevicesCommand.h.

Constructor & Destructor Documentation

◆ DeviceInfo()

DevicesCommand::DeviceInfo::DeviceInfo ( )

Definition at line 216 of file DevicesCommand.cc.

◆ ~DeviceInfo()

DevicesCommand::DeviceInfo::~DeviceInfo ( )
inline

Definition at line 92 of file DevicesCommand.h.

Member Function Documentation

◆ getDevice()

Device * DevicesCommand::DeviceInfo::getDevice ( )
inline

Definition at line 94 of file DevicesCommand.h.

◆ getLine1()

const char * DevicesCommand::DeviceInfo::getLine1 ( size_t  index,
DebuggerIO::Colour &  colour,
DebuggerIO::Colour &  bgColour 
)
virtual

Implements Scrollable.

Definition at line 222 of file DevicesCommand.cc.

◆ getLine2()

const char * DevicesCommand::DeviceInfo::getLine2 ( size_t  index,
size_t &  colOffset,
DebuggerIO::Colour &  colour,
DebuggerIO::Colour &  bgColour 
)
virtual

Implements Scrollable.

Definition at line 241 of file DevicesCommand.cc.

◆ getLineCount()

size_t DevicesCommand::DeviceInfo::getLineCount ( )
virtual

Implements Scrollable.

Definition at line 283 of file DevicesCommand.cc.

◆ setDevice()

void DevicesCommand::DeviceInfo::setDevice ( Device *  dev)

Definition at line 218 of file DevicesCommand.cc.

Member Data Documentation

◆ m_pDev

Device* DevicesCommand::DeviceInfo::m_pDev
private

Definition at line 103 of file DevicesCommand.h.


The documentation for this class was generated from the following files: