tsm 0.1.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
tsm::detail::RealtimeExecutionPolicy< Context, Policy > Struct Template Reference

#include <tsm.h>

Inheritance diagram for tsm::detail::RealtimeExecutionPolicy< Context, Policy >:
Inheritance graph
Collaboration diagram for tsm::detail::RealtimeExecutionPolicy< Context, Policy >:
Collaboration graph

Public Types

using type = RealtimeExecutionPolicy< Context, Policy >
 
using HsmType = typename Policy< Context >::type
 

Public Member Functions

void start ()
 
virtual ~RealtimeExecutionPolicy ()=default
 
- Public Member Functions inherited from tsm::detail::RealtimeConfigurator
 RealtimeConfigurator ()=default
 
 RealtimeConfigurator (int priority, std::array< int, 4 > affinity)
 
void config_realtime_thread ()
 
template<typename Fn >
std::thread real_time_thread (Fn fn)
 
std::thread make_real_time (std::thread &&t)
 

Additional Inherited Members

- Protected Attributes inherited from tsm::detail::RealtimeConfigurator
int PROCESS_PRIORITY { 98 }
 
std::array< int, 4 > CPU_AFFINITY { 0, 1, 2, 3 }
 

Member Typedef Documentation

◆ HsmType

template<typename Context , template< typename > class Policy = ThreadedExecutionPolicy>
using tsm::detail::RealtimeExecutionPolicy< Context, Policy >::HsmType = typename Policy<Context>::type

◆ type

template<typename Context , template< typename > class Policy = ThreadedExecutionPolicy>
using tsm::detail::RealtimeExecutionPolicy< Context, Policy >::type = RealtimeExecutionPolicy<Context, Policy>

Constructor & Destructor Documentation

◆ ~RealtimeExecutionPolicy()

template<typename Context , template< typename > class Policy = ThreadedExecutionPolicy>
virtual tsm::detail::RealtimeExecutionPolicy< Context, Policy >::~RealtimeExecutionPolicy ( )
virtualdefault

Member Function Documentation

◆ start()

template<typename Context , template< typename > class Policy = ThreadedExecutionPolicy>
void tsm::detail::RealtimeExecutionPolicy< Context, Policy >::start ( )
inline

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