inlib  1.2.0
Public Member Functions | Static Public Member Functions | Protected Attributes
inlib::sg::size_event Class Reference
Inheritance diagram for inlib::sg::size_event:
Inheritance graph
[legend]
Collaboration diagram for inlib::sg::size_event:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void * cast (const std::string &a_class) const
 size_event (unsigned int a_w, unsigned int a_h)
virtual ~size_event ()
 size_event (const size_event &a_from)
size_eventoperator= (const size_event &a_from)
unsigned int width () const
unsigned int height () const

Static Public Member Functions

static const std::string & s_class ()

Protected Attributes

unsigned int m_w
unsigned int m_h

Detailed Description

Definition at line 44 of file event_action.


Constructor & Destructor Documentation

inlib::sg::size_event::size_event ( unsigned int  a_w,
unsigned int  a_h 
) [inline]

Definition at line 55 of file event_action.

  :m_w(a_w),m_h(a_h)
  {}
virtual inlib::sg::size_event::~size_event ( ) [inline, virtual]

Definition at line 58 of file event_action.

{}
inlib::sg::size_event::size_event ( const size_event a_from) [inline]

Definition at line 60 of file event_action.

  :event(a_from)
  ,m_w(a_from.m_w)
  ,m_h(a_from.m_h)
  {}

Member Function Documentation

virtual void* inlib::sg::size_event::cast ( const std::string &  a_class) const [inline, virtual]

Implements inlib::sg::event.

Definition at line 50 of file event_action.

                                                     {
    if(void* p = inlib::cmp_cast<size_event>(this,a_class)) {return p;}
    return 0;
  }
unsigned int inlib::sg::size_event::height ( ) const [inline]

Definition at line 73 of file event_action.

{return m_h;}
size_event& inlib::sg::size_event::operator= ( const size_event a_from) [inline]

Definition at line 65 of file event_action.

                                                 {
    event::operator=(a_from);
    m_w = a_from.m_w;
    m_h = a_from.m_h;
    return *this;
  }
static const std::string& inlib::sg::size_event::s_class ( ) [inline, static]

Definition at line 46 of file event_action.

                                    {
    static const std::string s_v("inlib::sg::size_event");
    return s_v;
  }
unsigned int inlib::sg::size_event::width ( ) const [inline]

Definition at line 72 of file event_action.

{return m_w;}

Member Data Documentation

unsigned int inlib::sg::size_event::m_h [protected]

Definition at line 76 of file event_action.

unsigned int inlib::sg::size_event::m_w [protected]

Definition at line 75 of file event_action.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines