GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
公開メンバ関数 | 全メンバ一覧
designlab::GraphicMainGraphViewer クラスfinal

GraphViewerの画面を表示するクラス. [詳解]

#include <graphic_main_graph_viewer.h>

designlab::GraphicMainGraphViewer の継承関係図
Inheritance graph
[凡例]
designlab::GraphicMainGraphViewer 連携図
Collaboration graph
[凡例]

公開メンバ関数

 GraphicMainGraphViewer (const std::shared_ptr< const GraphicDataBroker > &broker_ptr, const std::shared_ptr< const IHexapodCoordinateConverter > &converter_ptr, const std::shared_ptr< const IHexapodJointCalculator > &calculator_ptr, const std::shared_ptr< const IHexapodPostureValidator > &checker_ptr, const std::shared_ptr< const ApplicationSettingRecord > &setting_ptr)
 
 ~GraphicMainGraphViewer ()=default
 
bool Update () override
 描画画面の更新を行う.純粋仮想関数のため, 継承先では必ず override する必要がある.
 
void Draw () const override
 描画を行う. ここでは描画系の処理のみを行い内部のデータを 更新しないため const を付けている.
 
- 基底クラス designlab::IGraphicMain に属する継承公開メンバ関数
 IGraphicMain ()=default
 
virtual ~IGraphicMain ()=default
 

詳解

GraphViewerの画面を表示するクラス.

graphic_main_graph_viewer.h31 行目に定義があります。

構築子と解体子

◆ GraphicMainGraphViewer()

designlab::GraphicMainGraphViewer::GraphicMainGraphViewer ( const std::shared_ptr< const GraphicDataBroker > &  broker_ptr,
const std::shared_ptr< const IHexapodCoordinateConverter > &  converter_ptr,
const std::shared_ptr< const IHexapodJointCalculator > &  calculator_ptr,
const std::shared_ptr< const IHexapodPostureValidator > &  checker_ptr,
const std::shared_ptr< const ApplicationSettingRecord > &  setting_ptr 
)

graphic_main_graph_viewer.cpp28 行目に定義があります。

◆ ~GraphicMainGraphViewer()

designlab::GraphicMainGraphViewer::~GraphicMainGraphViewer ( )
default

関数詳解

◆ Draw()

void designlab::GraphicMainGraphViewer::Draw ( ) const
overridevirtual

描画を行う. ここでは描画系の処理のみを行い内部のデータを 更新しないため const を付けている.

designlab::IGraphicMainを実装しています。

graphic_main_graph_viewer.cpp121 行目に定義があります。

呼び出し関係図:

◆ Update()

bool designlab::GraphicMainGraphViewer::Update ( )
overridevirtual

描画画面の更新を行う.純粋仮想関数のため, 継承先では必ず override する必要がある.

戻り値
ループを抜け, グラフィックの表示を終了するならば false をかえす.

designlab::IGraphicMainを実装しています。

graphic_main_graph_viewer.cpp87 行目に定義があります。

呼び出し関係図:

このクラス詳解は次のファイルから抽出されました: