sys_model

Basilisk base system model class.


class SysModel
#include <sys_model.h>

Simulation System Model Class.

Public Functions

SysModel()
SysModel(const SysModel &obj)

constructor definition

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 = ""

&#8212; name for the algorithm to base off of

uint64_t CallCounts = 0

&#8212; Counts on the model being called

uint32_t RNGSeed = 0x1badcad1

&#8212; Giving everyone a random seed for ease of MC

int64_t moduleID

&#8212; Module ID for this module (handed out by module_id_generator)