Robotics Library  0.7.0
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
rl::hal::Device Class Referenceabstract

#include <Device.h>

Inheritance diagram for rl::hal::Device:
Inheritance graph
[legend]

Public Member Functions

 Device ()
 
virtual ~Device ()
 
virtual void close ()=0
 
bool isConnected () const
 
bool isRunning () const
 
virtual void open ()=0
 
virtual void start ()=0
 
virtual void stop ()=0
 

Protected Member Functions

void setConnected (const bool &connected)
 
void setRunning (const bool &running)
 

Private Attributes

bool connected
 
bool running
 

Constructor & Destructor Documentation

◆ Device()

rl::hal::Device::Device ( )

◆ ~Device()

rl::hal::Device::~Device ( )
virtual

Member Function Documentation

◆ close()

virtual void rl::hal::Device::close ( )
pure virtual

◆ isConnected()

bool rl::hal::Device::isConnected ( ) const

◆ isRunning()

bool rl::hal::Device::isRunning ( ) const

◆ open()

virtual void rl::hal::Device::open ( )
pure virtual

◆ setConnected()

void rl::hal::Device::setConnected ( const bool &  connected)
protected

◆ setRunning()

void rl::hal::Device::setRunning ( const bool &  running)
protected

◆ start()

virtual void rl::hal::Device::start ( )
pure virtual

◆ stop()

virtual void rl::hal::Device::stop ( )
pure virtual

Member Data Documentation

◆ connected

bool rl::hal::Device::connected
private

◆ running

bool rl::hal::Device::running
private

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