<commit_before>/** @file
    @brief Implementation

    @date 2014

    @author
    <NAME>
    <<EMAIL>>
    <http://sensics.com>
*/

// Copyright 2014 Sensics, Inc.
//
// All rights reserved.
//
// (Final version intended to be licensed under
// the Apache License, Version 2.0)

// Internal Includes
#include <ogvr/PluginKit/Connection.h>
#include <ogvr/Util/SharedPtr.h>
#include "VrpnBasedConnection.h"

// Library/third-party includes
// - none

// Standard includes
// - none

namespace ogvr {
ConnectionPtr Connection::createLocalConnection() {
    ConnectionPtr conn(
        make_shared<VrpnBasedConnection>(VrpnBasedConnection::VRPN_LOCAL_ONLY));
    return conn;
}
ConnectionPtr Connection::createSharedConnection() {
    /// @todo implement
    return ConnectionPtr();
}
Connection::~Connection() {}
Connection::Connection() {}
} // end of namespace ogvr<commit_msg>Implement creating shared connection.<commit_after>/** @file
    @brief Implementation

    @date 2014

    @author
    <NAME>
    <<EMAIL>>
    <http://sensics.com>
*/

// Copyright 2014 Sensics, Inc.
//
// All rights reserved.
//
// (Final version intended to be licensed under
// the Apache License, Version 2.0)

// Internal Includes
#include <ogvr/PluginKit/Connection.h>
#include <ogvr/Util/SharedPtr.h>
#include "VrpnBasedConnection.h"

// Library/third-party includes
// - none

// Standard includes
// - none

namespace ogvr {
ConnectionPtr Connection::createLocalConnection() {
    ConnectionPtr conn(
        make_shared<VrpnBasedConnection>(VrpnBasedConnection::VRPN_LOCAL_ONLY));
    return conn;
}
ConnectionPtr Connection::createSharedConnection() {
    ConnectionPtr conn(
        make_shared<VrpnBasedConnection>(VrpnBasedConnection::VRPN_SHARED));
    return conn;
}
}
Connection::~Connection() {}
Connection::Connection() {}
} // end of namespace ogvr
{'fraction_non_alphanumeric': 0.1314935064935065, 'fraction_numerical': 0.010822510822510822, 'mean_word_length': 3.7777777777777777, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7129618', 'n_tokens_mistral': 569, 'n_tokens_neox': 545, 'n_words': 131}