blockfactory  0.8
A framework for wrapping algorithms for dataflow programming
blockfactory::coder::GeneratedCodeWrapper< T > Class Template Reference

#include <GeneratedCodeWrapper.h>

Public Member Functions

 GeneratedCodeWrapper (const std::string &modelName={}, const unsigned &numSampleTimes=0)
 
 ~GeneratedCodeWrapper ()=default
 
bool initialize ()
 
bool step ()
 
bool terminate ()
 
std::string getErrors () const
 

Private Member Functions

bool modelFailed () const
 

Private Attributes

std::unique_ptr< T > m_model
 
std::string m_modelName
 
unsigned m_numSampleTimes
 

Constructor & Destructor Documentation

template<typename T >
blockfactory::coder::GeneratedCodeWrapper< T >::GeneratedCodeWrapper ( const std::string &  modelName = {},
const unsigned &  numSampleTimes = 0 
)
template<typename T >
blockfactory::coder::GeneratedCodeWrapper< T >::~GeneratedCodeWrapper ( )
default

Member Function Documentation

template<typename T >
std::string blockfactory::coder::GeneratedCodeWrapper< T >::getErrors ( ) const
template<typename T >
bool blockfactory::coder::GeneratedCodeWrapper< T >::initialize ( )
template<typename T >
bool blockfactory::coder::GeneratedCodeWrapper< T >::modelFailed ( ) const
private
template<typename T >
bool blockfactory::coder::GeneratedCodeWrapper< T >::step ( )
template<typename T >
bool blockfactory::coder::GeneratedCodeWrapper< T >::terminate ( )

Member Data Documentation

template<typename T >
std::unique_ptr<T> blockfactory::coder::GeneratedCodeWrapper< T >::m_model
private
template<typename T >
std::string blockfactory::coder::GeneratedCodeWrapper< T >::m_modelName
private
template<typename T >
unsigned blockfactory::coder::GeneratedCodeWrapper< T >::m_numSampleTimes
private

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