Panda3D
Public Member Functions | Static Public Member Functions

WaitInterval Class Reference

This interval does absolutely nothing, and is mainly useful for marking time between other intervals within a sequence. More...

#include "waitInterval.h"

Inheritance diagram for WaitInterval:
CInterval TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Public Member Functions

 WaitInterval (double duration)
 All Wait intervals have the same name.
virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
virtual void priv_step (double t)
 Advances the time on the interval.

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96.

Detailed Description

This interval does absolutely nothing, and is mainly useful for marking time between other intervals within a sequence.

Definition at line 27 of file waitInterval.h.


Constructor & Destructor Documentation

WaitInterval::WaitInterval ( double  duration) [inline]

All Wait intervals have the same name.

No one really cares if their names are unique, after all.

Definition at line 23 of file waitInterval.I.


Member Function Documentation

static void WaitInterval::init_type ( ) [inline, static]

This function is declared non-inline to work around a compiler bug in g++ 2.96.

Making it inline seems to cause problems in the optimizer.

Reimplemented from CInterval.

Definition at line 37 of file waitInterval.h.

References CInterval::init_type().

void WaitInterval::priv_step ( double  t) [virtual]

Advances the time on the interval.

The time may either increase (the normal case) or decrease (e.g. if the interval is being played by a slider).

Reimplemented from CInterval.

Definition at line 28 of file waitInterval.cxx.

References CInterval::check_started().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations