A C++ SDK for building cyber-physical applications using the Accessor Model
Перейти к файлу
Bryan Hicks 62db905764
Fixed director destruction (#20)
* Added/modified Accessor destructors to clear all scheduled callbacks and destroy children in order first to avoid dangling references. Added Port destructors to disconnect on destruction.

* Fixed director destruction bug
2020-02-25 14:21:51 -08:00
buildsystem Support building for linux and ARM (#16) 2020-02-20 10:28:33 -08:00
cmake Added project files 2019-08-29 10:59:59 -07:00
include/AccessorFramework Fixed director destruction (#20) 2020-02-25 14:21:51 -08:00
src Fixed director destruction (#20) 2020-02-25 14:21:51 -08:00
test Output PDB files for Windows builds, and stop installing googletest (#18) 2020-02-20 11:39:55 -08:00
.gitignore Added project files 2019-08-29 10:59:59 -07:00
CMakeLists.txt Output PDB files for Windows builds, and stop installing googletest (#18) 2020-02-20 11:39:55 -08:00
CODE_OF_CONDUCT.md Initial commit 2019-08-29 10:24:46 -07:00
LICENSE Initial commit 2019-08-29 10:24:44 -07:00
README.md Add pipeline status to README.md 2020-01-14 16:09:32 -08:00
SECURITY.md Initial commit 2019-08-29 10:24:47 -07:00
pipeline.yml Support building for Linux and ARM (#14) 2020-02-05 14:05:12 -08:00

README.md

Build Status

About

The Accessor Framework is a C++ SDK that empowers cyber-physical system application developers to build their applications using the Accessor Model, a component-based programming model originally conceived by researchers at the Industrial Cyber-Physical Systems Center (iCyPhy) at UC Berkeley.

The Accessor Model enables embedded applications to embrace heterogeneous protocol stacks and be highly asynchronous while still being highly deterministic. This enables developers to have well-defined test cases, rigorous specifications, and reliable error checking without sacrificing the performance gains of multi-threading. In addition, the model eliminates the need for explicit thread management, eliminating the potential for deadlocks and greatly reducing the potential for race conditions and other non-deterministic behavior.

The SDK is designed to be cross-platform. It is written entirely in C++ and has no dependencies other than the C++14 Standard Library.

The research paper that inspired this project can be found at https://ieeexplore.ieee.org/document/8343871.

Getting Started

Building from Source

git clone https://github.com/microsoft/AccessorFramework.git
cd AccessorFramework
mkdir build
cd build
cmake ..
cmake --build .

Using in a CMake Project

# CMakeLists.txt
project(myProject)

find_package(AccessorFramework REQUIRED)

add_executable(myProject main.cpp)
target_link_libraries(myProject PRIVATE AccessorFramework)

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.