Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::AI::Sensor Class Referenceabstract

#include <Sensor.h>

+ Inheritance diagram for Divide::AI::Sensor:

Public Member Functions

virtual ~Sensor ()=default
 
SensorType sensorType () const noexcept
 
virtual void update (U64 deltaTimeUS)=0
 
void updateRange (const vec2< F32 > range) noexcept
 

Protected Member Functions

 Sensor (AIEntity *const parentEntity, const SensorType type) noexcept
 

Protected Attributes

vec2< F32_range
 min/max
 
SensorType _type
 
AIEntity_parentEntity
 

Detailed Description

Definition at line 46 of file Sensor.h.

Constructor & Destructor Documentation

◆ ~Sensor()

virtual Divide::AI::Sensor::~Sensor ( )
virtualdefault

◆ Sensor()

Divide::AI::Sensor::Sensor ( AIEntity *const  parentEntity,
const SensorType  type 
)
inlineprotectednoexcept

Definition at line 55 of file Sensor.h.

Member Function Documentation

◆ sensorType()

SensorType Divide::AI::Sensor::sensorType ( ) const
inlinenoexcept

Definition at line 50 of file Sensor.h.

◆ update()

virtual void Divide::AI::Sensor::update ( U64  deltaTimeUS)
pure virtual

◆ updateRange()

void Divide::AI::Sensor::updateRange ( const vec2< F32 range)
inlinenoexcept

Definition at line 52 of file Sensor.h.

Member Data Documentation

◆ _parentEntity

AIEntity* Divide::AI::Sensor::_parentEntity
protected

Definition at line 63 of file Sensor.h.

◆ _range

vec2<F32> Divide::AI::Sensor::_range
protected

min/max

Definition at line 61 of file Sensor.h.

◆ _type

SensorType Divide::AI::Sensor::_type
protected

Definition at line 62 of file Sensor.h.


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