Morse Micro IoT SDK  2.9.7
ClassDemo Class Reference

Detailed Description

The ClassDemo class.

Definition at line 26 of file cplusplus_demo.cpp.

Public Member Functions

 ClassDemo (const char *p_comment)
 Constructor for ClassDemo. More...
 
 ~ClassDemo ()
 Destructor for ClassDemo. More...
 
int GetDemoCount ()
 Getter for count value. More...
 
int IncrementDemoCount ()
 Increment count value. More...
 
void SetDemoCount (int value)
 Set the count value. More...
 

Constructor & Destructor Documentation

◆ ClassDemo()

ClassDemo::ClassDemo ( const char *  p_comment)
inlineexplicit

Constructor for ClassDemo.

Parameters
p_commentA string to print with each message

Definition at line 33 of file cplusplus_demo.cpp.

◆ ~ClassDemo()

ClassDemo::~ClassDemo ( )
inline

Destructor for ClassDemo.

Definition at line 43 of file cplusplus_demo.cpp.

Member Function Documentation

◆ GetDemoCount()

int ClassDemo::GetDemoCount ( )
inline

Getter for count value.

Returns
current count value

Definition at line 52 of file cplusplus_demo.cpp.

◆ IncrementDemoCount()

int ClassDemo::IncrementDemoCount ( )
inline

Increment count value.

Returns
count value after increment

Definition at line 61 of file cplusplus_demo.cpp.

◆ SetDemoCount()

void ClassDemo::SetDemoCount ( int  value)
inline

Set the count value.

Parameters
valueThe value to set it to

Definition at line 71 of file cplusplus_demo.cpp.


The documentation for this class was generated from the following file: