bpp-phyl  2.2.0
bpp::DrawNodeEvent Class Reference

Event class used by TreeDrawing classes. More...

#include <Bpp/Phyl/Graphics/TreeDrawing.h>

+ Inheritance diagram for bpp::DrawNodeEvent:
+ Collaboration diagram for bpp::DrawNodeEvent:

Public Member Functions

 DrawNodeEvent (const TreeDrawing *source, GraphicDevice *gd, int nodeId, const Cursor &cursor)
 
 DrawNodeEvent (const DrawNodeEvent &dne)
 
DrawNodeEventoperator= (const DrawNodeEvent &dne)
 
virtual ~DrawNodeEvent ()
 
virtual const TreeDrawinggetTreeDrawing () const
 
virtual GraphicDevice * getGraphicDevice () const
 
virtual int getNodeId () const
 
virtual const CursorgetCursor () const
 

Private Attributes

const TreeDrawingtd_
 
GraphicDevice * gd_
 
int id_
 
Cursor cursor_
 

Detailed Description

Event class used by TreeDrawing classes.

Definition at line 124 of file TreeDrawing.h.

Constructor & Destructor Documentation

◆ DrawNodeEvent() [1/2]

bpp::DrawNodeEvent::DrawNodeEvent ( const TreeDrawing source,
GraphicDevice *  gd,
int  nodeId,
const Cursor cursor 
)
inline

Definition at line 133 of file TreeDrawing.h.

◆ DrawNodeEvent() [2/2]

bpp::DrawNodeEvent::DrawNodeEvent ( const DrawNodeEvent dne)
inline

Definition at line 137 of file TreeDrawing.h.

◆ ~DrawNodeEvent()

virtual bpp::DrawNodeEvent::~DrawNodeEvent ( )
inlinevirtual

Definition at line 150 of file TreeDrawing.h.

Member Function Documentation

◆ getCursor()

virtual const Cursor& bpp::DrawNodeEvent::getCursor ( ) const
inlinevirtual

Definition at line 156 of file TreeDrawing.h.

References cursor_.

◆ getGraphicDevice()

◆ getNodeId()

◆ getTreeDrawing()

virtual const TreeDrawing* bpp::DrawNodeEvent::getTreeDrawing ( ) const
inlinevirtual

Definition at line 153 of file TreeDrawing.h.

References td_.

◆ operator=()

DrawNodeEvent& bpp::DrawNodeEvent::operator= ( const DrawNodeEvent dne)
inline

Definition at line 141 of file TreeDrawing.h.

References cursor_, gd_, id_, and td_.

Referenced by bpp::DrawINodeEvent::operator=().

Member Data Documentation

◆ cursor_

Cursor bpp::DrawNodeEvent::cursor_
private

Definition at line 130 of file TreeDrawing.h.

Referenced by getCursor(), and operator=().

◆ gd_

GraphicDevice* bpp::DrawNodeEvent::gd_
private

Definition at line 128 of file TreeDrawing.h.

Referenced by getGraphicDevice(), and operator=().

◆ id_

int bpp::DrawNodeEvent::id_
private

Definition at line 129 of file TreeDrawing.h.

Referenced by getNodeId(), and operator=().

◆ td_

const TreeDrawing* bpp::DrawNodeEvent::td_
private

Definition at line 127 of file TreeDrawing.h.

Referenced by getTreeDrawing(), and operator=().


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