<commit_before>/*
 *  StandardDynamicStimulus.h
 *
 *  Created by <NAME> on 8/11/10.
 *  Copyright 2010 MIT. All rights reserved.
 *
 */

#ifndef StandardDynamicStimulus_H_
#define StandardDynamicStimulus_H_

#include "DynamicStimulusDriver.h"
#include "MWorksCore/Stimulus.h"

using namespace mw;


class StandardDynamicStimulus : public DynamicStimulusDriver, public Stimulus {

public:
    StandardDynamicStimulus(const std::string &tag, shared_ptr<Variable> framesPerSecond);
    
    virtual ~StandardDynamicStimulus() { }

    virtual void didStop();
    
    virtual bool needDraw();
    virtual void draw(shared_ptr<StimulusDisplay> display);
    virtual void drawFrame(shared_ptr<StimulusDisplay> display, int frameNumber) = 0;
    
protected:<commit_msg>StandardDynamicStimulus::drawFrame doesn't need to be pure virtual<commit_after>/*
 *  StandardDynamicStimulus.h
 *
 *  Created by <NAME> on 8/11/10.
 *  Copyright 2010 MIT. All rights reserved.
 *
 */

#ifndef StandardDynamicStimulus_H_
#define StandardDynamicStimulus_H_

#include "DynamicStimulusDriver.h"
#include "MWorksCore/Stimulus.h"

using namespace mw;


class StandardDynamicStimulus : public DynamicStimulusDriver, public Stimulus {

public:
    StandardDynamicStimulus(const std::string &tag, shared_ptr<Variable> framesPerSecond);
    
    virtual ~StandardDynamicStimulus() { }

    virtual void didStop();
    
    virtual bool needDraw();
    virtual void draw(shared_ptr<StimulusDisplay> display);
    virtual void drawFrame(shared_ptr<StimulusDisplay> display, int frameNumber) { }
    
protected:
{'fraction_non_alphanumeric': 0.08924050632911393, 'fraction_numerical': 0.012025316455696202, 'mean_word_length': 4.833948339483395, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4436399', 'n_tokens_mistral': 508, 'n_tokens_neox': 481, 'n_words': 116}