NX Open C++ Reference Guide
|
Represents a collection of sensor objects
To obtain an instance of this class, refer to Motion::MotionManager
More...
Classes | |
class | iterator |
Iterator for accessing the contents of the collection. More... | |
Public Member Functions | |
iterator | begin () |
Returns an iterator addressing the first element. | |
NXOpen::Motion::MotionSensorBuilder * | CreateMotionSensorBuilder (NXOpen::Motion::MotionSensor *sensor) |
Creates a Motion::MotionSensorBuilder. | |
iterator | end () |
Returns an iterator addressing one past the last element. | |
NXOpen::Motion::MotionSensor * | FindObject (const NXString &name) |
Finds the Motion::MotionSensor with the given name. | |
tag_t | Tag () const |
Returns the tag of this object. |
Represents a collection of sensor objects
To obtain an instance of this class, refer to Motion::MotionManager
Returns an iterator addressing the first element.
NXOpen::Motion::MotionSensorBuilder* NXOpen::Motion::MotionSensorCollection::CreateMotionSensorBuilder | ( | NXOpen::Motion::MotionSensor * | sensor | ) |
Creates a Motion::MotionSensorBuilder.
sensor | sensor |
Returns an iterator addressing one past the last element.
NXOpen::Motion::MotionSensor* NXOpen::Motion::MotionSensorCollection::FindObject | ( | const NXString & | name | ) |
Finds the Motion::MotionSensor with the given name.
An exception will be thrown if no object can be found with given name.
name | The name of the Motion::MotionSensor . |
tag_t NXOpen::Motion::MotionSensorCollection::Tag | ( | ) | const |
Returns the tag of this object.