PumpkinBrush
Classes | Functions
Server.cpp File Reference

Server that will receive commands from Clients and send commands to Clients allowing concurrently operations on multiple canvases. More...

#include <SFML/Network.hpp>
#include <string.h>
#include <iostream>
#include <queue>
#include <vector>
#include <thread>
#include <mutex>
#include <map>
#include <condition_variable>
Include dependency graph for Server.cpp:

Classes

struct  metaData
 This struct represents meta data that will be sent to and from the server. It will be used to pack into the SFML API's Packet class and also to unpack that same data. More...
 
class  Painter
 This class represents the operations the threads in the main function of Server.cpp will execute. More...
 

Functions

int main (int argc, char *argv[])
 The entry point into our program. More...
 

Detailed Description

Server that will receive commands from Clients and send commands to Clients allowing concurrently operations on multiple canvases.

Author
Jugal Joshi and Andrew Seedholm
Date
2020-07-12

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

The entry point into our program.