RTC Toolkit  1.0.0
Classes | Public Types | Public Member Functions | List of all members
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 TopicType = rtctk::exampleTopic::ScaoLoopTopic
 
using ScaoLoopTopic = rtctk::exampleTopic::ScaoLoopTopic
 
using TopicType = rtctk::exampleTopic::ScaoLoopTopic
 

Public Member Functions

 Computation ()
 
void SetStaticConfig (unsigned to_read, unsigned n_slopes, unsigned n_modes, unsigned gpu)
 
void SetDynamicConfig (MatrixBuffer< float > &&s2m_matrix)
 
void Reset ()
 
void ThreadInit ()
 
void OnDataAvailable (TopicType const &sample)
 
Result Compute ()
 
 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 [1/2]

◆ TopicType [2/2]

Member Enumeration Documentation

◆ Algorithm [1/2]

Enumerator
Mean 
Median 
SimpleInversion 
PythonInversion 

◆ Algorithm [2/2]

Enumerator
Mean 
Median 
SimpleInversion 
PythonInversion 

Constructor & Destructor Documentation

◆ Computation() [1/3]

Computation::Computation ( )
inline

◆ Computation() [2/3]

Computation::Computation ( )
inline

◆ Computation() [3/3]

Computation::Computation ( )
inline

Member Function Documentation

◆ Compute() [1/4]

Result Computation::Compute ( )
inline

◆ Compute() [2/4]

Result Computation::Compute ( )
inline

◆ Compute() [3/4]

Result Computation::Compute ( Algorithm  algorithm)
inline

◆ Compute() [4/4]

Result Computation::Compute ( Algorithm  algorithm)
inline

◆ ComputeMean()

void Computation::ComputeMean ( )
inline

◆ OnDataAvailable() [1/3]

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

◆ OnDataAvailable() [2/3]

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

◆ OnDataAvailable() [3/3]

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

◆ Reset() [1/3]

void Computation::Reset ( )
inline

◆ Reset() [2/3]

void Computation::Reset ( )
inline

◆ Reset() [3/3]

void Computation::Reset ( )
inline

◆ SetDynamicConfig() [1/4]

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

◆ SetDynamicConfig() [2/4]

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

◆ SetDynamicConfig() [3/4]

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

◆ SetDynamicConfig() [4/4]

void Computation::SetDynamicConfig ( unsigned  to_read)
inline

◆ SetStaticConfig() [1/3]

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

◆ SetStaticConfig() [2/3]

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

◆ SetStaticConfig() [3/3]

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

◆ ThreadInit()

void Computation::ThreadInit ( )
inline

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