Skip to content

Class astrea::astro::Thruster

ClassList > astrea > astro > Thruster

Thruster class representing a thruster on a platform.More...

  • #include <Thruster.hpp>

Inherits the following classes: astrea::astro::Payload

Public Attributes

Type Name
const ThrusterParameters & parameters

Public Functions

Type Name
const ThrusterParameters ThrusterParameters (parent, parameters)
virtual std::size_t get_id () const
Get the ID of the sensor.
Velocity get_impulsive_delta_v () const
Get the impulsive delta-v provided by the thruster.
requires (std::is_base_of_v< FrameReference, Parent_T >) const
Constructor for Thruster .
virtual ~Thruster () = default
Default destructor for Thruster .

Public Functions inherited from astrea::astro::Payload

See astrea::astro::Payload

Type Name
std::size_t generate_id () const
Generate a hash for the payload ID.
virtual std::size_t get_id () const = 0
Get the ID of the payload.
PayloadParameters_T get_parameters () const
Get the payload parameters of the payload.
const PayloadPlatform< Payload_T > *const get_parent () const
Get the parent platform of the payload.

Protected Attributes inherited from astrea::astro::Payload

See astrea::astro::Payload

Type Name
std::size_t _id
Unique identifier for the payload.
PayloadParameters_T _parameters
Payload parameters.
const PayloadPlatform< Payload_T > * _parent
Parent platform.
const PayloadParameters_T & parameters

Protected Functions inherited from astrea::astro::Payload

See astrea::astro::Payload

Type Name
const PayloadParameters_T _id (generate_id())
const PayloadParameters_T _parameters (parameters)
requires (std::is_base_of_v< PayloadPlatform< Payload_T >, Parent_T >) const
Constructs a Payload from a FieldOfView object.
requires (std::is_base_of_v< PayloadPlatform< Payload_T >, Parent_T >) const
Set the parent platform of the payload.
virtual ~Payload () = default
Default destructor for Payload .

Detailed Description

This class inherits from AccessObject and provides functionality for thrusters, including field of view and access management.

Public Attributes Documentation

variable parameters

const ThrusterParameters& astrea::astro::Thruster::parameters;

Public Functions Documentation

function ThrusterParameters

inline const ThrusterParameters astrea::astro::Thruster::ThrusterParameters (
    parent,
    parameters
) 

function get_id

Get the ID of the sensor.

virtual std::size_t astrea::astro::Thruster::get_id () const

Returns:

std::size_t ID of the sensor.

Implements astrea::astro::Payload::get_id


function get_impulsive_delta_v

Get the impulsive delta-v provided by the thruster.

Velocity astrea::astro::Thruster::get_impulsive_delta_v () const

Returns:

Velocity The impulsive delta-v.


function requires

Constructor for Thruster .

template<typename Parent_T>
astrea::astro::Thruster::requires (
    std::is_base_of_v< FrameReference , Parent_T >
) const

Parameters:

  • parent Parent frame reference.
  • parameters Thruster parameters.

function ~Thruster

Default destructor for Thruster .

virtual astrea::astro::Thruster::~Thruster () = default



The documentation for this class was generated from the following file astrea/astro/astro/platforms/thrusters/Thruster.hpp