RTXI  2.4
The Real-Time eXperiment Interface Documentation
Public Member Functions
RT::Device Class Reference

#include <rt.h>

Inheritance diagram for RT::Device:
Inheritance graph
Collaboration diagram for RT::Device:
Collaboration graph

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
 

Detailed Description

Base class for devices that are to interface with System.

See also
RT::System

Definition at line 517 of file rt.h.

Constructor & Destructor Documentation

◆ Device()

RT::Device::Device(void )

Definition at line 119 of file rt.cpp.

Here is the call graph for this function:

◆ ~Device()

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

Reimplemented in DAQ::Device.

Definition at line 125 of file rt.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ getActive()

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

Definition at line 544 of file rt.h.

◆ read()

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 541 of file rt.h.

◆ setActive()

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

Definition at line 130 of file rt.cpp.

Here is the call graph for this function:

◆ write()

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 542 of file rt.h.


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