Public Member Functions | Protected Attributes

JAUS::Keyboard Class Reference

Interface for using a keyboard to control a Primitive Driver service. More...

#include <keyboard.h>

Inheritance diagram for JAUS::Keyboard:
JAUS::ControlDevice JAUS::Management::Child JAUS::AccessControl::Child JAUS::Events::Child JAUS::Service

List of all members.

Public Member Functions

 Keyboard ()
 Constructor, initializes default value.
virtual ~Keyboard ()
 Destructor.
virtual void Shutdown ()
 Shutsdown the service.
virtual bool LoadSettings (const std::string &filename)
 Loads settings for the service from an XML file.
virtual void CheckServiceStatus (const unsigned int timeSinceLastCheckMs)
 Called periodicly by the Component the service belongs to. This method attempts to lookup a primitive driver on the subsystem we are trying to control.

Protected Attributes

CxUtils::Keyboard mKeyboard
 Interface to the keyboard.

Detailed Description

Interface for using a keyboard to control a Primitive Driver service.

Definition at line 56 of file keyboard.h.


Constructor & Destructor Documentation

Keyboard::Keyboard (  )

Constructor, initializes default value.

Definition at line 52 of file keyboard.cpp.

Keyboard::~Keyboard (  ) [virtual]

Destructor.

Definition at line 63 of file keyboard.cpp.


Member Function Documentation

void Keyboard::CheckServiceStatus ( const unsigned int  timeSinceLastCheckMs ) [virtual]

Called periodicly by the Component the service belongs to. This method attempts to lookup a primitive driver on the subsystem we are trying to control.

Reimplemented from JAUS::ControlDevice.

Definition at line 91 of file keyboard.cpp.

bool Keyboard::LoadSettings ( const std::string &  filename ) [virtual]

Loads settings for the service from an XML file.

Parameters:
[in]filenameName of the XML file containing data.
Returns:
True on success, false on failure.

Reimplemented from JAUS::ControlDevice.

Definition at line 78 of file keyboard.cpp.

virtual void JAUS::Keyboard::Shutdown (  ) [inline, virtual]

Shutsdown the service.

Reimplemented from JAUS::ControlDevice.

Definition at line 64 of file keyboard.h.


Member Data Documentation

CxUtils::Keyboard JAUS::Keyboard::mKeyboard [protected]

Interface to the keyboard.

Definition at line 70 of file keyboard.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines