Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4346 in orxonox.OLD for orxonox/trunk/src/util/event/event.cc


Ignore:
Timestamp:
May 27, 2005, 11:53:50 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: some first function and class definition of the new event handling system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/event/event.cc

    r4329 r4346  
    1010
    1111   ### File Specific:
    12    main-programmer: ...
     12   main-programmer: Patrick Boenzli
    1313   co-programmer: ...
    1414*/
    1515
    16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_
     16#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_EVENT
    1717
    18 #include "proto_class.h"
     18#include "event.h"
    1919
    2020using namespace std;
     
    2525   \todo this constructor is not jet implemented - do it
    2626*/
    27 ProtoClass::ProtoClass ()
     27Event::Event ()
    2828{
    29    this->setClassID(CL_PROTO_ID, "ProtoClass");
     29   this->setClassID(CL_EVENT, "Event");
    3030
    31    /* If you make a new class, what is most probably the case when you write this file
    32       don't forget to:
    33        1. Add the new file new_class.cc to the ./src/Makefile.am
    34        2. Add the class identifier to ./src/class_list.h eg. CL_NEW_CLASS
    35 
    36       Advanced Topics:
    37       - if you want to let your object be managed via the ObjectManager make sure to read
    38         the object_manager.h header comments. You will use this most certanly only if you
    39         make many objects of your class, like a weapon bullet.
    40    */
    4131}
    4232
     
    4636
    4737*/
    48 ProtoClass::~ProtoClass ()
     38Event::~Event ()
    4939{
    5040  // delete what has to be deleted here
Note: See TracChangeset for help on using the changeset viewer.