This class may be used to draw blocks in your code. It will show the elapsed time between the begin and the end of the block. Many blocks can be used in the same time, differentiate by a unique identifier (string).
More...
#include <Block.h>
|
static void | begin (const std::string &_uid, const std::string &_message) |
|
static void | end (const std::string &_uid) |
|
This class may be used to draw blocks in your code. It will show the elapsed time between the begin and the end of the block. Many blocks can be used in the same time, differentiate by a unique identifier (string).
class Block
The code below shows a possible use of this class.
Definition at line 40 of file Block.h.
◆ Block() [1/2]
Default constructor.
- Note
- Disable by default.
◆ Block() [2/2]
FEVV::Block::Block |
( |
const Block & |
_Block | ) |
|
|
delete |
Copy constructor.
- Note
- Disable by default.
◆ ~Block()
Destructor.
- Note
- Disable by default.
◆ begin()
static void FEVV::Block::begin |
( |
const std::string & |
_uid, |
|
|
const std::string & |
_message |
|
) |
| |
|
inlinestatic |
Begin a block.
- Parameters
-
[in] | _uid | a unique identifier to distinguish blocks. |
[in] | _message | a message to draw in the standard output. |
Definition at line 67 of file Block.h.
◆ end()
static void FEVV::Block::end |
( |
const std::string & |
_uid | ) |
|
|
inlinestatic |
End a block.
- Parameters
-
[in] | _uid | a unique identifier to distinguish blocks. |
Definition at line 100 of file Block.h.
◆ blocks
Initial value:=
std::map< std::string, FEVV::Block::InnerData >()
Definition at line 150 of file Block.h.
The documentation for this class was generated from the following file:
- /Users/mac/builds/efd823a3/0/MEPP-team/MEPP2/Base/Block.h