bpp-phyl3 3.0.0
bpp::DrawINodeEvent Class Reference

Event class that uses INode object (more efficient than relying on nodes id, but less generic). More...

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

+ Inheritance diagram for bpp::DrawINodeEvent:
+ Collaboration diagram for bpp::DrawINodeEvent:

Public Member Functions

 DrawINodeEvent (const TreeDrawing *source, GraphicDevice *gd, const INode *node, const Cursor &cursor)
 
 DrawINodeEvent (const DrawINodeEvent &dne)
 
DrawINodeEvent & operator= (const DrawINodeEvent &dne)
 
const INode * getINode () const
 
virtual const TreeDrawing * getTreeDrawing () const
 
virtual GraphicDevice * getGraphicDevice () const
 
virtual int getNodeId () const
 
virtual const Cursor & getCursor () const
 

Private Attributes

const INode * node_
 
const TreeDrawing * td_
 
GraphicDevice * gd_
 
int id_
 
Cursor cursor_
 

Detailed Description

Event class that uses INode object (more efficient than relying on nodes id, but less generic).

Definition at line 49 of file AbstractTreeDrawing.h.

Constructor & Destructor Documentation

◆ DrawINodeEvent() [1/2]

bpp::DrawINodeEvent::DrawINodeEvent ( const TreeDrawing *  source,
GraphicDevice *  gd,
const INode *  node,
const Cursor &  cursor 
)
inline

Definition at line 56 of file AbstractTreeDrawing.h.

◆ DrawINodeEvent() [2/2]

bpp::DrawINodeEvent::DrawINodeEvent ( const DrawINodeEvent &  dne)
inline

Definition at line 61 of file AbstractTreeDrawing.h.

Member Function Documentation

◆ getCursor()

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

Definition at line 120 of file TreeDrawing.h.

References bpp::DrawNodeEvent::cursor_.

◆ getGraphicDevice()

virtual GraphicDevice * bpp::DrawNodeEvent::getGraphicDevice ( ) const
inlinevirtualinherited

Definition at line 118 of file TreeDrawing.h.

References bpp::DrawNodeEvent::gd_.

◆ getINode()

◆ getNodeId()

◆ getTreeDrawing()

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

Definition at line 117 of file TreeDrawing.h.

References bpp::DrawNodeEvent::td_.

◆ operator=()

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

Definition at line 65 of file AbstractTreeDrawing.h.

References node_, and bpp::DrawNodeEvent::operator=().

Member Data Documentation

◆ cursor_

Cursor bpp::DrawNodeEvent::cursor_
privateinherited

Definition at line 94 of file TreeDrawing.h.

Referenced by bpp::DrawNodeEvent::getCursor(), and bpp::DrawNodeEvent::operator=().

◆ gd_

GraphicDevice* bpp::DrawNodeEvent::gd_
privateinherited

◆ id_

int bpp::DrawNodeEvent::id_
privateinherited

Definition at line 93 of file TreeDrawing.h.

Referenced by bpp::DrawNodeEvent::getNodeId(), and bpp::DrawNodeEvent::operator=().

◆ node_

const INode* bpp::DrawINodeEvent::node_
private

Definition at line 53 of file AbstractTreeDrawing.h.

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

◆ td_

const TreeDrawing* bpp::DrawNodeEvent::td_
privateinherited

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