CAPD DynSys Library  5.2.0
capd::dynset::C0GraphicalSet< BaseSetT, OutputT > Class Template Reference

C0GraphicalSet is an envelope class for any class derived from C0Set. It adds a possibility of an additional Output after each 'move' of the original set. More...

#include <capd/dynset/C0GraphicalSet.h>

Public Types

typedef BaseSetT BaseSet
 
typedef BaseSet::MatrixType MatrixType
 
typedef BaseSet::VectorType VectorType
 
typedef MatrixType::ScalarType ScalarType
 
typedef capd::vectalg::Norm< VectorType, MatrixTypeNormType
 
typedef BaseSet::SetType SetType
 
typedef C0Set< MatrixType >::DynSysType DynSysType
 
typedef OutputT Output
 

Public Member Functions

 C0GraphicalSet (const BaseSet &set, Output *output=0)
 
 C0GraphicalSet (const BaseSet &set, Output &output)
 
 C0GraphicalSet (const C0GraphicalSet &c)
 
void move (DynSysType &dynsys)
 
void move (DynSysType &dynsys, C0GraphicalSet &result)
 
C0GraphicalSetoperator= (const VectorType &v)
 
OutputgetOutput ()
 
OutputsetOutput (Output &output)
 

Protected Attributes

Outputm_output
 

Detailed Description

template<typename BaseSetT, typename OutputT>
class capd::dynset::C0GraphicalSet< BaseSetT, OutputT >

C0GraphicalSet is an envelope class for any class derived from C0Set. It adds a possibility of an additional Output after each 'move' of the original set.

Output only needs to implement function void show(C0Set & set) which can e.g. draws on a screen or logs the set position to a file.

Member Typedef Documentation

◆ BaseSet

template<typename BaseSetT , typename OutputT >
typedef BaseSetT capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::BaseSet

◆ DynSysType

template<typename BaseSetT , typename OutputT >
typedef C0Set<MatrixType>::DynSysType capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::DynSysType

◆ MatrixType

template<typename BaseSetT , typename OutputT >
typedef BaseSet::MatrixType capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::MatrixType

◆ NormType

template<typename BaseSetT , typename OutputT >
typedef capd::vectalg::Norm<VectorType,MatrixType> capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::NormType

◆ Output

template<typename BaseSetT , typename OutputT >
typedef OutputT capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::Output

◆ ScalarType

template<typename BaseSetT , typename OutputT >
typedef MatrixType::ScalarType capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::ScalarType

◆ SetType

template<typename BaseSetT , typename OutputT >
typedef BaseSet::SetType capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::SetType

◆ VectorType

template<typename BaseSetT , typename OutputT >
typedef BaseSet::VectorType capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::VectorType

Constructor & Destructor Documentation

◆ C0GraphicalSet() [1/3]

template<typename BaseSetT , typename OutputT >
capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::C0GraphicalSet ( const BaseSet set,
Output output = 0 
)
inline

◆ C0GraphicalSet() [2/3]

template<typename BaseSetT , typename OutputT >
capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::C0GraphicalSet ( const BaseSet set,
Output output 
)
inline

◆ C0GraphicalSet() [3/3]

template<typename BaseSetT , typename OutputT >
capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::C0GraphicalSet ( const C0GraphicalSet< BaseSetT, OutputT > &  c)
inline

Member Function Documentation

◆ getOutput()

template<typename BaseSetT , typename OutputT >
Output& capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::getOutput ( )
inline

◆ move() [1/2]

template<typename BaseSetT , typename OutputT >
void capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::move ( DynSysType dynsys)
inline

◆ move() [2/2]

template<typename BaseSetT , typename OutputT >
void capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::move ( DynSysType dynsys,
C0GraphicalSet< BaseSetT, OutputT > &  result 
)
inline

◆ operator=()

template<typename BaseSetT , typename OutputT >
C0GraphicalSet& capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::operator= ( const VectorType v)
inline

◆ setOutput()

template<typename BaseSetT , typename OutputT >
Output& capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::setOutput ( Output output)
inline

Member Data Documentation

◆ m_output

template<typename BaseSetT , typename OutputT >
Output* capd::dynset::C0GraphicalSet< BaseSetT, OutputT >::m_output
protected