RigsofRods
Soft-body Physics Simulation
Data Structures | Public Member Functions | Data Fields | Static Public Attributes
RigDef::Animation Struct Reference

#include <RigDef_File.h>

Data Structures

struct  MotorSource
 

Public Member Functions

void AddMotorSource (BitMask_t source, unsigned int motor)
 

Data Fields

float ratio = 0.f
 
float lower_limit = -1.f
 
float upper_limit = -1.f
 
BitMask64_t source = 0
 
std::list< MotorSourcemotor_sources
 
BitMask_t mode = 0
 
Ogre::String event_name
 
Ogre::String dash_link_name
 

Static Public Attributes

static const BitMask64_t SOURCE_AIRSPEED = BITMASK64( 1)
 
static const BitMask64_t SOURCE_VERTICAL_VELOCITY = BITMASK64( 2)
 
static const BitMask64_t SOURCE_ALTIMETER_100K = BITMASK64( 3)
 
static const BitMask64_t SOURCE_ALTIMETER_10K = BITMASK64( 4)
 
static const BitMask64_t SOURCE_ALTIMETER_1K = BITMASK64( 5)
 
static const BitMask64_t SOURCE_ANGLE_OF_ATTACK = BITMASK64( 6)
 
static const BitMask64_t SOURCE_FLAP = BITMASK64( 7)
 
static const BitMask64_t SOURCE_AIR_BRAKE = BITMASK64( 8)
 
static const BitMask64_t SOURCE_ROLL = BITMASK64( 9)
 
static const BitMask64_t SOURCE_PITCH = BITMASK64(10)
 
static const BitMask64_t SOURCE_BRAKES = BITMASK64(11)
 
static const BitMask64_t SOURCE_ACCEL = BITMASK64(12)
 
static const BitMask64_t SOURCE_CLUTCH = BITMASK64(13)
 
static const BitMask64_t SOURCE_SPEEDO = BITMASK64(14)
 
static const BitMask64_t SOURCE_TACHO = BITMASK64(15)
 
static const BitMask64_t SOURCE_TURBO = BITMASK64(16)
 
static const BitMask64_t SOURCE_PARKING = BITMASK64(17)
 
static const BitMask64_t SOURCE_SHIFT_LEFT_RIGHT = BITMASK64(18)
 
static const BitMask64_t SOURCE_SHIFT_BACK_FORTH = BITMASK64(19)
 
static const BitMask64_t SOURCE_SEQUENTIAL_SHIFT = BITMASK64(20)
 
static const BitMask64_t SOURCE_SHIFTERLIN = BITMASK64(21)
 
static const BitMask64_t SOURCE_TORQUE = BITMASK64(22)
 
static const BitMask64_t SOURCE_HEADING = BITMASK64(23)
 
static const BitMask64_t SOURCE_DIFFLOCK = BITMASK64(24)
 
static const BitMask64_t SOURCE_BOAT_RUDDER = BITMASK64(25)
 
static const BitMask64_t SOURCE_BOAT_THROTTLE = BITMASK64(26)
 
static const BitMask64_t SOURCE_STEERING_WHEEL = BITMASK64(27)
 
static const BitMask64_t SOURCE_AILERON = BITMASK64(28)
 
static const BitMask64_t SOURCE_ELEVATOR = BITMASK64(29)
 
static const BitMask64_t SOURCE_AIR_RUDDER = BITMASK64(30)
 
static const BitMask64_t SOURCE_PERMANENT = BITMASK64(31)
 
static const BitMask64_t SOURCE_EVENT = BITMASK64(32)
 
static const BitMask64_t SOURCE_DASHBOARD = BITMASK64(33)
 
static const BitMask64_t SOURCE_SIGNALSTALK = BITMASK64(34)
 
static const BitMask64_t SOURCE_AUTOSHIFTERLIN = BITMASK64(35)
 
static const BitMask64_t SOURCE_GEAR_NEUTRAL = BITMASK64(36)
 
