WSF
P6DofSequencer Class Reference

#include <P6DofSequencer.hpp>

Inheritance diagram for P6DofSequencer:
Collaboration diagram for P6DofSequencer:

Classes

struct  SequencerEvent
struct  SequencerAction

Public Member Functions

 P6DofSequencer (P6DofScenario *aScenario)
 ~P6DofSequencer () override
P6DofSequenceroperator= (const P6DofSequencer &other)=delete
P6DofSequencerClone () const
void SetParentVehicle (P6DofVehicle *aParentVehicle) override
bool ProcessInput (UtInput &aInput)
bool Initialize (int64_t aSimTime_nanosec)
void Update (int64_t aSimTime_nanosec)
void AdjustNaming (const std::string &aNamePrefix)
void StartUp (int64_t aSimTime_nanosec)
bool PendingTimeEvents (int64_t aSimTime_nanosec, std::set< int64_t > &aTimeOfEvents_nanosec)
bool ActivateExternally ()
Public Member Functions inherited from P6DofObject
 P6DofObject (P6DofScenario *aScenario)
virtual ~P6DofObject ()=default
P6DofObjectClone () const
P6DofScenarioGetScenario () const
std::string GetName () const
void SetName (const std::string &aName)
P6DofVehicleGetParentVehicle () const

Protected Types

enum  SequencerEventType {
  Timer , LifeTime , AboveAlt_ft , BelowAlt_ft ,
  DynamicPressureAbove_psf , DynamicPressureBelow_psf , StaticPressureAbove_psf , StaticPressureBelow_psf ,
  FuelPercentBelow , GroundDistance_m , NxAbove_g , NxBelow_g ,
  NyAbove_g , NyBelow_g , NzAbove_g , NzBelow_g ,
  ReleasedFromParent , ManualInputTrigger , ManualInputButton , ManualInputButtonReleased ,
  BooleanInput , NoEvent
}
enum  SequencerActionType {
  NoAction , JettisonObject , JettisonSelf , IgniteEngine ,
  IgniteSubObject , IgniteSelfObject , ShutdownSubObject , ShutdownEngine ,
  TerminateThrust , ChangeAeroMode , EnableSizeFactor , SetGraphicalModel ,
  ActivateSubobjectSequencer , EnableControls , DisableControls
}

Protected Member Functions

 P6DofSequencer (const P6DofSequencer &aSrc)
void SetAllEventCounts ()
void CheckForAllEventActivation ()
int64_t TestForActivation (int64_t aSimTime_nanosec)
int64_t GetTimerTime () const
Protected Member Functions inherited from P6DofObject
 P6DofObject (const P6DofObject &aSrc)=default
P6DofObjectoperator= (const P6DofObject &other)=default

Protected Attributes

int64_t mLastSimTime_nanosec
int64_t mElapsedTimer_nanosec
std::vector< SequencerEvent * > mEventList
std::vector< SequencerAction * > mActionList
std::vector< P6DofSequencer * > mSubSequencerList
bool mActivated
bool mAllEvents
size_t mAllEventNeededCount
size_t mAllEventCurrentCount
bool mExternalActivation
Protected Attributes inherited from P6DofObject
P6DofScenariomScenario
P6DofVehiclemParentVehicle
std::string mObjName

Member Enumeration Documentation

◆ SequencerActionType

Enumerator
NoAction 
JettisonObject 
JettisonSelf 
IgniteEngine 
IgniteSubObject 
IgniteSelfObject 
ShutdownSubObject 
ShutdownEngine 
TerminateThrust 
ChangeAeroMode 
EnableSizeFactor 
SetGraphicalModel 
ActivateSubobjectSequencer 
EnableControls 
DisableControls 

◆ SequencerEventType

Enumerator
Timer 
LifeTime 
AboveAlt_ft 
BelowAlt_ft 
DynamicPressureAbove_psf 
DynamicPressureBelow_psf 
StaticPressureAbove_psf 
StaticPressureBelow_psf 
FuelPercentBelow 
GroundDistance_m 
NxAbove_g 
NxBelow_g 
NyAbove_g 
NyBelow_g 
NzAbove_g 
NzBelow_g 
ReleasedFromParent 
ManualInputTrigger 
ManualInputButton 
ManualInputButtonReleased 
BooleanInput 
NoEvent 

Constructor & Destructor Documentation

◆ P6DofSequencer() [1/2]

◆ ~P6DofSequencer()

P6DofSequencer::~P6DofSequencer ( )
override

◆ P6DofSequencer() [2/2]

Member Function Documentation

◆ ActivateExternally()

bool P6DofSequencer::ActivateExternally ( )

◆ AdjustNaming()

void P6DofSequencer::AdjustNaming ( const std::string & aNamePrefix)

◆ CheckForAllEventActivation()

void P6DofSequencer::CheckForAllEventActivation ( )
protected

◆ Clone()

P6DofSequencer * P6DofSequencer::Clone ( ) const

◆ GetTimerTime()

int64_t P6DofSequencer::GetTimerTime ( ) const
protected

References mElapsedTimer_nanosec.

◆ Initialize()

bool P6DofSequencer::Initialize ( int64_t aSimTime_nanosec)

◆ operator=()

P6DofSequencer & P6DofSequencer::operator= ( const P6DofSequencer & other)
delete

References P6DofSequencer().

◆ PendingTimeEvents()

bool P6DofSequencer::PendingTimeEvents ( int64_t aSimTime_nanosec,
std::set< int64_t > & aTimeOfEvents_nanosec )

◆ ProcessInput()

◆ SetAllEventCounts()

void P6DofSequencer::SetAllEventCounts ( )
protected

◆ SetParentVehicle()

void P6DofSequencer::SetParentVehicle ( P6DofVehicle * aParentVehicle)
overridevirtual

Reimplemented from P6DofObject.

References mSubSequencerList, and P6DofObject::SetParentVehicle().

Referenced by ProcessInput().

◆ StartUp()

void P6DofSequencer::StartUp ( int64_t aSimTime_nanosec)

◆ TestForActivation()

◆ Update()

void P6DofSequencer::Update ( int64_t aSimTime_nanosec)

Member Data Documentation

◆ mActionList

std::vector<SequencerAction*> P6DofSequencer::mActionList
protected

◆ mActivated

◆ mAllEventCurrentCount

size_t P6DofSequencer::mAllEventCurrentCount
protected

◆ mAllEventNeededCount

size_t P6DofSequencer::mAllEventNeededCount
protected

◆ mAllEvents

bool P6DofSequencer::mAllEvents
protected

◆ mElapsedTimer_nanosec

int64_t P6DofSequencer::mElapsedTimer_nanosec
protected

◆ mEventList

◆ mExternalActivation

bool P6DofSequencer::mExternalActivation
protected

◆ mLastSimTime_nanosec

int64_t P6DofSequencer::mLastSimTime_nanosec
protected

◆ mSubSequencerList

std::vector<P6DofSequencer*> P6DofSequencer::mSubSequencerList
protected

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved