RobWorkProject  23.9.11-
Public Types | Public Member Functions | List of all members
ActionType Class Reference

Specification of Action Type. More...

#include <Action.hpp>

Public Types

enum  {
  Undefined = -1 , AttachFrame = 0 , On = 1 , Off = 2 ,
  User = 1024
}
 

Public Member Functions

 ActionType (int type=Undefined)
 Creates an ActionType. More...
 
 operator int () const
 Cast operator enable implicit conversion to int. More...
 

Detailed Description

Specification of Action Type.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Enumeration for different action types

Constructor & Destructor Documentation

◆ ActionType()

ActionType ( int  type = Undefined)
inline

Creates an ActionType.

Creates an ActionType object with a given type. If no type is specified it is defined as Undefined.

Parameters
type[in] The type id

Member Function Documentation

◆ operator int()

operator int ( ) const
inline

Cast operator enable implicit conversion to int.

This operator enables using ActionType in a switch statement.


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