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.
Msg Variable Name |
Msg Type |
Description |
---|---|---|
someInMsg |
input msg description |
|
some2InMsg |
input msg description |
|
anotherInMsg |
input msg description |
|
anotherCppInMsg |
input msg description |
|
some2OutMsg |
output msg description |
|
someOutMsg |
output msg description |
|
anotherCppOutMsg |
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.
-
AutoCppModule()