Module: autoCppModule

Executive Summary

This is an auto-created sample C++ module. The description is included with the module class definition

Message Connection Descriptions

The following table lists all the module input and output messages. The module msg connection is set by the user from python. The msg type contains a link to the message structure definition, while the description provides information on what this message is used for.

Module I/O Messages

Msg Variable Name

Msg Type

Description

someInMsg

AttRefMsgPayload

input msg description

some2InMsg

AttRefMsgPayload

input msg description

anotherInMsg

CSSConfigMsgPayload

input msg description

anotherCppInMsg

CSSConfigLogMsgPayload

input msg description

some2OutMsg

AttRefMsgPayload

output msg description

someOutMsg

SCStatesMsgPayload

output msg description

anotherCppOutMsg

RWConfigMsgPayload

output msg description


class AutoCppModule : public SysModel
#include <autoCppModule.h>

This is an auto-created sample C++ module. The description is included with the module class definition.

Public Functions

AutoCppModule()

This is the constructor for the module class. It sets default variable values and initializes the various parts of the model

~AutoCppModule()

Module Destructor

void Reset(uint64_t CurrentSimNanos)

This method is used to reset the module and checks that required input messages are connect.

Returns:

void

void UpdateState(uint64_t CurrentSimNanos)

This is the main method that gets called every time the module is updated. Provide an appropriate description.

Returns:

void

void setVarDouble(double)

setter for varDouble property

inline double getVarDouble() const

getter for varDouble property

void setVarInt(int)

setter for varInt property

inline int getVarInt() const

getter for varInt property

Public Members

ReadFunctor<AttRefMsgPayload> someInMsg

input msg description

ReadFunctor<AttRefMsgPayload> some2InMsg

input msg description

ReadFunctor<CSSConfigMsgPayload> anotherInMsg

input msg description

ReadFunctor<CSSConfigLogMsgPayload> anotherCppInMsg

input msg description

Message<AttRefMsgPayload> some2OutMsg

output msg description

Message<SCStatesMsgPayload> someOutMsg

output msg description

Message<RWConfigMsgPayload> anotherCppOutMsg

output msg description

BSKLogger bskLogger

BSK Logging.

Private Members

double varDouble

[units] variable description

int varInt

[units] variable description