WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
Canvas2DDataBuf Class Referencefinal

#include <webcface/internal/data_buffer.h>

Inheritance diagram for Canvas2DDataBuf:
[legend]
Collaboration diagram for Canvas2DDataBuf:
[legend]

Public Member Functions

 Canvas2DDataBuf ()=default
 
 Canvas2DDataBuf (const Field &base)
 
void onAdd () override
 add時のチェック
 
void checkSize () const
 
void init (double width, double height)
 
 ~Canvas2DDataBuf () noexcept override
 
void onDestroy ()
 
void sync ()
 
void onSync ()
 データを処理しtargetにsetする
 
void onSync ()
 
void onSync ()
 
void onSync ()
 
void onSync ()
 
void onSync ()
 
void onSync ()
 
void onSync ()
 
void onSync ()
 
void init ()
 
void add (TemporalCanvas2DComponent &&cp)
 
void set (const std::vector< TemporalCanvas2DComponent > &cv)
 まとめてセット
 
void set (std::initializer_list< TemporalCanvas2DComponent > cl)
 
const std::vector< TemporalCanvas2DComponent > & components () const
 

Public Attributes

friend DataSetBuffer< TemporalCanvas2DComponent >
 

Constructor & Destructor Documentation

◆ Canvas2DDataBuf() [1/2]

Canvas2DDataBuf ( )
default

◆ Canvas2DDataBuf() [2/2]

Canvas2DDataBuf ( const Field base)
inline

◆ ~Canvas2DDataBuf()

~Canvas2DDataBuf ( )
inlineoverridenoexcept

~DataSetBuffer() の時点ではすでにCanvas2DDataBufが破棄されているので、 その前にonDestroyを呼ぶ

Member Function Documentation

◆ add()

void add ( TemporalCanvas2DComponent &&  cp)
inlineinherited

◆ checkSize()

void checkSize ( ) const
inline

◆ components()

const std::vector< TemporalCanvas2DComponent > & components ( ) const
inlineinherited

◆ init() [1/2]

void init ( )
inlineinherited

◆ init() [2/2]

void init ( double  width,
double  height 
)
inline

◆ onAdd()

void onAdd ( )
inlineoverridevirtual

add時のチェック

Reimplemented from DataSetBuffer< TemporalCanvas2DComponent >.

◆ onDestroy()

void onDestroy ( )
inlineinherited

◆ onSync() [1/9]

void onSync ( )
inherited

データを処理しtargetにsetする

実装は型ごと

◆ onSync() [2/9]

void onSync ( )
inherited

◆ onSync() [3/9]

void onSync ( )
inherited

◆ onSync() [4/9]

void onSync ( )
inherited

◆ onSync() [5/9]

void onSync ( )
inherited

◆ onSync() [6/9]

void onSync ( )
inherited

◆ onSync() [7/9]

void onSync ( )
inherited

◆ onSync() [8/9]

void onSync ( )
inherited

◆ onSync() [9/9]

void onSync ( )
inherited

◆ set() [1/2]

void set ( const std::vector< TemporalCanvas2DComponent > &  cv)
inlineinherited

まとめてセット

initしてcomponentsを置き換えてsyncする

◆ set() [2/2]

void set ( std::initializer_list< TemporalCanvas2DComponent cl)
inlineinherited

◆ sync()

void sync ( )
inlineinherited

Member Data Documentation

◆ DataSetBuffer< TemporalCanvas2DComponent >


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