Skip to content

local-projects/ofxHeartbeat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

ofxHeartbeat

This is an OpenFrameworks addon designed to send out heartbeats over OSC UDP to the performance monitoring app ampm. A heartbeat is a UDP message containing the string 'heart'. By default, ampm accepts these heartbeat messages on port 3002. An example follows:

ofApp.h

#include "ofxHeartbeat.h"

class ofApp : public ofBaseApp {
public:

  ofxHeartbeat hb;
  
}

ofApp.cpp

void ofApp::setup() {

  hb.setup('127.0.0.1', 'my-app-name', 3002);
  hb.start();
  hb.resetCountdown();

}

void ofApp::update() {

  hb.update(ofGetLastFrameTime());

}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%