Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4746 in orxonox.OLD for orxonox/trunk/src/util/track/track_manager.h


Ignore:
Timestamp:
Jul 1, 2005, 12:48:48 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: changed (void) → ()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/track/track_manager.h

    r4584 r4746  
    4343{
    4444 public:
    45   TrackElement(void);
    46   ~TrackElement(void);
     45  TrackElement();
     46  ~TrackElement();
    4747
    4848  TrackElement* findByID(unsigned int trackID);
    4949  TrackElement* findByName(const char* trackName);
    50   bool backLoopCheck(void) const;
     50  bool backLoopCheck() const;
    5151
    5252  TrackElement* getChild(int childNumber) const;
     
    7878  TrackElement* history;     //!< a pointer to the last TrackElement we were on. This is if you want to walk the path backwards again.
    7979
    80   void debug(void) const;
     80  void debug() const;
    8181
    8282  // CONDITION FUNCTIONS and STUFF
     
    135135{
    136136 public:
    137   virtual ~TrackManager(void);
     137  virtual ~TrackManager();
    138138  /** \returns a Pointer to the only object of this Class */
    139   inline static TrackManager* getInstance(void) { if (!singletonRef) singletonRef = new TrackManager();  return singletonRef; };
     139  inline static TrackManager* getInstance() { if (!singletonRef) singletonRef = new TrackManager();  return singletonRef; };
    140140
    141141  bool loadParams(TiXmlElement* root);
     
    166166  void joinS(unsigned int cound, ...);
    167167  void joinV(unsigned int count, int* trackIDs);
    168   void finalize(void);
     168  void finalize();
    169169
    170170  // Methods to calculate the position on the Path (runtime)
    171   inline Vector calcPos(void) const;
    172   inline Vector calcDir(void) const;
    173   float getWidth(void) const;
     171  inline Vector calcPos() const;
     172  inline Vector calcDir() const;
     173  float getWidth() const;
    174174  void tick(float dt);
    175175  void jumpTo(float time);
     
    177177
    178178  void setBindSlave(PNode* bindSlave);
    179   PNode* getTrackNode(void);
     179  PNode* getTrackNode();
    180180
    181181  // DEBUG //
     
    184184
    185185 private:
    186   TrackManager(void);
     186  TrackManager();
    187187  void initChildren(unsigned int childCount, TrackElement* trackElem = NULL);
    188188
Note: See TracChangeset for help on using the changeset viewer.