bpp-phyl  2.2.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)
 
DrawINodeEventoperator= (const DrawINodeEvent &dne)
 
const INodegetINode () const
 
virtual const TreeDrawinggetTreeDrawing () const
 
virtual GraphicDevice * getGraphicDevice () const
 
virtual int getNodeId () const
 
virtual const CursorgetCursor () const
 

Private Attributes

const INodenode_
 

Detailed Description

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

Definition at line 85 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 92 of file AbstractTreeDrawing.h.

◆ DrawINodeEvent() [2/2]

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

Definition at line 97 of file AbstractTreeDrawing.h.

Member Function Documentation

◆ getCursor()

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

Definition at line 156 of file TreeDrawing.h.

References bpp::DrawNodeEvent::cursor_.

◆ getGraphicDevice()

◆ getINode()

◆ getNodeId()

◆ getTreeDrawing()

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

Definition at line 153 of file TreeDrawing.h.

References bpp::DrawNodeEvent::td_.

◆ operator=()

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

Definition at line 101 of file AbstractTreeDrawing.h.

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

Member Data Documentation

◆ node_

const INode* bpp::DrawINodeEvent::node_
private

Definition at line 89 of file AbstractTreeDrawing.h.

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


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