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

Type of an Entity. More...

#include <Entity.hpp>

Public Types

enum  Type {
  Undefined = -1 , Task = 0 , Motion = 1 , Action = 2 ,
  Target = 3 , User = 1024
}
 

Public Member Functions

 EntityType (int type=Undefined)
 Constructs an EntityType object. More...
 
 operator int ()
 Cast operator enable implicit conversion to int. More...
 

Detailed Description

Type of an Entity.

Member Enumeration Documentation

◆ Type

enum Type

Enumeration of the type

Constructor & Destructor Documentation

◆ EntityType()

EntityType ( int  type = Undefined)
inline

Constructs an EntityType object.

Parameters
type[in] Type of entity. Default is Undefined

Member Function Documentation

◆ operator int()

operator int ( )
inline

Cast operator enable implicit conversion to int.

This operator enables using EntityType in a switch statement.


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