FERS 1.0.0
The Flexible Extensible Radar Simulator
Loading...
Searching...
No Matches
radar::Object Class Reference

Represents a physical object in the radar system. More...

#include "object.h"

+ Inheritance diagram for radar::Object:

Public Member Functions

 Object (Platform *platform, std::string name) noexcept
 Constructor for Object.
 
virtual ~Object ()=default
 
 Object (const Object &)=delete
 
Objectoperator= (const Object &)=delete
 
 Object (Object &&) noexcept=default
 
Objectoperator= (Object &&) noexcept=default
 
math::Vec3 getPosition (const RealType time) const
 Retrieves the position of the object.
 
math::SVec3 getRotation (const RealType time) const
 Retrieves the rotation of the object.
 
PlatformgetPlatform () const noexcept
 Retrieves the associated platform of the object.
 
const std::string & getName () const noexcept
 Retrieves the name of the object.
 

Detailed Description

Represents a physical object in the radar system.

Definition at line 23 of file object.h.

Constructor & Destructor Documentation

◆ Object() [1/3]

radar::Object::Object ( Platform platform,
std::string  name 
)
noexcept

Constructor for Object.

Parameters
platformPointer to the Platform object associated with this Object.
nameThe name of the Object.

Definition at line 32 of file object.h.

32: _platform(platform), _name(std::move(name)) {}

◆ ~Object()

virtual radar::Object::~Object ( )
virtualdefault

◆ Object() [2/3]

radar::Object::Object ( const Object )
delete

◆ Object() [3/3]

radar::Object::Object ( Object &&  )
defaultnoexcept

Member Function Documentation

◆ getName()

const std::string & radar::Object::getName ( ) const
noexcept

Retrieves the name of the object.

Returns
A const reference to the string representing the object's name.

Definition at line 68 of file object.h.

68{ return _name; }

Referenced by simulation::calculatePreviewLinks(), simulation::calculateResponse(), processing::finalizeCwReceiver(), serial::Response::getTransmitterName(), processing::runPulsedFinalizer(), radar::Receiver::setNoiseTemperature(), radar::to_json(), radar::to_json(), and radar::to_json().

+ Here is the caller graph for this function:

◆ getPlatform()

Platform * radar::Object::getPlatform ( ) const
noexcept

Retrieves the associated platform of the object.

Returns
A pointer to the Platform object associated with this object.

Definition at line 61 of file object.h.

61{ return _platform; }

Referenced by simulation::calculateDirectPathContribution(), simulation::calculateReflectedPathContribution(), and simulation::calculateResponse().

+ Here is the caller graph for this function:

◆ getPosition()

math::Vec3 radar::Object::getPosition ( const RealType  time) const

Retrieves the position of the object.

Parameters
timeThe time at which to get the position of the object.
Returns
A math::Vec3 representing the position of the object.

Definition at line 46 of file object.h.

46{ return _platform->getPosition(time); }
math::Vec3 getPosition(const RealType time) const
Gets the position of the platform at a specific time.
Definition platform.h:74

References radar::Platform::getPosition().

Referenced by simulation::calculatePreviewLinks(), simulation::solveRe(), and simulation::solveReDirect().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getRotation()

math::SVec3 radar::Object::getRotation ( const RealType  time) const

Retrieves the rotation of the object.

Parameters
timeThe time at which to get the rotation of the object.
Returns
A math::SVec3 representing the rotation of the object.

Definition at line 54 of file object.h.

54{ return _platform->getRotation(time); }
math::SVec3 getRotation(const RealType time) const
Gets the rotation of the platform at a specific time.
Definition platform.h:82

References radar::Platform::getRotation().

Referenced by radar::FileTarget::getRcs(), and processing::runPulsedFinalizer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=() [1/2]

Object & radar::Object::operator= ( const Object )
delete

◆ operator=() [2/2]

Object & radar::Object::operator= ( Object &&  )
defaultnoexcept

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