Start design of AR abstraction layer

This commit is contained in:
2021-05-28 22:22:22 +02:00
parent cb9f33b6f0
commit d80249cd1c
14 changed files with 1013 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#include "ArSessionStream.h"
namespace openVulkanoCpp::AR::Network
{
ArSessionStream::ArSessionStream(const std::string& serverAddress, std::optional<ArSessionConfig> requestConfig)
{
// TODO
}
void ArSessionStream::Start()
{
}
void ArSessionStream::Stop()
{
}
void ArSessionStream::Pause()
{
ArSession::Pause();
}
std::shared_ptr<ArFrame> ArSessionStream::GetFrame()
{
return nullptr;
}
ArType ArSessionStream::GetArType()
{
return GetCapabilities().GetArType();
}
}