libthinkpad  2.6
https://github.com/libthinkpad
Public Member Functions | List of all members
ThinkPad::Hardware::Dock Class Reference

The Dock class is used to probe for the dock validity and probe for basic information about the dock. More...

#include <libthinkpad.h>

Public Member Functions

bool isDocked ()
 Check if the ThinkPad is physically docked into the UltraDock or the UltraBase. More...
 
bool probe ()
 Probes the dock if it is an IBM dock and if the dock is sane and ready for detection/state changes. More...
 

Detailed Description

The Dock class is used to probe for the dock validity and probe for basic information about the dock.

Member Function Documentation

bool ThinkPad::Hardware::Dock::isDocked ( )

Check if the ThinkPad is physically docked into the UltraDock or the UltraBase.

Returns
true if the ThinkPad is inside the dock
bool ThinkPad::Hardware::Dock::probe ( )

Probes the dock if it is an IBM dock and if the dock is sane and ready for detection/state changes.

Returns
true if the dock is sane and valid

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