Giter Club home page Giter Club logo

kinetic-cpp-client's Introduction

Build Status Introduction

This repo contains code for producing C and C++ kinetic clients. The C++ library currently does not support Windows at this time because of existing library requirements.

Protocol Version

The client is using version 3.0.0 of the Kinetic-Protocol.

Dependencies

  • CMake
  • Valgrind for memory tests
  • Doxygen/graphviz for generating documentation
  • curl

Initial Setup

  1. Install any missing dependencies
  2. Run cmake . to build a static library, or cmake . -DBUILD_SHARED_LIBS=true to build a shared library.
  3. Run make

Common Developer Tasks

Building the lib: make. It will be in libkinetic_client.a

Running tests: To run the unit test suite, run make check. Tests results will appear on stdout and a JUnit report be written to gtestresults.xml

There is also an integration test suite. This suite reads the environment variable KINETIC_PATH to determine a simulator executable to run tests against. If that variable is not set, it instead assumes that a Kinetic server is running on port 8123 on localhost. To run the integration tests, set KINETIC_PATH if appropriate and run make integration_test. This will write a JUnit report to integrationresults.xml.

Running tests with leak check: Run make test_valgrind for the unit test suite or make integration_test_valgrind for the integration test suite.

Checking code style: make lint. Violations will be printed on stdout.

Generating documentation: make doc. HTML documentation will be generated in docs/

Apply licenses: Run something like ./apply_license.sh my_new_file.cc or ./apply_license.sh src/*.h

kinetic-cpp-client's People

Contributors

alamottemitchell avatar plensing avatar mwudka avatar jphughes avatar chenchongli avatar chiaming2000 avatar

Stargazers

 avatar

Watchers

Sage Weil avatar Samuel Just avatar Ken Dreyer avatar James Cloos avatar Yehuda Sadeh avatar Mark Nelson avatar Dan Mick avatar Ian Colle avatar CephaloBot avatar  avatar

Forkers

isabella232

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.