You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Conception/drake-master/common/proto/rpc_pipe_temp_directory.h

18 lines
521 B

#pragma once
#include <string>
namespace drake {
namespace common {
/// Returns a directory location suitable for temporary files for the call_*
/// clients and libraries.
/// @return The value of the environment variable TEST_TMPDIR if defined or
/// otherwise /tmp. Any trailing / will be stripped from the output.
/// @throws std::exception If the path referred to by TEST_TMPDIR or /tmp
/// does not exist or is not a directory.
std::string GetRpcPipeTempDirectory();
} // namespace common
} // namespace drake