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
王京 14fe3d1429
中期检验所用代码以及文档
2 years ago
..
ad 中期检验所用代码以及文档 2 years ago
benchmarking 中期检验所用代码以及文档 2 years ago
proto 中期检验所用代码以及文档 2 years ago
schema 中期检验所用代码以及文档 2 years ago
symbolic 中期检验所用代码以及文档 2 years ago
test 中期检验所用代码以及文档 2 years ago
test_utilities 中期检验所用代码以及文档 2 years ago
trajectories 中期检验所用代码以及文档 2 years ago
yaml 中期检验所用代码以及文档 2 years ago
BUILD.bazel 中期检验所用代码以及文档 2 years ago
README.md 中期检验所用代码以及文档 2 years ago
add_text_logging_gflags.cc 中期检验所用代码以及文档 2 years ago
autodiff.h 中期检验所用代码以及文档 2 years ago
autodiff_overloads.h 中期检验所用代码以及文档 2 years ago
autodiffxd.h 中期检验所用代码以及文档 2 years ago
bit_cast.h 中期检验所用代码以及文档 2 years ago
cond.cc 中期检验所用代码以及文档 2 years ago
cond.h 中期检验所用代码以及文档 2 years ago
constants.h 中期检验所用代码以及文档 2 years ago
copyable_unique_ptr.h 中期检验所用代码以及文档 2 years ago
default_scalars.h 中期检验所用代码以及文档 2 years ago
diagnostic_policy.cc 中期检验所用代码以及文档 2 years ago
diagnostic_policy.h 中期检验所用代码以及文档 2 years ago
double_overloads.cc 中期检验所用代码以及文档 2 years ago
double_overloads.h 中期检验所用代码以及文档 2 years ago
doxygen_cxx.h 中期检验所用代码以及文档 2 years ago
drake_assert.h 中期检验所用代码以及文档 2 years ago
drake_assert_and_throw.cc 中期检验所用代码以及文档 2 years ago
drake_assertion_error.h 中期检验所用代码以及文档 2 years ago
drake_bool.h 中期检验所用代码以及文档 2 years ago
drake_copyable.h 中期检验所用代码以及文档 2 years ago
drake_deprecated.h 中期检验所用代码以及文档 2 years ago
drake_export.h 中期检验所用代码以及文档 2 years ago
drake_marker.cc 中期检验所用代码以及文档 2 years ago
drake_marker.h 中期检验所用代码以及文档 2 years ago
drake_path.cc 中期检验所用代码以及文档 2 years ago
drake_path.h 中期检验所用代码以及文档 2 years ago
drake_throw.h 中期检验所用代码以及文档 2 years ago
dummy_value.h 中期检验所用代码以及文档 2 years ago
eigen_autodiff_types.h 中期检验所用代码以及文档 2 years ago
eigen_types.h 中期检验所用代码以及文档 2 years ago
extract_double.h 中期检验所用代码以及文档 2 years ago
find_cache.cc 中期检验所用代码以及文档 2 years ago
find_cache.h 中期检验所用代码以及文档 2 years ago
find_loaded_library.cc 中期检验所用代码以及文档 2 years ago
find_loaded_library.h 中期检验所用代码以及文档 2 years ago
find_resource.cc 中期检验所用代码以及文档 2 years ago
find_resource.h 中期检验所用代码以及文档 2 years ago
find_runfiles.cc 中期检验所用代码以及文档 2 years ago
find_runfiles.h 中期检验所用代码以及文档 2 years ago
find_runfiles_stub.cc 中期检验所用代码以及文档 2 years ago
fmt.h 中期检验所用代码以及文档 2 years ago
fmt_eigen.cc 中期检验所用代码以及文档 2 years ago
fmt_eigen.h 中期检验所用代码以及文档 2 years ago
fmt_ostream.h 中期检验所用代码以及文档 2 years ago
hash.cc 中期检验所用代码以及文档 2 years ago
hash.h 中期检验所用代码以及文档 2 years ago
identifier.cc 中期检验所用代码以及文档 2 years ago
identifier.h 中期检验所用代码以及文档 2 years ago
is_approx_equal_abstol.h 中期检验所用代码以及文档 2 years ago
is_cloneable.h 中期检验所用代码以及文档 2 years ago
is_less_than_comparable.h 中期检验所用代码以及文档 2 years ago
name_value.h 中期检验所用代码以及文档 2 years ago
network_policy.cc 中期检验所用代码以及文档 2 years ago
network_policy.h 中期检验所用代码以及文档 2 years ago
never_destroyed.h 中期检验所用代码以及文档 2 years ago
nice_type_name.cc 中期检验所用代码以及文档 2 years ago
nice_type_name.h 中期检验所用代码以及文档 2 years ago
nice_type_name_override.cc 中期检验所用代码以及文档 2 years ago
nice_type_name_override.h 中期检验所用代码以及文档 2 years ago
pointer_cast.cc 中期检验所用代码以及文档 2 years ago
pointer_cast.h 中期检验所用代码以及文档 2 years ago
polynomial.cc 中期检验所用代码以及文档 2 years ago
polynomial.h 中期检验所用代码以及文档 2 years ago
random.cc 中期检验所用代码以及文档 2 years ago
random.h 中期检验所用代码以及文档 2 years ago
reset_after_move.h 中期检验所用代码以及文档 2 years ago
reset_on_copy.h 中期检验所用代码以及文档 2 years ago
resource_tool.cc 中期检验所用代码以及文档 2 years ago
scope_exit.h 中期检验所用代码以及文档 2 years ago
scoped_singleton.h 中期检验所用代码以及文档 2 years ago
sorted_pair.cc 中期检验所用代码以及文档 2 years ago
sorted_pair.h 中期检验所用代码以及文档 2 years ago
ssize.h 中期检验所用代码以及文档 2 years ago
temp_directory.cc 中期检验所用代码以及文档 2 years ago
temp_directory.h 中期检验所用代码以及文档 2 years ago
text_logging.cc 中期检验所用代码以及文档 2 years ago
text_logging.h 中期检验所用代码以及文档 2 years ago
timer.cc 中期检验所用代码以及文档 2 years ago
timer.h 中期检验所用代码以及文档 2 years ago
type_safe_index.cc 中期检验所用代码以及文档 2 years ago
type_safe_index.h 中期检验所用代码以及文档 2 years ago
unused.h 中期检验所用代码以及文档 2 years ago
value.cc 中期检验所用代码以及文档 2 years ago
value.h 中期检验所用代码以及文档 2 years ago

README.md

drake/common - note to developers

Use this directory for general purpose C++ utilities that are used throughout Drake. Appropriate contents:

  • general purpose macros
  • utility classes that hide platform dependencies
  • generally-useful containers and adapters
  • preferred aliases for long type names
  • predefined constants
  • and similar code.

Do not include:

  • Example programs
  • Code that is specific to a Drake subarea that could be localized to that subarea.

Put unit tests for the above in the test subdirectory. Tests should have names that match the component being tested, with _test added at the end. Example: common/some_useful_stuff.h has test code common/test/some_useful_stuff_test.cc that generates an executable named some_useful_stuff_test.

Don't forget to add Doxygen documentation for every class and method explaining what they are for. Provide an @code example of how the utility should be used unless it is obvious.