g4tools  5.4.0
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
tools::sg::wheel_rotate_event Class Reference
Inheritance diagram for tools::sg::wheel_rotate_event:
Inheritance graph
[legend]
Collaboration diagram for tools::sg::wheel_rotate_event:
Collaboration graph
[legend]

Public Member Functions

virtual void * cast (cid a_class) const
 
virtual eventcopy () const
 
 wheel_rotate_event (int a_angle)
 
virtual ~wheel_rotate_event ()
 
 wheel_rotate_event (const wheel_rotate_event &a_from)
 
wheel_rotate_eventoperator= (const wheel_rotate_event &a_from)
 
int angle () const
 
- Public Member Functions inherited from tools::sg::event
 event ()
 
virtual ~event ()
 
 event (const event &)
 
eventoperator= (const event &)
 

Static Public Member Functions

static cid id_class ()
 
- Static Public Member Functions inherited from tools::sg::event
static cid id_class ()
 

Protected Attributes

int m_angle
 

Detailed Description

Definition at line 388 of file event.

Constructor & Destructor Documentation

◆ wheel_rotate_event() [1/2]

tools::sg::wheel_rotate_event::wheel_rotate_event ( int  a_angle)
inline

Definition at line 406 of file event.

407  :m_angle(a_angle)
408  {}

◆ ~wheel_rotate_event()

virtual tools::sg::wheel_rotate_event::~wheel_rotate_event ( )
inlinevirtual

Definition at line 409 of file event.

409 {}

◆ wheel_rotate_event() [2/2]

tools::sg::wheel_rotate_event::wheel_rotate_event ( const wheel_rotate_event a_from)
inline

Definition at line 411 of file event.

412  :event(a_from)
413  ,m_angle(a_from.m_angle)
414  {}

Member Function Documentation

◆ angle()

int tools::sg::wheel_rotate_event::angle ( ) const
inline

Definition at line 421 of file event.

421 {return m_angle;}

◆ cast()

virtual void* tools::sg::wheel_rotate_event::cast ( cid  a_class) const
inlinevirtual

Implements tools::sg::event.

Definition at line 393 of file event.

393  {
394  if(void* p = cmp_cast<wheel_rotate_event>(this,a_class)) return p;
395  return 0;
396  }

◆ copy()

virtual event* tools::sg::wheel_rotate_event::copy ( ) const
inlinevirtual

Implements tools::sg::event.

Definition at line 404 of file event.

404 {return new wheel_rotate_event(*this);}

◆ id_class()

static cid tools::sg::wheel_rotate_event::id_class ( )
inlinestatic

Definition at line 392 of file event.

392 {return parent::id_class()+8;}

◆ operator=()

wheel_rotate_event& tools::sg::wheel_rotate_event::operator= ( const wheel_rotate_event a_from)
inline

Definition at line 415 of file event.

415  {
416  event::operator=(a_from);
417  m_angle = a_from.m_angle;
418  return *this;
419  }

Member Data Documentation

◆ m_angle

int tools::sg::wheel_rotate_event::m_angle
protected

Definition at line 423 of file event.


The documentation for this class was generated from the following file:
tools::sg::wheel_rotate_event::wheel_rotate_event
wheel_rotate_event(int a_angle)
Definition: event:406
tools::sg::event::operator=
event & operator=(const event &)
Definition: event:50
tools::sg::event::event
event()
Definition: event:34
tools::sg::event::id_class
static cid id_class()
Definition: event:23
tools::sg::wheel_rotate_event::m_angle
int m_angle
Definition: event:423