TactileVestProject  V1.0
Tactile API documentation
 All Classes Functions
Public Member Functions | List of all members
Pager Class Reference

Inherits Tactor.

Public Member Functions

 Pager (string pagerID)
 
 Pager (const Pager &other)
 
Pageroperator= (const Pager &other)
 
virtual bool command (string command, HardwareInterface *hardwareInterface)
 
void setPagerID (string pagerID)
 

Constructor & Destructor Documentation

Pager::Pager ( string  pagerID)

A constructor that sets this pager's ID to pagerID

Parameters
pagerIDthe ID of this pager

Member Function Documentation

virtual bool Pager::command ( string  command,
HardwareInterface hardwareInterface 
)
virtual

Sends a command to the pager given by pagerID

Parameters
commanda string of format "int,char,int" for pager intensity, page pattern, and light number respectively. valid page patterns are given by the manual for the pagers we use
hardwareInterfacethe hardwareinterface we are sending the command through
Returns
true if the command is sent successfully, false otherwise

Implements Tactor.

void Pager::setPagerID ( string  pagerID)

Sets the pager id to a different ID

Parameters
pagerIDthe new ID of this pager

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