cisst-saw
|
#include <osaPort1394.h>
Public Member Functions | |
osaPort1394 (int portNumber, std::ostream &messageStream=std::cerr) | |
~osaPort1394 () | |
void | Configure (const osaPort1394Configuration &config) |
Configure the port using the specified configuration file. This method is not. More... | |
void | AddRobot (osaRobot1394 *Robot) |
Add a robot to this port. This method is used by the mtsRobotIO1394 SAW component,. More... | |
void | AddDigitalInput (osaDigitalInput1394 *digitalInput) |
Add a digital input to this port. This method is used by the mtsRobotIO1394 SAW component,. More... | |
void | AddDigitalOutput (osaDigitalOutput1394 *digitalInput) |
osaRobot1394 * | Robot (const std::string &name) |
Robot Accessors. More... | |
const osaRobot1394 * | Robot (const std::string &name) const |
osaRobot1394 * | Robot (const int index) |
const osaRobot1394 * | Robot (const int index) const |
void | GetRobotNames (std::vector< std::string > &names) const |
void | GetDigitalInputNames (std::vector< std::string > &names) const |
void | GetDigitalOutputNames (std::vector< std::string > &names) const |
void | Read (void) |
Input/Ouput. More... | |
void | Write (void) |
int | NumberOfBoards (void) const |
int | NumberOfRobots (void) const |
int | NumberOfDigitalInputs (void) const |
int | NumberOfDigitalOutputs (void) const |
Protected Types | |
typedef std::map< int, AmpIO * > ::iterator | board_iterator |
typedef std::map< int, AmpIO * > ::const_iterator | board_const_iterator |
typedef std::vector < osaRobot1394 * >::iterator | robot_iterator |
typedef std::vector < osaRobot1394 * > ::const_iterator | robot_const_iterator |
typedef std::vector < osaDigitalInput1394 * > ::iterator | digital_input_iterator |
typedef std::vector < osaDigitalInput1394 * > ::const_iterator | digital_input_const_iterator |
typedef std::vector < osaDigitalOutput1394 * > ::iterator | digital_output_iterator |
typedef std::vector < osaDigitalOutput1394 * > ::const_iterator | digital_output_const_iterator |
Protected Attributes | |
FirewirePort * | mPort |
Board Objects. More... | |
std::map< int, AmpIO * > | mBoards |
std::vector< osaRobot1394 * > | mRobots |
Robot Objects. More... | |
std::map< std::string, osaRobot1394 * > | mRobotsByName |
std::vector < osaDigitalInput1394 * > | mDigitalInputs |
std::map< std::string, osaDigitalInput1394 * > | mDigitalInputsByName |
std::vector < osaDigitalOutput1394 * > | mDigitalOutputs |
std::map< std::string, osaDigitalOutput1394 * > | mDigitalOutputsByName |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
sawRobotIO1394::osaPort1394::osaPort1394 | ( | int | portNumber, |
std::ostream & | messageStream = std::cerr |
||
) |
IO1394 Port Abstraction Layer This class handles allocation, interfacing, and power-control for the QLA robot control architecture. It is also responsible for some low-level error handling.
sawRobotIO1394::osaPort1394::~osaPort1394 | ( | ) |
void sawRobotIO1394::osaPort1394::AddDigitalInput | ( | osaDigitalInput1394 * | digitalInput | ) |
Add a digital input to this port. This method is used by the mtsRobotIO1394 SAW component,.
void sawRobotIO1394::osaPort1394::AddDigitalOutput | ( | osaDigitalOutput1394 * | digitalInput | ) |
void sawRobotIO1394::osaPort1394::AddRobot | ( | osaRobot1394 * | Robot | ) |
Add a robot to this port. This method is used by the mtsRobotIO1394 SAW component,.
void sawRobotIO1394::osaPort1394::Configure | ( | const osaPort1394Configuration & | config | ) |
Configure the port using the specified configuration file. This method is not.
void sawRobotIO1394::osaPort1394::GetDigitalInputNames | ( | std::vector< std::string > & | names | ) | const |
void sawRobotIO1394::osaPort1394::GetDigitalOutputNames | ( | std::vector< std::string > & | names | ) | const |
void sawRobotIO1394::osaPort1394::GetRobotNames | ( | std::vector< std::string > & | names | ) | const |
int sawRobotIO1394::osaPort1394::NumberOfBoards | ( | void | ) | const |
int sawRobotIO1394::osaPort1394::NumberOfDigitalInputs | ( | void | ) | const |
int sawRobotIO1394::osaPort1394::NumberOfDigitalOutputs | ( | void | ) | const |
int sawRobotIO1394::osaPort1394::NumberOfRobots | ( | void | ) | const |
void sawRobotIO1394::osaPort1394::Read | ( | void | ) |
Input/Ouput.
osaRobot1394* sawRobotIO1394::osaPort1394::Robot | ( | const std::string & | name | ) |
Robot Accessors.
const osaRobot1394* sawRobotIO1394::osaPort1394::Robot | ( | const std::string & | name | ) | const |
osaRobot1394* sawRobotIO1394::osaPort1394::Robot | ( | const int | index | ) |
const osaRobot1394* sawRobotIO1394::osaPort1394::Robot | ( | const int | index | ) | const |
void sawRobotIO1394::osaPort1394::Write | ( | void | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Board Objects.
|
protected |
Robot Objects.
|
protected |