doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
idCameraEvent Class Reference

#include <splines.h>

Public Types

enum  eventType {
  EVENT_NA = 0x00, EVENT_WAIT, EVENT_TARGETWAIT, EVENT_SPEED,
  EVENT_TARGET, EVENT_SNAPTARGET, EVENT_FOV, EVENT_CMD,
  EVENT_TRIGGER, EVENT_STOP, EVENT_CAMERA, EVENT_FADEOUT,
  EVENT_FADEIN, EVENT_FEATHER, EVENT_COUNT
}
 

Public Member Functions

 idCameraEvent ()
 
 idCameraEvent (eventType t, const char *param, long n)
 
 ~idCameraEvent ()
 
eventType getType ()
 
const char * typeStr ()
 
const char * getParam ()
 
long getTime ()
 
void setTime (long n)
 
void parse (idParser *src)
 
void write (idFile *f, const char *name)
 
void setTriggered (bool b)
 
bool getTriggered ()
 

Static Public Attributes

static const char * eventStr [EVENT_COUNT]
 

Protected Attributes

eventType type
 
idStr paramStr
 
long time
 
bool triggered
 

Detailed Description

Definition at line 289 of file splines.h.

Member Enumeration Documentation

Enumerator
EVENT_NA 
EVENT_WAIT 
EVENT_TARGETWAIT 
EVENT_SPEED 
EVENT_TARGET 
EVENT_SNAPTARGET 
EVENT_FOV 
EVENT_CMD 
EVENT_TRIGGER 
EVENT_STOP 
EVENT_CAMERA 
EVENT_FADEOUT 
EVENT_FADEIN 
EVENT_FEATHER 
EVENT_COUNT 

Definition at line 291 of file splines.h.

Constructor & Destructor Documentation

idCameraEvent::idCameraEvent ( )
inline

Definition at line 309 of file splines.h.

idCameraEvent::idCameraEvent ( eventType  t,
const char *  param,
long  n 
)
inline

Definition at line 310 of file splines.h.

idCameraEvent::~idCameraEvent ( )
inline

Definition at line 311 of file splines.h.

Member Function Documentation

const char* idCameraEvent::getParam ( )
inline

Definition at line 315 of file splines.h.

long idCameraEvent::getTime ( )
inline

Definition at line 316 of file splines.h.

bool idCameraEvent::getTriggered ( )
inline

Definition at line 321 of file splines.h.

eventType idCameraEvent::getType ( )
inline

Definition at line 313 of file splines.h.

void idCameraEvent::parse ( idParser src)

Definition at line 1443 of file splines.cpp.

void idCameraEvent::setTime ( long  n)
inline

Definition at line 317 of file splines.h.

void idCameraEvent::setTriggered ( bool  b)
inline

Definition at line 320 of file splines.h.

const char* idCameraEvent::typeStr ( )
inline

Definition at line 314 of file splines.h.

void idCameraEvent::write ( idFile f,
const char *  name 
)

Definition at line 1481 of file splines.cpp.

Member Data Documentation

const char * idCameraEvent::eventStr
static
Initial value:
= {
"NA",
"WAIT",
"TARGETWAIT",
"SPEED",
"TARGET",
"SNAPTARGET",
"FOV",
"CMD",
"TRIGGER",
"STOP",
"CAMERA",
"FADEOUT",
"FADEIN",
"FEATHER"
}

Definition at line 323 of file splines.h.

idStr idCameraEvent::paramStr
protected

Definition at line 327 of file splines.h.

long idCameraEvent::time
protected

Definition at line 328 of file splines.h.

bool idCameraEvent::triggered
protected

Definition at line 329 of file splines.h.

eventType idCameraEvent::type
protected

Definition at line 326 of file splines.h.


The documentation for this class was generated from the following files: