Coder Social home page Coder Social logo

igtk's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

ed-learner

igtk's Issues

Image manipulation library

Create a ImageBase class capable of storing internally a buffer to hold the data of an image file (i.e. its pixels, considering grayscale, RGB and RGBA pixel families).

For this class, make sure you support the 3 basic special functions (specialized constructor, which reads the data from a file, copy constructor to copy the internal buffer and assignment operator, again, to copy the internal buffer).

For C++1z, implement the remaining two move-semantics move constructor and move assignment operator. This is to show that whenever you add a custom constructor (with a parameter or more), the rule of 3 (or 5) kicks in. The compiler no longer offers you automatically generated implementations of those 3 (or 5) functions.

Write your code in a separate folder. Name it IGTKImage.

Create a RAII mechanism for automatic resource disposal

Implement a using clause using macros, template wrappers and disposal policies for at least these types of resources:

  1. pointers (although we have modern smart pointers)
  2. files
  3. synchronization objects (locks, critical sections, etc.)
  4. network connections
  5. DB connections

Clean-up

Clean the solution and add CMake as the preferred build system top layer.
This way, both Linux and Windows platform support should be available.

Create a thread pool

Design a utility class to dispense a worker thread whenever it is requested by a consumer job.

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.