Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Counter Class Reference

#include <sample4.h>

Public Member Functions

 Counter ()
 
int Increment ()
 
void Print () const
 

Detailed Description

Definition at line 38 of file sample4.h.

Constructor & Destructor Documentation

◆ Counter()

Counter::Counter ( )
inline

Definition at line 44 of file sample4.h.

44: counter_(0) {}

Member Function Documentation

◆ Increment()

int Counter::Increment ( )

Definition at line 39 of file sample4.cc.

39 {
40 return counter_++;
41}

◆ Print()

void Counter::Print ( ) const

Definition at line 44 of file sample4.cc.

44 {
45 printf("%d", counter_);
46}
LOGGING_API void printf(Category category, const char *format,...)
Definition Logging.cpp:30

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