DelayedMatrix3::DelayedOp Struct Reference

DelayedMatrix3::DelayedOp Struct Reference

#include <control.h>

+ Inheritance diagram for DelayedMatrix3::DelayedOp:

Public Types

enum  OpCode {
  kPreTrans, kPreRotateX, kPreRotateY, kPreRotateZ,
  kPreRotate
}
 

Public Member Functions

 DelayedOp ()
 
 DelayedOp (const Point3 &p)
 
 DelayedOp (const Quat &q)
 
 DelayedOp (float x)
 
 DelayedOp (int, float y)
 
 DelayedOp (int, int, float z)
 
bool operator== (const DelayedOp &b) const
 

Public Attributes

OpCode code
 
Quat arg
 

Additional Inherited Members

- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 

Member Enumeration Documentation

enum OpCode
Enumerator
kPreTrans 
kPreRotateX 
kPreRotateY 
kPreRotateZ 
kPreRotate 
275  {
276  kPreTrans,
277  kPreRotateX,
278  kPreRotateY,
279  kPreRotateZ,
280  kPreRotate
281  };
Definition: control.h:280
Definition: control.h:276

Constructor & Destructor Documentation

DelayedOp ( )
inline
284 {}
DelayedOp ( const Point3 p)
inline
285 : code(kPreTrans), arg(p.x, p.y, p.z, 0.0f) {}
float y
Definition: point3.h:55
OpCode code
Definition: control.h:282
Definition: control.h:276
Quat arg
Definition: control.h:283
float z
Definition: point3.h:55
float x
Definition: point3.h:55
DelayedOp ( const Quat q)
inline
286 : code(kPreRotate), arg(q) {}
OpCode code
Definition: control.h:282
Definition: control.h:280
Quat arg
Definition: control.h:283
DelayedOp ( float  x)
inline
287 : code(kPreRotateX), arg(x, 0.0f, 0.0f, 0.0f) {}
controller mat max min numsubs x z controller keys x z controller keys x
Definition: generics.inl:211
OpCode code
Definition: control.h:282
Quat arg
Definition: control.h:283
DelayedOp ( int  ,
float  y 
)
inline
289  : code(kPreRotateY), arg(0.0f, y, 0.0f, 0.0f) {}
OpCode code
Definition: control.h:282
Quat arg
Definition: control.h:283
DelayedOp ( int  ,
int  ,
float  z 
)
inline
291  : code(kPreRotateZ), arg(0.0f, 0.0f, z, 0.0f) {}
OpCode code
Definition: control.h:282
Quat arg
Definition: control.h:283
controller mat max min numsubs x z controller keys x z controller keys x z
Definition: generics.inl:213

Member Function Documentation

bool operator== ( const DelayedOp b) const
inline
Remarks
Compares this class instance to another one
295  {
296  return code == b.code && arg == b.arg;
297  }
OpCode code
Definition: control.h:282
Quat arg
Definition: control.h:283

Member Data Documentation

OpCode code
Quat arg