globals.h 1020 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /******************************************************************************
  2. *
  3. * Copyright (C) 2020 by
  4. * The Salk Institute for Biological Studies
  5. *
  6. * Use of this source code is governed by an MIT-style
  7. * license that can be found in the LICENSE file or at
  8. * https://opensource.org/licenses/MIT.
  9. *
  10. ******************************************************************************/
  11. /**
  12. * This header includes all C++ classes of MCell API.
  13. * File should be used only from outside of this library to avoid cyclic includes.
  14. */
  15. #ifndef API_GLOBALS_H
  16. #define API_GLOBALS_H
  17. #include <memory>
  18. #ifdef _MSC_VER
  19. #undef HAVE_UNISTD_H
  20. #undef HAVE_SYS_TIME_H
  21. #endif
  22. #include "pybind11/include/pybind11/pybind11.h" // make sure we won't include the system header
  23. namespace py = pybind11;
  24. namespace MCell {
  25. namespace API {
  26. class Species;
  27. extern std::shared_ptr<Species> AllMolecules;
  28. extern std::shared_ptr<Species> AllVolumeMolecules;
  29. extern std::shared_ptr<Species> AllSurfaceMolecules;
  30. }
  31. }
  32. #endif // API_GLOBALS_H