LibreCAD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lc::RemoveEntityEvent Class Reference

#include <removeentityevent.h>

Public Member Functions

 RemoveEntityEvent (const entity::CADEntity_CSPtr cadEntity)
 
entity::CADEntity_CSPtr entity () const
 Returns the ID. More...
 

Private Attributes

const entity::CADEntity_CSPtr _cadEntity
 

Detailed Description

Event that gets emitted when a entity was removed

Parameters
id

Definition at line 11 of file removeentityevent.h.

Constructor & Destructor Documentation

lc::RemoveEntityEvent::RemoveEntityEvent ( const entity::CADEntity_CSPtr  cadEntity)
inline

Definition at line 13 of file removeentityevent.h.

13  : _cadEntity(cadEntity) {
14  }
const entity::CADEntity_CSPtr _cadEntity

Member Function Documentation

entity::CADEntity_CSPtr lc::RemoveEntityEvent::entity ( ) const
inline

Returns the ID.

Returns
ID_DATATYPE id of the entity.

Definition at line 20 of file removeentityevent.h.

20  {
21  return _cadEntity;
22  }
const entity::CADEntity_CSPtr _cadEntity

Member Data Documentation

const entity::CADEntity_CSPtr lc::RemoveEntityEvent::_cadEntity
private

Definition at line 25 of file removeentityevent.h.


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