Agrarsense
Public Member Functions | Private Attributes | List of all members
ASensorModel Class Reference

#include <SensorModel.h>

Inheritance diagram for ASensorModel:
Inheritance graph
[legend]
Collaboration diagram for ASensorModel:
Collaboration graph
[legend]

Public Member Functions

void InitAfterSpawn ()
 
ASensorGetAttachedToSensor () const
 
void SetAttachedToSensor (ASensor *NewAttachedToSensor)
 

Private Attributes

TObjectPtr< ASensorAttachedToSensor
 

Detailed Description

Base class for all sensor models.

Definition at line 20 of file SensorModel.h.

Member Function Documentation

◆ GetAttachedToSensor()

ASensor * ASensorModel::GetAttachedToSensor ( ) const
inline

Get the sensor which this is attached to

Definition at line 31 of file SensorModel.h.

32 {
33 return AttachedToSensor;
34 }
TObjectPtr< ASensor > AttachedToSensor
Definition: SensorModel.h:47

◆ InitAfterSpawn()

void ASensorModel::InitAfterSpawn ( )

Should be called after spawning and itial setup is complete

Referenced by USensorFactory::SpawnModelClass().

◆ SetAttachedToSensor()

void ASensorModel::SetAttachedToSensor ( ASensor NewAttachedToSensor)
inline

Set the sensor which this is attached to

Definition at line 38 of file SensorModel.h.

39 {
40 AttachedToSensor = NewAttachedToSensor;
41 }

Referenced by USensorFactory::SpawnModelClass().

Member Data Documentation

◆ AttachedToSensor

TObjectPtr<ASensor> ASensorModel::AttachedToSensor
private

Sensor in which this is attached to

Definition at line 47 of file SensorModel.h.


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