RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RT::Device Class Reference

#include <rt.h>

Inheritance diagram for RT::Device:
RT::List< T >::NodeDAQ::DevicePerformanceMeasurement::PanelAnalogyDevice

Public Member Functions

 Device (void)
 
virtual ~Device (void)
 
virtual void read (void)
 
virtual void write (void)
 
bool getActive (void) const
 
void setActive (bool)
 
- Public Member Functions inherited from RT::List< T >::Node
 Node (void)
 
virtual ~Node (void)
 
bool operator== (const Node &x) const
 

Private Attributes

bool active
 

Detailed Description

Base class for devices that are to interface with System.

See also
RT::System

Definition at line 498 of file rt.h.

Constructor & Destructor Documentation

RT::Device::Device(void )

Definition at line 119 of file rt.cpp.

RT::Device::~Device(void )
virtual

Reimplemented in DAQ::Device.

Definition at line 125 of file rt.cpp.

Member Function Documentation

bool RT::Device::getActive(void )const
inline

Definition at line 525 of file rt.h.

void RT::Device::read(void )
inlinevirtual

Function called by the realtime task at the beginning of each period.

See also
RT::System

Reimplemented in AnalogyDevice, and PerformanceMeasurement::Panel.

Definition at line 522 of file rt.h.

void RT::Device::setActive(bool state)

Definition at line 130 of file rt.cpp.

void RT::Device::write(void )
inlinevirtual

Function called by the realtime task at the end of each period.

See also
RT::System

Reimplemented in PerformanceMeasurement::Panel, and AnalogyDevice.

Definition at line 523 of file rt.h.

Member Data Documentation

bool RT::Device::active
private

Definition at line 533 of file rt.h.


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