You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
To adhere to the patterns established in other modules, the SAMPLE app should employ a consistent pattern to its local variables and functions. There is currently a mixture of different styles.
Describe the solution you'd like
All global scope items should start with SAMPLE_ (not Sample_ or otherwise)
All runtime data should be inside a global struct (already is for the most part)
Members of the global struct do NOT use the SAMPLE_ prefix (name is already qualified/namespace protected).
Command handling functions should match the name of the command
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
Update SAMPLE to better correlate with the naming conventions used
elsewhere and documented in the CFE naming conventions
- Put all global runtime data into a single "SAMPLE_AppData" object
- Name all global-scope identifiers consistently with a "SAMPLE_" prefix
- Do not use SAMPLE prefix for members already inside global
- Command handlers named to match the command they process
- Command handlers return an int32 status value
- Telemetry payload defined in a separate structure
- Member names in telemetry struct following convention in the
CFE naming convention document.
Update SAMPLE to better correlate with the naming conventions used
elsewhere and documented in the CFE naming conventions
- Put all global runtime data into a single "SAMPLE_AppData" object
- Name all global-scope identifiers consistently with a "SAMPLE_" prefix
- Do not use SAMPLE prefix for members already inside global
- Command handlers named to match the command they process
- Command handlers return an int32 status value
- Telemetry payload defined in a separate structure
- Member names in telemetry struct following convention in the
CFE naming convention document.
Is your feature request related to a problem? Please describe.
To adhere to the patterns established in other modules, the SAMPLE app should employ a consistent pattern to its local variables and functions. There is currently a mixture of different styles.
Describe the solution you'd like
SAMPLE_
(notSample_
or otherwise)SAMPLE_
prefix (name is already qualified/namespace protected).Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: