|
generator
1.2
|
Collection of locations in which a robot operation can be performed. More...
#include <RoboticLine.h>
Inheritance diagram for StaticActivity:
Collaboration diagram for StaticActivity:Public Member Functions | |
| StaticActivity (const uint32_t &aid, uint32_t &fromPoint, const ActivityType &type, const std::vector< RobotPowerMode * > &robotModes, const ProjectParameters &par) | |
| It generates the static activity, i.e. robot operation, according to the configuration. More... | |
| std::vector< Location * > | locations () const |
| virtual size_t | numberOfModes () const override |
| virtual | ~StaticActivity () override |
| It frees the memory occupied by dynamically allocated locations. | |
Public Member Functions inherited from Activity | |
| Activity (const uint32_t &aid, const ActivityType &type) | |
| The base constructor called from the derived classes for initialization of attributes. More... | |
| uint32_t | aid () const |
| ActivityType | type () const |
| void | successors (const std::vector< Activity * > &successors) |
| void | addSuccessor (Activity *successor) |
| std::vector< Activity * > | successors () const |
| void | predecessors (const std::vector< Activity * > &predecessors) |
| void | addPredecessor (Activity *predecessor) |
| std::vector< Activity * > | predecessors () const |
| void | minAbsDuration (const double &minAbsDuration) |
| double | minAbsDuration () const |
| void | maxAbsDuration (const double &maxAbsDuration) |
| double | maxAbsDuration () const |
Private Attributes | |
| std::vector< Location * > | mLocations |
| The collection of possible robot configurations, i.e. locations, for this operation. | |
Additional Inherited Members | |
Protected Attributes inherited from Activity | |
| uint32_t | mAid |
| Identification of the activity. | |
| ActivityType | mType |
| The type of the activity, see ActivityType enum. | |
| std::vector< Activity * > | mSuccessors |
| The successors of the activity. | |
| std::vector< Activity * > | mPredecessors |
| The predecessors of the activity. | |
| double | mMinAbsDuration |
| The minimal absolute duration of the activity to remain feasible. | |
| double | mMaxAbsDuration |
| The maximal absolute duration of the activity to remain feasible. | |
Collection of locations in which a robot operation can be performed.
The static activity represents a collection of locations, i.e. robot configurations, in which some operation such as e.g. welding, cutting, and assembling can be performed. In the final solution, only one location is selected for each robot operation.
Definition at line 241 of file RoboticLine.h.
| StaticActivity::StaticActivity | ( | const uint32_t & | aid, |
| uint32_t & | fromPoint, | ||
| const ActivityType & | type, | ||
| const std::vector< RobotPowerMode * > & | robotModes, | ||
| const ProjectParameters & | par | ||
| ) |
It generates the static activity, i.e. robot operation, according to the configuration.
| aid | Unique identification of the activity. |
| fromPoint | Initial unique identification of generated locations, i.e. robot configurations. |
| type | Type of the static activity, i.e. IN, INNER, WAIT, or OUT. |
| robotModes | The power saving modes of the robot for which this activity was created. |
| par | The desired properties of instances used for generation. |
Definition at line 58 of file RoboticLine.cpp.
1.8.9.1