Skip to content

Commit

Permalink
[larry-robotics#3] Add license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
elfenpiff committed Dec 12, 2023
1 parent a9ad6e6 commit 2fe79bb
Show file tree
Hide file tree
Showing 382 changed files with 4,584 additions and 0 deletions.
12 changes: 12 additions & 0 deletions benchmarks/publish_subscribe/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

use elkodon::service::{process_local, zero_copy};
use elkodon::service::{service_name::ServiceName, Service};
use elkodon_bb_container::semantic_string::SemanticString;
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/compiletests.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

/// ```compile_fail
/// use elkodon::prelude::*;
/// fn main() -> Result<(), Box<dyn std::error::Error>> {
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/config.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Examples
//!
//! ## Publish-Subscriber
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/elk.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Example
//!
//! ## Simple Event Loop
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Elkodon
//!
//! Elkodon is a cutting-edge service-oriented zero-copy lock-free inter-process communication
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/message.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

use core::fmt;

#[repr(C)]
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/port/details/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

pub(crate) mod publisher_connections;
pub(crate) mod subscriber_connections;
12 changes: 12 additions & 0 deletions elkodon/src/port/details/publisher_connections.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

use std::cell::UnsafeCell;

use crate::{
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/port/details/subscriber_connections.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

use std::cell::UnsafeCell;

use elkodon_bb_log::fail;
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/port/event_id.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Example
//!
//! ```
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/port/listener.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Example
//!
//! ```
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/port/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

use std::fmt::Debug;

use tiny_fn::tiny_fn;
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/port/notifier.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Example
//!
//! ```
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/port/port_identifiers.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

use elkodon_bb_log::fatal_panic;
use elkodon_bb_posix::unique_system_id::UniqueSystemId;

Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/port/publisher.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Examples
//!
//! ```
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/port/subscriber.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Example
//!
//! ```
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/prelude.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

pub use crate::elk::Elk;
pub use crate::elk::ElkEvent;
pub use crate::port::event_id::EventId;
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/raw_sample.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

use crate::message::Message;

use core::fmt;
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/sample.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Example
//!
//! ```
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/sample_mut.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Example
//!
//! ```
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/service/builder/event.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Example
//!
//! See [`crate::service`]
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/service/builder/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Example
//!
//! See [`crate::service`]
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/service/builder/publish_subscribe.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Example
//!
//! See [`crate::service`]
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/service/config_scheme.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

use crate::config;
use elkodon_bb_container::semantic_string::SemanticString;
use elkodon_bb_log::fatal_panic;
Expand Down
12 changes: 12 additions & 0 deletions elkodon/src/service/dynamic_config/event.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! # Examples
//!
//! ```
Expand Down
Loading

0 comments on commit 2fe79bb

Please sign in to comment.