RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
Functions
main.cpp File Reference

Main based on example component. More...

#include <fmt/format.h>
#include <rtcSupervisor.hpp>
#include <rtctk/componentFramework/persistentRepoIf.hpp>
#include <rtctk/componentFramework/rtcComponentMain.hpp>

Functions

void SetupPersistentRepo (ServiceContainer &services)
 
auto RtcSupervisorFactory (const std::string &comp_name, ServiceContainer &services)
 
void RtcComponentMain (const Args &args)
 Main entry point for user code, this method must be implemented by component developers.
 

Detailed Description

Main based on example component.

Function Documentation

◆ RtcComponentMain()

void RtcComponentMain ( const rtctk::componentFramework::Args & args)

Main entry point for user code, this method must be implemented by component developers.

Parameters
argsopaque arguments class to be passed on to the RTC Component runner function.
Exceptions
variousexceptions, which are caught in main

◆ RtcSupervisorFactory()

auto RtcSupervisorFactory ( const std::string & comp_name,
ServiceContainer & services )

◆ SetupPersistentRepo()

void SetupPersistentRepo ( ServiceContainer & services)