LCOV - code coverage report
Current view: top level - include/state_sim - StateProcessor.h (source / functions) Hit Total Coverage
Test: stochastic_tools Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-21 14:52:30 Functions: 0 0 -
Legend: Lines: hit not hit

          Line data    Source code
       1             : /****************************************************************/
       2             : /* MOOSE - Multiphysics Object Oriented Simulation Environment  */
       3             : /*                                                              */
       4             : /*          All contents are licensed under LGPL V2.1           */
       5             : /*             See LICENSE for full restrictions                */
       6             : /****************************************************************/
       7             : 
       8             : #ifndef STATEPROCESSOR_H
       9             : #define STATEPROCESSOR_H
      10             : 
      11             : #include <string>
      12             : #include <vector>
      13             : 
      14             : /**
      15             :  Object to load and run and manage a state simulation model
      16             :  */
      17           1 : class StateProcessor
      18             : {
      19             : public:
      20             :   // with default value
      21             :   StateProcessor(unsigned int max_time_step, int seed = 0);
      22             :   void setMaxTime(unsigned int time_step);
      23             : 
      24             :   unsigned int nextTime();
      25             :   unsigned int process(unsigned int time_step);
      26             : 
      27             : private:
      28             :   unsigned int _max_time_step;
      29             :   std::vector<unsigned int> _ev_times;
      30             : 
      31             :   void addEv(unsigned int time_step);
      32             : };
      33             : 
      34             : #endif

Generated by: LCOV version 1.11