#include <Device.h>
Inheritance diagram for Device:


| Public Member Functions | |
| Device (Device &_rdevDevice) | |
| Create a copy of object type Device. | |
| virtual | ~Device () | 
| Uninitializes and removes Device from memory. | |
| 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 | |
| Device () | |
| Create an object of type Device. | |
| virtual int | Initialize () | 
| Initializes the device for use. | |
| virtual int | Deinitialize () | 
| Deinitializes the device from further use. | |
| Protected Attributes | |
| char * | name | 
| Private Member Functions | |
| int | SetActive (bool _bActiveState) | 
| Sets the value of m_bActiveState to _bActiveState. | |
| Private Attributes | |
| bool | m_bActiveState | 
| the current state of the device as to whether or not it's been initialized. | |
| Vector | m_Location | 
| physical location of the device with respect to the whorl body coordinates | |
| 
 | 
| Create a copy of object type Device. 
 
 
 Definition at line 36 of file Device.cpp. References IsActive(), and SetActive(). | 
| 
 | 
| Uninitializes and removes Device from memory. 
 
 
 Definition at line 47 of file Device.cpp. References Deinitialize(). | 
| 
 | 
| Create an object of type Device. 
 
 
 Definition at line 24 of file Device.cpp. References c_bNotActive, and SetActive(). | 
| 
 | 
| Deinitializes the device from further use. 
 
 
 Reimplemented in ControlMomentGyro, LinearActuator, MomentumWheel, PhysicalControlMomentGyro, and PhysicalMomentumWheel. Definition at line 113 of file Device.cpp. References c_bNotActive, and SetActive(). Referenced by ~Device(), Relay::~Relay(), and Thruster::~Thruster(). | 
| 
 | 
| 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. | 
| 
 | 
| Initializes the device for use. 
 
 
 Reimplemented in ControlMomentGyro, PhysicalControlMomentGyro, PhysicalMomentumWheel, Thruster, Actuator, Relay, DMUAccelerometer, DMURateGyro, PhysicalTiltSensor, and TiltSensor. Definition at line 100 of file Device.cpp. References c_bActive, and SetActive(). Referenced by Actuator::Initialize(), and Magnetometer::Magnetometer(). | 
| 
 | 
| Returns the current state of m_bActiveState. 
 
 
 Definition at line 59 of file Device.cpp. Referenced by Device(). | 
| 
 | 
| Sets the value of m_bActiveState to _bActiveState. 
 
 
 Definition at line 87 of file Device.cpp. References m_bActiveState. Referenced by Deinitialize(), Device(), and Initialize(). | 
| 
 | 
| Specify the physical location of the device with respect to whorl body coordinates. 
 
 Definition at line 67 of file Device.cpp. References m_Location, and O_SESSAME::Vector. | 
| 
 | 
| a constant bool that is equal to true. Used for setting the active state Definition at line 50 of file Device.h. Referenced by 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 Deinitialize(), and Device(). | 
| 
 | 
| the current state of the device as to whether or not it's been initialized. 
 Definition at line 63 of file Device.h. Referenced by SetActive(). | 
| 
 | 
| physical location of the device with respect to the whorl body coordinates 
 Reimplemented in TiltSensor. Definition at line 65 of file Device.h. Referenced by SetLocation(). | 
| 
 | 
| 
 | 
 1.3.9.1
 1.3.9.1