openframeworks / openframeworks/openFrameworks

How about adding comparison feature to ofxOscArgs?

Open
#6,167 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

Hello, openFrameworks users and developers.

Ultimately, I would like to compare ofxOscMessage s. For that reason I would like to implement operator== in ofxOseMessage , but for this I need a operator== function in ofxOscArg s, so I would like to ask opinions.

I am planning to implement to following features in ofxOscArg s (exclude ofxOscArgBlob , ofBuffer is too big.)

  • operator< // exclude ofxOscArgBool
  • operator> // exclude ofxOscArgBool
  • operator==
  • operator!=

Is it great ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the ofxOscArg and ofxOscMessage definitions and reading how their argument types are represented. Confirm the intended comparison behavior for each argument type, excluding ofxOscArgBlob and ordering for ofxOscArgBool; done means the requested operators support comparing OSC arguments and enable comparing messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.