ImFusion SDK 4.3
RobotFactory Class Reference

#include <RoboticsPlugin/Include/ImFusion/Robotics/RobotFactory.h>

Factory class for RobotStateStream. More...

Detailed Description

Factory class for RobotStateStream.

The RobotFactory allows to register a RobotBlueprint for each supported robot. This will populate the GUI of the CreateRobotStream algorithm in the ImFusionSuite GUI.

Public Types

using SupportedRobotList = std::vector<RobotType>
 

Public Member Functions

SupportedRobotList supportedRobots ()
 
bool registerBlueprint (RobotBlueprint &&blueprint)
 
std::optional< RobotBlueprintblueprint (const RobotType &robotType)
 
template<typename T>
std::optional< T > mapBlueprintEntry (const RobotType &robotType, std::function< std::optional< T >(const RobotBlueprint &bl)> mapf)
 
std::shared_ptr< const RobotModelmodel (const RobotType &robotType)
 
std::optional< PropertiesstreamCreationProperties (RobotStreamType streamType, const RobotType &robotType)
 
std::unique_ptr< RobotStateStreamcreateStream (RobotStreamType streamType, const RobotType &robotType, const Properties &p)
 
QWidget * createCustomControlWidget (RobotStateStream &stream, ImageView3D *outputView)
 

Static Public Member Functions

static RobotFactoryinstance ()
 

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close