RTC Toolkit  0.1.0-alpha
Classes | Namespaces | Typedefs | Functions
rtcComponent.hpp File Reference

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

#include "rtctk/componentFramework/detail/rtcComponent.hpp"
#include "rtctk/componentFramework/logger.hpp"
#include "rtctk/componentFramework/commandReplier.hpp"
#include "rtctk/componentFramework/commandHandler.hpp"
#include "rtctk/componentFramework/statePublisher.hpp"
#include "rtctk/componentFramework/runnableStateMachine.hpp"
#include "rtctk/componentFramework/serviceContainer.hpp"
#include "rtctk/componentFramework/serviceDiscovery.hpp"
#include "rtctk/componentFramework/fakeRuntimeRepoAdapter.hpp"
#include "rtctk/componentFramework/fakeOldbAdapter.hpp"
#include <mal/Cii.hpp>
#include <string>
#include <memory>
#include <type_traits>

Go to the source code of this file.

Classes

class  rtctk::componentFramework::RtcComponent< BusinessLogic >
 

Namespaces

 rtctk
 
 rtctk::componentFramework
 

Typedefs

using rtctk::componentFramework::Args = detail::Args
 

Functions

template<class BusinessLogic , class BusinessLogicFactory >
void rtctk::componentFramework::RunAsRtcComponent (Args const &args, BusinessLogicFactory factory)
 
template<class BusinessLogic >
void rtctk::componentFramework::RunAsRtcComponent (Args const &args)
 
void RtcComponentMain (rtctk::componentFramework::Args const &args)
 
int main (int argc, char *argv[])
 

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, methods 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