Drake
rpc_pipe_temp_directory.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
5 namespace drake {
6 namespace common {
7 
8 /// Returns a directory location suitable for temporary files for the call_*
9 /// clients and libraries.
10 /// @return The value of the environment variable TEST_TMPDIR if defined or
11 /// otherwise /tmp. Any trailing / will be stripped from the output.
12 /// @throws std::runtime_error If the path referred to by TEST_TMPDIR or /tmp
13 /// does not exist or is not a directory.
14 std::string GetRpcPipeTempDirectory();
15 
16 } // namespace common
17 } // namespace drake
Definition: automotive_demo.cc:90
std::string GetRpcPipeTempDirectory()
Returns a directory location suitable for temporary files for the call_* clients and libraries...
Definition: rpc_pipe_temp_directory.cc:12