RTC Toolkit 4.0.2
Loading...
Searching...
No Matches
Namespaces | Functions
rtcComponentMain.hpp File Reference

Provides core functionality of an RTC Component. More...

#include <rtctk/componentFramework/alertService.hpp>
#include <rtctk/componentFramework/commandReplier.hpp>
#include <rtctk/componentFramework/componentMetrics.hpp>
#include <rtctk/componentFramework/exceptions.hpp>
#include <rtctk/componentFramework/logger.hpp>
#include <rtctk/componentFramework/malDdsEventService.hpp>
#include <rtctk/componentFramework/oldbIf.hpp>
#include <rtctk/componentFramework/rtcComponentArgs.hpp>
#include <rtctk/componentFramework/runtimeRepoIf.hpp>
#include <rtctk/componentFramework/serviceContainer.hpp>
#include <rtctk/componentFramework/serviceDiscovery.hpp>
#include <rtctk/componentFramework/serviceRegistryIf.hpp>
#include <rtctk/componentFramework/stateMachineEngine.hpp>
#include <rtctk/componentFramework/statePublisher.hpp>
#include <mal/Cii.hpp>
#include <boost/core/demangle.hpp>
#include <iostream>
#include <memory>
#include <string>

Go to the source code of this file.

Namespaces

namespace  rtctk
 
namespace  rtctk::componentFramework
 

Functions

void RtcComponentMain (rtctk::componentFramework::Args const &args)
 Main entry point for user code, this method must be implemented by component developers.
 
template<class BL , class BLF >
void rtctk::componentFramework::RunAsRtcComponent (Args const &args, BLF factory)
 RTC Component runner function, needed to run custom BusinessLogic as RTC Component.
 
template<class BL >
void rtctk::componentFramework::RunAsRtcComponent (Args const &args)
 RTC Component runner function, needed to run custom BusinessLogic as RTC Component.
 
int rtctk::componentFramework::Main (int argc, char *argv[])
 Main function implementation.
 
int main (int argc, char *argv[])
 Main function, this is private to the RTC Tk and shall NOT be used by component developers.
 

Detailed Description

Provides core functionality of an RTC Component.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Main function, this is private to the RTC Tk and shall NOT be used by component developers.

◆ RtcComponentMain()

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

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

TelSub Application Entrypoint.

Parameters
argsopaque arguments class to be passed on to the RTC Component runner function.
Exceptions
variousexceptions, which are caught in main
Parameters
[in]argsThe application's command line arguments.
Note
This is invoked by RTCTK Component Framework main() implementation.

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

Parameters
[in]argsThe application's command line arguments.
Note
This is invoked by RTCTK Component Framework main() implementation.