Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

SIGEL_Robot::SIG_CommandParameters Class Reference

This class contains some information about the behaviour of commands of the robot control language. More...

#include <SIG_CommandParameters.h>

List of all members.

Public Methods

 SIG_CommandParameters (void)
 Standard constructor. More...

 SIG_CommandParameters (QTextStream & tx)
 A constructor that reads the objects values from a stream. More...

 ~SIG_CommandParameters (void)
 Destructor. More...

void setDuration (double duration)
 Sets the run time duration of the command. More...

double getDuration (void) const
 Returns the run time duration of the command. More...

void writeToFileTransfer (QTextStream & tx) const
 Streaming function. More...


Private Attributes

double duration
 This is the amount of time, the commands needs to be executed properly. More...


Detailed Description

This class contains some information about the behaviour of commands of the robot control language.

Definition at line 16 of file SIG_CommandParameters.h.


Constructor & Destructor Documentation

SIGEL_Robot::SIG_CommandParameters::SIG_CommandParameters ( void )
 

Standard constructor.

Default values are a duration of 1 microsecond.

Definition at line 5 of file SIG_CommandParameters.cpp.

SIGEL_Robot::SIG_CommandParameters::SIG_CommandParameters ( QTextStream & tx )
 

A constructor that reads the objects values from a stream.

It is used when loading a compiled robot from file or when propagating a robot through the network.

Definition at line 9 of file SIG_CommandParameters.cpp.

SIGEL_Robot::SIG_CommandParameters::~SIG_CommandParameters ( void )
 

Destructor.

Definition at line 21 of file SIG_CommandParameters.cpp.


Member Function Documentation

double SIGEL_Robot::SIG_CommandParameters::getDuration ( void ) const
 

Returns the run time duration of the command.

Definition at line 29 of file SIG_CommandParameters.cpp.

void SIGEL_Robot::SIG_CommandParameters::setDuration ( double dur )
 

Sets the run time duration of the command.

Definition at line 24 of file SIG_CommandParameters.cpp.

void SIGEL_Robot::SIG_CommandParameters::writeToFileTransfer ( QTextStream & tx ) const
 

Streaming function.

This will be used when saving to file or propagating through a network.

Definition at line 34 of file SIG_CommandParameters.cpp.


Member Data Documentation

double SIGEL_Robot::SIG_CommandParameters::duration [private]
 

This is the amount of time, the commands needs to be executed properly.

This is given in seconds. Of course this does not apply to adjustable delay commands.

Definition at line 25 of file SIG_CommandParameters.h.


The documentation for this class was generated from the following files:
Generated at Mon Sep 3 01:32:35 2001 for PG 368 - SIGEL by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000