static const BitMask64_t SOURCE_GEAR_REVERSE = BITMASK64(37)
 
static const BitMask_t MODE_ROTATION_X = BITMASK(1)
 
static const BitMask_t MODE_ROTATION_Y = BITMASK(2)
 
static const BitMask_t MODE_ROTATION_Z = BITMASK(3)
 
static const BitMask_t MODE_OFFSET_X = BITMASK(4)
 
static const BitMask_t MODE_OFFSET_Y = BITMASK(5)
 
static const BitMask_t MODE_OFFSET_Z = BITMASK(6)
 
static const BitMask_t MODE_AUTO_ANIMATE = BITMASK(7)
 
static const BitMask_t MODE_NO_FLIP = BITMASK(8)
 
static const BitMask_t MODE_BOUNCE = BITMASK(9)
 
static const BitMask_t MODE_EVENT_LOCK = BITMASK(10)
 

Detailed Description

Definition at line 476 of file RigDef_File.h.

Member Function Documentation

◆ AddMotorSource()

void RigDef::Animation::AddMotorSource ( BitMask_t  source,
unsigned int  motor 
)

Definition at line 166 of file RigDef_File.cpp.

Field Documentation

◆ dash_link_name

Ogre::String RigDef::Animation::dash_link_name

Definition at line 551 of file RigDef_File.h.

◆ event_name

Ogre::String RigDef::Animation::event_name

Definition at line 550 of file RigDef_File.h.

◆ lower_limit

float RigDef::Animation::lower_limit = -1.f

Definition at line 545 of file RigDef_File.h.

◆ mode

BitMask_t RigDef::Animation::mode = 0

Definition at line 549 of file RigDef_File.h.

◆ MODE_AUTO_ANIMATE

const BitMask_t RigDef::Animation::MODE_AUTO_ANIMATE = BITMASK(7)
static

Definition at line 539 of file RigDef_File.h.

◆ MODE_BOUNCE

const BitMask_t RigDef::Animation::MODE_BOUNCE = BITMASK(9)
static

Definition at line 541 of file RigDef_File.h.

◆ MODE_EVENT_LOCK

const BitMask_t RigDef::Animation::MODE_EVENT_LOCK = BITMASK(10)
static

Definition at line 542 of file RigDef_File.h.

◆ MODE_NO_FLIP

const BitMask_t RigDef::Animation::MODE_NO_FLIP = BITMASK(8)
static

Definition at line 540 of file RigDef_File.h.

◆ MODE_OFFSET_X

const BitMask_t RigDef::Animation::MODE_OFFSET_X = BITMASK(4)
static

Definition at line 536 of file RigDef_File.h.

◆ MODE_OFFSET_Y

const BitMask_t RigDef::Animation::MODE_OFFSET_Y = BITMASK(5)
static

Definition at line 537 of file RigDef_File.h.

◆ MODE_OFFSET_Z

const BitMask_t RigDef::Animation::MODE_OFFSET_Z = BITMASK(6)
static

Definition at line 538 of file RigDef_File.h.

◆ MODE_ROTATION_X

const BitMask_t RigDef::Animation::MODE_ROTATION_X = BITMASK(1)
static

Definition at line 533 of file RigDef_File.h.

◆ MODE_ROTATION_Y

const BitMask_t RigDef::Animation::MODE_ROTATION_Y = BITMASK(2)
static

Definition at line 534 of file RigDef_File.h.

◆ MODE_ROTATION_Z

const BitMask_t RigDef::Animation::MODE_ROTATION_Z = BITMASK(3)
static

Definition at line 535 of file RigDef_File.h.

◆ motor_sources

std::list<MotorSource> RigDef::Animation::motor_sources

Definition at line 548 of file RigDef_File.h.

◆ ratio

float RigDef::Animation::ratio = 0.f

Definition at line 544 of file RigDef_File.h.

◆ source

BitMask64_t RigDef::Animation::source = 0

Definition at line 547 of file RigDef_File.h.

◆ SOURCE_ACCEL

const BitMask64_t RigDef::Animation::SOURCE_ACCEL = BITMASK64(12)
static

Definition at line 505 of file RigDef_File.h.

◆ SOURCE_AILERON

const BitMask64_t RigDef::Animation::SOURCE_AILERON = BITMASK64(28)
static

Definition at line 521 of file RigDef_File.h.

◆ SOURCE_AIR_BRAKE

const BitMask64_t RigDef::Animation::SOURCE_AIR_BRAKE = BITMASK64( 8)
static

Definition at line 501 of file RigDef_File.h.

◆ SOURCE_AIR_RUDDER

const BitMask64_t RigDef::Animation::SOURCE_AIR_RUDDER = BITMASK64(30)
static

Definition at line 523 of file RigDef_File.h.

◆ SOURCE_AIRSPEED

const BitMask64_t RigDef::Animation::SOURCE_AIRSPEED = BITMASK64( 1)
static

Definition at line 494 of file RigDef_File.h.

◆ SOURCE_ALTIMETER_100K

const BitMask64_t RigDef::Animation::SOURCE_ALTIMETER_100K = BITMASK64( 3)
static

Definition at line 496 of file RigDef_File.h.

◆ SOURCE_ALTIMETER_10K

const BitMask64_t RigDef::Animation::SOURCE_ALTIMETER_10K = BITMASK64( 4)
static

Definition at line 497 of file RigDef_File.h.

◆ SOURCE_ALTIMETER_1K

const BitMask64_t RigDef::Animation::SOURCE_ALTIMETER_1K = BITMASK64( 5)
static

Definition at line 498 of file RigDef_File.h.

◆ SOURCE_ANGLE_OF_ATTACK

const BitMask64_t RigDef::Animation::SOURCE_ANGLE_OF_ATTACK = BITMASK64( 6)
static

Definition at line 499 of file RigDef_File.h.

◆ SOURCE_AUTOSHIFTERLIN

const BitMask64_t RigDef::Animation::SOURCE_AUTOSHIFTERLIN = BITMASK64(35)
static

Definition at line 528 of file RigDef_File.h.

◆ SOURCE_BOAT_RUDDER

const BitMask64_t RigDef::Animation::SOURCE_BOAT_RUDDER = BITMASK64(25)
static

Definition at line 518 of file RigDef_File.h.

◆ SOURCE_BOAT_THROTTLE

const BitMask64_t RigDef::Animation::SOURCE_BOAT_THROTTLE = BITMASK64(26)
static

Definition at line 519 of file RigDef_File.h.

◆ SOURCE_BRAKES

const BitMask64_t RigDef::Animation::SOURCE_BRAKES = BITMASK64(11)
static

Definition at line 504 of file RigDef_File.h.

◆ SOURCE_CLUTCH

const BitMask64_t RigDef::Animation::SOURCE_CLUTCH = BITMASK64(13)
static

Definition at line 506 of file RigDef_File.h.

◆ SOURCE_DASHBOARD

const BitMask64_t RigDef::Animation::SOURCE_DASHBOARD = BITMASK64(33)
static

Definition at line 526 of file RigDef_File.h.

◆ SOURCE_DIFFLOCK

const BitMask64_t RigDef::Animation::SOURCE_DIFFLOCK = BITMASK64(24)
static

Definition at line 517 of file RigDef_File.h.

◆ SOURCE_ELEVATOR

const BitMask64_t RigDef::Animation::SOURCE_ELEVATOR = BITMASK64(29)
static

Definition at line 522 of file RigDef_File.h.

◆ SOURCE_EVENT

const BitMask64_t RigDef::Animation::SOURCE_EVENT = BITMASK64(32)
static

Definition at line 525 of file RigDef_File.h.

◆ SOURCE_FLAP

const BitMask64_t RigDef::Animation::SOURCE_FLAP = BITMASK64( 7)
static

