#include <instrument.h>
Inheritance diagram for Relay:


Public Member Functions | |
| Relay () | |
| Relay (cfgBody &cfgdat) | |
| ~Relay () | |
| int | Stop () |
| void | PowerOn (BYTE signal, int bank) |
| void | PowerOff () |
| int | Initialize () |
| Initializes the device for use. | |
| void | SetDeviceName (const char DeviceName) |
| char | GetDeviceName () const |
| virtual int | GetWheelCount () |
| bool | IsActive () |
| Returns the current state of m_bActiveState. | |
| Vector | GetLocation () const |
| Returns the physical location of the device with respect to whorl body coordinates. | |
| void | SetLocation (const Vector &newDeviceLocation) |
| Specify the physical location of the device with respect to whorl body coordinates. | |
Static Public Attributes | |
| const bool | c_bNotActive = false |
| a constant bool that is equal to false. | |
| const bool | c_bActive = true |
| a constant bool that is equal to true. | |
Protected Member Functions | |
| virtual int | Deinitialize () |
| Deinitializes the device from further use. | |
Protected Attributes | |
| char * | name |
Private Attributes | |
| PhysicalRelay | m_PhysicalRelay |
| DAQCard * | m_DAQCard |
| int | m_Device |
|
|
Default Constructor Definition at line 18 of file instrument.cpp. |
|
|
Constructor which accepts config parsing info| Not used yet Definition at line 22 of file instrument.cpp. References getCmdIndex(), Initialize(), cfgBody::keys, m_Device, and cfgBody::vals. |
|
|
Deconstructor Definition at line 37 of file instrument.cpp. References Device::Deinitialize(), and Stop(). |
|
|
Deinitializes the device from further use.
Reimplemented in ControlMomentGyro, LinearActuator, MomentumWheel, PhysicalControlMomentGyro, and PhysicalMomentumWheel. Definition at line 113 of file Device.cpp. References Device::c_bNotActive, and Device::SetActive(). Referenced by Device::~Device(), ~Relay(), and Thruster::~Thruster(). |
|
|
Get the device name |
|
|
Returns the physical location of the device with respect to whorl body coordinates.
Definition at line 75 of file Device.cpp. References O_SESSAME::Vector. |
|
|
Reimplemented in MomentumWheel. Definition at line 27 of file Actuator.h. |
|
|
Initializes the device for use.
Reimplemented from Actuator. Definition at line 43 of file instrument.cpp. References PhysicalRelay::Initialize(), and m_PhysicalRelay. Referenced by Relay(). |
|
|
Returns the current state of m_bActiveState.
Definition at line 59 of file Device.cpp. Referenced by Device::Device(). |
|
|
Shutdown device| No argument Required Definition at line 54 of file instrument.cpp. References m_PhysicalRelay, and PhysicalRelay::PowerOff(). Referenced by main(). |
|
||||||||||||
|
Start the device| Naming convention Device #=byte, 1=1, 2=2, 3=4, 4=8, 5=16, 6=32 Definition at line 49 of file instrument.cpp. References m_PhysicalRelay, and PhysicalRelay::PowerOn(). Referenced by main(). |
|
|
|
|
|
Specify the physical location of the device with respect to whorl body coordinates.
Definition at line 67 of file Device.cpp. References Device::m_Location, and O_SESSAME::Vector. |
|
|
Implements Actuator. Definition at line 59 of file instrument.cpp. Referenced by ~Relay(). |
|
|
a constant bool that is equal to true. Used for setting the active state Definition at line 50 of file Device.h. Referenced by Device::Initialize(). |
|
|
a constant bool that is equal to false. Used for setting the active state. Definition at line 48 of file Device.h. Referenced by Device::Deinitialize(), and Device::Device(). |
|
|
Pointer to an instance of the DAQ card Definition at line 63 of file instrument.h. |
|
|
The index number used to reference the thruster Definition at line 66 of file instrument.h. Referenced by Relay(). |
|
|
The physical object Definition at line 60 of file instrument.h. Referenced by Initialize(), PowerOff(), and PowerOn(). |
|
|
|
1.3.9.1