This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Syncing project: Full Sync (full)... | |
Updating VCS... | |
Running Bazel info... | |
Command: bazel info --tool_tag=ijwb:CLion --curses=no --color=yes --experimental_ui=no --progress_in_terminal_title=no -- | |
Command: git diff --name-status --no-renames 9f8a3379c42e94890ce2cacda2e8d57c99aa5ca0 | |
Computing VCS working set... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <cmath> | |
#include <memory> | |
#include <utility> | |
#include <vector> | |
#include "System.h" | |
template <typename T> class MBTree; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Demonstrates mild multiple inheritance and Non-Virtual Interface. | |
// The base classes cannot be pure interfaces; they have private data | |
// and code, but unambiguous semantics. The only slightly-odd behavior | |
// is that a static_cast of a derived class to one of the bases shifts | |
// its memory address (see below). | |
#include <iostream> | |
using std::cout; using std::endl; | |
// A base class. | |
class Continuous { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//============================================================================== | |
// STUDY | |
//============================================================================== | |
/** This is the abstract base class for all Simbody studies. | |
... | |
The %Study class has a public interface for users of Studies, and a pure virtual | |
protected interface for implementors of Studies. **/ | |
class Study { | |
public: | |
/** Destructor is virtual to support derived class cleanup. **/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generic CMakeLists.txt for making a Simbody-using executable. | |
# This shows how to use the provided SimbodyConfig.cmake to locate a Simbody | |
# installation on your machine so you can use it from your own code. | |
# You will most likely want to copy some of these lines into your own | |
# CMakeLists.txt rather than use this one verbatim. | |
cmake_minimum_required(VERSION 2.8) | |
project(cloneptr) | |
# List your source and header files here. | |
set(my_source_files cloneptr.cpp) |