Definition at line 500 of file RigDef_File.h.

◆ SOURCE_GEAR_NEUTRAL

const BitMask64_t RigDef::Animation::SOURCE_GEAR_NEUTRAL = BITMASK64(36)
static

Definition at line 529 of file RigDef_File.h.

◆ SOURCE_GEAR_REVERSE

const BitMask64_t RigDef::Animation::SOURCE_GEAR_REVERSE = BITMASK64(37)
static

Definition at line 530 of file RigDef_File.h.

◆ SOURCE_HEADING

const BitMask64_t RigDef::Animation::SOURCE_HEADING = BITMASK64(23)
static

Definition at line 516 of file RigDef_File.h.

◆ SOURCE_PARKING

const BitMask64_t RigDef::Animation::SOURCE_PARKING = BITMASK64(17)
static

Definition at line 510 of file RigDef_File.h.

◆ SOURCE_PERMANENT

const BitMask64_t RigDef::Animation::SOURCE_PERMANENT = BITMASK64(31)
static

Definition at line 524 of file RigDef_File.h.

◆ SOURCE_PITCH

const BitMask64_t RigDef::Animation::SOURCE_PITCH = BITMASK64(10)
static

Definition at line 503 of file RigDef_File.h.

◆ SOURCE_ROLL

const BitMask64_t RigDef::Animation::SOURCE_ROLL = BITMASK64( 9)
static

Definition at line 502 of file RigDef_File.h.

◆ SOURCE_SEQUENTIAL_SHIFT

const BitMask64_t RigDef::Animation::SOURCE_SEQUENTIAL_SHIFT = BITMASK64(20)
static

Definition at line 513 of file RigDef_File.h.

◆ SOURCE_SHIFT_BACK_FORTH

const BitMask64_t RigDef::Animation::SOURCE_SHIFT_BACK_FORTH = BITMASK64(19)
static

Definition at line 512 of file RigDef_File.h.

◆ SOURCE_SHIFT_LEFT_RIGHT

const BitMask64_t RigDef::Animation::SOURCE_SHIFT_LEFT_RIGHT = BITMASK64(18)
static

Definition at line 511 of file RigDef_File.h.

◆ SOURCE_SHIFTERLIN

const BitMask64_t RigDef::Animation::SOURCE_SHIFTERLIN = BITMASK64(21)
static

Definition at line 514 of file RigDef_File.h.

◆ SOURCE_SIGNALSTALK

const BitMask64_t RigDef::Animation::SOURCE_SIGNALSTALK = BITMASK64(34)
static

Definition at line 527 of file RigDef_File.h.

◆ SOURCE_SPEEDO

const BitMask64_t RigDef::Animation::SOURCE_SPEEDO = BITMASK64(14)
static

Definition at line 507 of file RigDef_File.h.

◆ SOURCE_STEERING_WHEEL

const BitMask64_t RigDef::Animation::SOURCE_STEERING_WHEEL = BITMASK64(27)
static

Definition at line 520 of file RigDef_File.h.

◆ SOURCE_TACHO

const BitMask64_t RigDef::Animation::SOURCE_TACHO = BITMASK64(15)
static

Definition at line 508 of file RigDef_File.h.

◆ SOURCE_TORQUE

const BitMask64_t RigDef::Animation::SOURCE_TORQUE = BITMASK64(22)
static

Definition at line 515 of file RigDef_File.h.

◆ SOURCE_TURBO

const BitMask64_t RigDef::Animation::SOURCE_TURBO = BITMASK64(16)
static

Definition at line 509 of file RigDef_File.h.

◆ SOURCE_VERTICAL_VELOCITY

const BitMask64_t RigDef::Animation::SOURCE_VERTICAL_VELOCITY = BITMASK64( 2)
static

Definition at line 495 of file RigDef_File.h.

◆ upper_limit

float RigDef::Animation::upper_limit = -1.f

Definition at line 546 of file RigDef_File.h.


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