C++ 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 diagram and table list all the module input and output messages. The module message connection is set by the user from Python. The message type contains a link to the message structure definition, while the description provides information on what this message is used for.
Msg Variable Name |
Msg Type |
Description |
|---|---|---|
someInMsg |
Input message description. |
|
some2InMsg |
Input message description. |
|
anotherInMsg |
Input message description. |
|
anotherCppInMsg |
Input message description. |
|
some2OutMsg |
Output message description. |
|
someOutMsg |
Output message description. |
|
anotherCppOutMsg |
Output message 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() = default
-
void Reset(uint64_t CurrentSimNanos)
This method is used to reset the module and checks that required input messages are connect.
-
void UpdateState(uint64_t CurrentSimNanos)
This is the main method that gets called every time the module is updated. Provide an appropriate description.
-
void setVarDouble(double)
setter for
varDoubleproperty
-
inline double getVarDouble() const
getter for
varDoubleproperty
-
void setVarInt(int)
setter for
varIntproperty
-
inline int getVarInt() const
getter for
varIntproperty
Public Members
-
ReadFunctor<AttRefMsgPayload> someInMsg
Input message description.
-
ReadFunctor<AttRefMsgPayload> some2InMsg
Input message description.
-
ReadFunctor<CSSConfigMsgPayload> anotherInMsg
Input message description.
-
ReadFunctor<CSSConfigLogMsgPayload> anotherCppInMsg
Input message description.
-
Message<AttRefMsgPayload> some2OutMsg
Output message description.
-
Message<SCStatesMsgPayload> someOutMsg
Output message description.
-
Message<DataStorageStatusMsgPayload> anotherCppOutMsg
Output message description.
-
BSKLogger bskLogger
BSK Logging.
-
AutoCppModule()