![]() |
Deskflow 1.27.0.7
Keyboard and mouse sharing utility
|
#include <ComputerList.h>


Public Member Functions | |
| ComputerList (int width=5) | |
| void | addComputerByPriority (const Computer &newComputer) |
| addComputerByPriority adds a new computer according to the following priority: 1.left side of the server 2.right side of the server 3.top 4.down 5.top left-hand diagonally 6.top right-hand diagonally 7.bottom right-hand diagonally 8.bottom left-hand diagonally 9.In case all places from the list have already booked, place in any spare place | |
| void | addComputerToFirstEmpty (const Computer &newComputer) |
| addComputerToFirstEmpty adds computer into the first empty place | |
| bool | operator== (const ComputerList &sc) const |
| Returns true if computers are equal. | |
|
explicit |
| void ComputerList::addComputerByPriority | ( | const Computer & | newComputer | ) |
addComputerByPriority adds a new computer according to the following priority: 1.left side of the server 2.right side of the server 3.top 4.down 5.top left-hand diagonally 6.top right-hand diagonally 7.bottom right-hand diagonally 8.bottom left-hand diagonally 9.In case all places from the list have already booked, place in any spare place
| newComputer |
| void ComputerList::addComputerToFirstEmpty | ( | const Computer & | newComputer | ) |
addComputerToFirstEmpty adds computer into the first empty place
| newComputer |
| bool ComputerList::operator== | ( | const ComputerList & | sc | ) | const |
Returns true if computers are equal.
| sc |