RobWorkProject  24.5.15-
Public Types | Public Member Functions | List of all members
FrameType Class Reference

Enumeration of all concrete frame types of RobWork. More...

#include <FrameType.hpp>

Public Types

enum  Type {
  RevoluteJoint , PrismaticJoint , FixedFrame , MovableFrame ,
  DependentJoint , Unknown
}
 FrameType enumeration.
 

Public Member Functions

 FrameType (const Type &type)
 Identifier for a frame of type type. More...
 
Type get () const
 The frame type. More...
 

Detailed Description

Enumeration of all concrete frame types of RobWork.

FrameType::Type is an enumeration of all frame types defined within RobWork. For every implementation X of Frame, FrameType has an enumeration value named FrameType::X.

The type of a frame can be accessed via frameTypeAccessor().

It is the responsibility of the work cell loaders to properly initialize the frame type values.

The use of FrameType is a hack introduced due to the lack of a working dynamic_cast<>.

Constructor & Destructor Documentation

◆ FrameType()

FrameType ( const Type type)
inline

Identifier for a frame of type type.

Parameters
type[in] The type of frame.

Member Function Documentation

◆ get()

Type get ( ) const
inline

The frame type.

Returns
The frame type.

The documentation for this class was generated from the following file: