Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
cxx: ccache.exe clang-cl
upload: true
platform: windows-x86_64
dal_name: mmgr_dal_SimulatedCamera.dll
dal_name: mmgr_dal_SimulatedMicroscope.dll
- name: windows-msvc
runner: windows-latest
cc: ccache cl
Expand All @@ -48,23 +48,23 @@ jobs:
ldflags: -static-libstdc++ -static-libgcc
upload: true
platform: linux-x86_64
dal_name: mmgr_dal_SimulatedCamera.so.0
dal_name: mmgr_dal_SimulatedMicroscope.so.0
strip: strip --strip-unneeded
- name: macos-arm64
runner: macos-15
cc: ccache clang
cxx: ccache clang++
upload: true
platform: macos-arm64
dal_name: mmgr_dal_SimulatedCamera
dal_name: mmgr_dal_SimulatedMicroscope
strip: strip -x
- name: macos-x86_64
runner: macos-15-intel
cc: ccache clang
cxx: ccache clang++
upload: true
platform: macos-x86_64
dal_name: mmgr_dal_SimulatedCamera
dal_name: mmgr_dal_SimulatedMicroscope
strip: strip -x
env:
CC: ${{ matrix.cc }}
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
if: matrix.upload
run: |
mkdir dist
cp builddir/SimulatedCamera.mmdev "dist/${{ matrix.dal_name }}"
cp builddir/SimulatedMicroscope.mmdev "dist/${{ matrix.dal_name }}"

- name: Strip artifact
if: matrix.upload && matrix.strip
Expand All @@ -178,6 +178,6 @@ jobs:
- uses: actions/upload-artifact@v7
if: matrix.upload
with:
name: mmdev-SimulatedCamera-${{ matrix.platform }}
name: mmdev-SimulatedMicroscope-${{ matrix.platform }}
path: dist/
if-no-files-found: error
2 changes: 1 addition & 1 deletion DeviceAdapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "ModuleInterface.h"

MODULE_API void InitializeModuleData() {
RegisterDevice("SimHub", MM::HubDevice, "Hub for simulated camera");
RegisterDevice("SimHub", MM::HubDevice, "Hub for simulated microscope");
}

MODULE_API MM::Device *CreateDevice(const char *name) {
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright 2025-2026 Board of Regents of the University of Wisconsin System
SPDX-License-Identifier: BSD-2-Clause
-->

# SimulatedCamera
# SimulatedMicroscope

A Micro-Manager device adapter that simulates a simple microscope. Like
DemoCamera, it needs no hardware, but its images are more realistic. The
Expand Down Expand Up @@ -45,11 +45,11 @@ just test

## Installing

The build produces `builddir/SimulatedCamera.mmdev`. Currently, you need to
The build produces `builddir/SimulatedMicroscope.mmdev`. Currently, you need to
copy this file into your Micro-Manager installation directory and rename it:

| Platform | File name |
| -------- | ------------------------------- |
| Windows | `mmgr_dal_SimulatedCamera.dll` |
| Linux | `mmgr_dal_SimulatedCamera.so.0` |
| macOS | `mmgr_dal_SimulatedCamera` |
| Platform | File name |
| -------- | ----------------------------------- |
| Windows | `mmgr_dal_SimulatedMicroscope.dll` |
| Linux | `mmgr_dal_SimulatedMicroscope.so.0` |
| macOS | `mmgr_dal_SimulatedMicroscope` |
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ test: _configure_if_not_configured
# Run benchmarks
[positional-arguments]
benchmark *FLAGS: build
./builddir/bench_SimulatedCamera "$@"
./builddir/bench_SimulatedMicroscope "$@"
14 changes: 7 additions & 7 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# of the supported build system for Micro-Manager or mmCoreAndDevices (yet).

project(
'mmdev-SimulatedCamera',
'mmdev-SimulatedMicroscope',
'cpp',
meson_version: '>= 1.8.3',
default_options: [
Expand Down Expand Up @@ -71,7 +71,7 @@ if highway_dep.found()
endif

shared_module(
'SimulatedCamera',
'SimulatedMicroscope',
sources,
dependencies: [
mmdevice_dep,
Expand All @@ -86,10 +86,10 @@ shared_module(
)

test_exe = executable(
'test_SimulatedCamera',
'test_SimulatedMicroscope',
sources
+ [
'test_SimulatedCamera.cpp',
'test_SimulatedMicroscope.cpp',
],
dependencies: [
mmdevice_dep,
Expand All @@ -101,10 +101,10 @@ test_exe = executable(
cpp_args: cpp_args,
)

test('SimulatedCamera tests', test_exe)
test('SimulatedMicroscope tests', test_exe)

bench_exe = executable(
'bench_SimulatedCamera',
'bench_SimulatedMicroscope',
[
'Gaussian2DFilter.cpp',
'bench_SimulatedSpecimen.cpp',
Expand All @@ -118,4 +118,4 @@ bench_exe = executable(
cpp_args: cpp_args,
)

benchmark('SimulatedCamera benchmarks', bench_exe)
benchmark('SimulatedMicroscope benchmarks', bench_exe)
File renamed without changes.
Loading