RTC Toolkit  2.0.0
Classes | Public Types | Public Member Functions | List of all members
rtctk::exampleDataTask::Computation Class Reference

#include <computation.hpp>

Classes

struct  Result
 

Public Types

enum  Algorithm { Algorithm::Mean, Algorithm::Median, SimpleInversion, PythonInversion }
 
enum  Algorithm { Algorithm::Mean, Algorithm::Median, SimpleInversion, PythonInversion }
 
using ScaoLoopTopic = rtctk::exampleTopic::ScaoLoopTopic
 
using TopicType = rtctk::exampleTopic::ScaoLoopTopic
 

Public Member Functions

 Computation ()
 
void Reset ()
 
void SetDynamicConfig (unsigned to_read)
 
void OnDataAvailable (ScaoLoopTopic const &sample)
 
Result Compute (Algorithm algorithm)
 
void ComputeMean ()
 
void SetStaticConfig (unsigned n_slopes, unsigned n_acts)
 
void SetDynamicConfig (MatrixBuffer< float > &&data)
 
Result Compute (Algorithm algorithm)
 
 Computation ()
 
void SetStaticConfig (unsigned to_read, unsigned n_slopes, unsigned n_modes)
 
void SetDynamicConfig (MatrixBuffer< float > &&s2m_matrix)
 
void Reset ()
 
void OnDataAvailable (TopicType const &sample)
 
Result Compute ()
 

Member Typedef Documentation

◆ ScaoLoopTopic

◆ TopicType

Member Enumeration Documentation

◆ Algorithm [1/2]

Enumerator
Mean 
Median 
SimpleInversion 
PythonInversion 

◆ Algorithm [2/2]

Enumerator
Mean 
Median 
SimpleInversion 
PythonInversion 

Constructor & Destructor Documentation

◆ Computation() [1/2]

rtctk::exampleDataTask::Computation::Computation ( )
inline

◆ Computation() [2/2]

rtctk::exampleDataTask::Computation::Computation ( )
inline

Member Function Documentation

◆ Compute() [1/3]

Result rtctk::exampleDataTask::Computation::Compute ( )
inline

◆ Compute() [2/3]

Result rtctk::exampleDataTask::Computation::Compute ( Algorithm  algorithm)
inline

◆ Compute() [3/3]

Result rtctk::exampleDataTask::Computation::Compute ( Algorithm  algorithm)
inline

◆ ComputeMean()

void rtctk::exampleDataTask::Computation::ComputeMean ( )
inline

◆ OnDataAvailable() [1/2]

void rtctk::exampleDataTask::Computation::OnDataAvailable ( ScaoLoopTopic const &  sample)
inline

◆ OnDataAvailable() [2/2]

void rtctk::exampleDataTask::Computation::OnDataAvailable ( TopicType const &  sample)
inline

◆ Reset() [1/2]

void rtctk::exampleDataTask::Computation::Reset ( )
inline

◆ Reset() [2/2]

void rtctk::exampleDataTask::Computation::Reset ( )
inline

◆ SetDynamicConfig() [1/3]

void rtctk::exampleDataTask::Computation::SetDynamicConfig ( MatrixBuffer< float > &&  data)
inline

◆ SetDynamicConfig() [2/3]

void rtctk::exampleDataTask::Computation::SetDynamicConfig ( MatrixBuffer< float > &&  s2m_matrix)
inline

◆ SetDynamicConfig() [3/3]

void rtctk::exampleDataTask::Computation::SetDynamicConfig ( unsigned  to_read)
inline

◆ SetStaticConfig() [1/2]

void rtctk::exampleDataTask::Computation::SetStaticConfig ( unsigned  n_slopes,
unsigned  n_acts 
)
inline

◆ SetStaticConfig() [2/2]

void rtctk::exampleDataTask::Computation::SetStaticConfig ( unsigned  to_read,
unsigned  n_slopes,
unsigned  n_modes 
)
inline

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