sys_model

Basilisk base system model class.


class SysModel
#include <sys_model.h>

Simulation System Model Class.

Public Functions

SysModel()
SysModel(const SysModel &obj)

Copy constructor for SysModel.

This constructor initializes a new SysModel instance by copying data from another SysModel instance.

Parameters:

obj – The SysModel object to copy data from.

inline virtual ~SysModel()
inline virtual void SelfInit()

Initializes the module, create messages

inline virtual void IntegratedInit()

???

inline virtual void UpdateState(uint64_t CurrentSimNanos)

Reads incoming messages, performs module actions, writes output messages

inline virtual void Reset(uint64_t CurrentSimNanos)

Called at simulation initialization, resets module to specified time

Public Members

std::string ModelTag = ""

Basilisk module tag name.

uint64_t CallCounts = 0

Counts on the model being called.

uint32_t RNGSeed = 0x1badcad1

Giving everyone a random seed for ease of MC.

int64_t moduleID

Module ID for this module (handed out by module_id_generator)