Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97712225
tickcounter.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jan 6, 05:40
Size
323 B
Mime Type
text/x-c
Expires
Wed, Jan 8, 05:40 (2 d)
Engine
blob
Format
Raw Data
Handle
23444768
Attached To
rSYMKIT symkit
tickcounter.cpp
View Options
#include "tickcounter.h"
TickCounter
::
TickCounter
(
count_t
init
)
:
count
(
init
)
{
}
TickCounter
::~
TickCounter
()
{}
void
TickCounter
::
evolve
(
float
)
{
++
count
;
}
void
TickCounter
::
initialize
()
{
}
TickCounter
::
count_t
TickCounter
::
getCount
()
const
{
return
count
;
}
void
TickCounter
::
reset
()
{
count
=
0
;
}
Event Timeline
Log In to Comment