Added vscode

This commit is contained in:
Brad Arant 2020-11-07 17:28:24 -08:00
parent 177bc602af
commit f652ba1f34
6 changed files with 165 additions and 136 deletions

29
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,29 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "gcc-x64",
"compileCommands": "./compile"
},
{
"name": "config",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu17",
"cppStandard": "gnu++17",
"intelliSenseMode": "gcc-x64",
"compileCommands": "./compile"
}
],
"version": 4
}

View File

@ -77,7 +77,13 @@ namespace core {
protocol(line);
send();
if(term)
shutdown("termination requested");
shutdown("termination requested");
}
void TCPSession::onBlockReceived(std::string block) {
coreutils::Log(coreutils::LOG_DEBUG_3) << "[" << block.length() << "]";
if(term)
shutdown("termination requested");
}
void TCPSession::sendToAll() {

View File

@ -83,13 +83,6 @@ namespace core {
TCPServer &server;
///
/// Set this value to control the next read event coming
/// from this socket.
///
// enum Mode {LINE, BLOCK};
protected:
///

View File

@ -30,3 +30,4 @@ fi
echo -n "Building library documentation manual..."
doxygen docs/latex/doxygen.sty >/dev/null 2>/dev/null
echo "OK"