Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sl 19 #35

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
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
17 changes: 17 additions & 0 deletions meta-smartlock/COPYING.MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
41 changes: 41 additions & 0 deletions meta-smartlock/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
This README file contains information on the contents of the meta-smartlock layer.

Please see the corresponding sections below for details.

Dependencies
============

URI: <first dependency>
branch: <branch name>

URI: <second dependency>
branch: <branch name>

.
.
.

Patches
=======

Please submit any patches against the meta-smartlock layer to the xxxx mailing list ([email protected])
and cc: the maintainer:

Maintainer: XXX YYYYYY <[email protected]>

Table of Contents
=================

I. Adding the meta-smartlock layer to your build
II. Misc


I. Adding the meta-smartlock layer to your build
=================================================

Run 'bitbake-layers add-layer meta-smartlock'

II. Misc
========

--- replace with specific information about the meta-smartlock layer ---
13 changes: 13 additions & 0 deletions meta-smartlock/conf/layer.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "meta-smartlock"
BBFILE_PATTERN_meta-smartlock = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-smartlock = "6"

LAYERDEPENDS_meta-smartlock = "core"
LAYERSERIES_COMPAT_meta-smartlock = "kirkstone"
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module SmartLock {

struct vec2 {
float x;
float y;
};

@topic
struct lock_t {
@key string id;
boolean locked;
vec2 position;
};

@topic
struct Status {
@key lock_t lock;
};

@topic
struct Control {
@key lock_t lock;
};

};
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

project: opendds_cxx11 {
idlflags += -Wb,export_macro=SmartLock_Export -Wb,export_include=SmartLock_export.h
dcps_ts_flags += -Wb,export_macro=SmartLock_Export -Wb,export_include=SmartLock_export.h
dynamicflags += SMARTLOCK_BUILD_DLL

TypeSupport_Files {
SmartLock.idl
}

IDL_Files {
SmartLockTypeSupport.idl
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@

// -*- C++ -*-
// Definition for Win32 Export directives.
// This file is generated automatically by generate_export_file.pl SmartLock
// ------------------------------
#ifndef SMARTLOCK_EXPORT_H
#define SMARTLOCK_EXPORT_H

#include "ace/config-all.h"

#if defined (ACE_AS_STATIC_LIBS) && !defined (SMARTLOCK_HAS_DLL)
# define SMARTLOCK_HAS_DLL 0
#endif /* ACE_AS_STATIC_LIBS && SMARTLOCK_HAS_DLL */

#if !defined (SMARTLOCK_HAS_DLL)
# define SMARTLOCK_HAS_DLL 1
#endif /* ! SMARTLOCK_HAS_DLL */

#if defined (SMARTLOCK_HAS_DLL) && (SMARTLOCK_HAS_DLL == 1)
# if defined (SMARTLOCK_BUILD_DLL)
# define SmartLock_Export ACE_Proper_Export_Flag
# define SMARTLOCK_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
# define SMARTLOCK_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
# else /* SMARTLOCK_BUILD_DLL */
# define SmartLock_Export ACE_Proper_Import_Flag
# define SMARTLOCK_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
# define SMARTLOCK_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
# endif /* SMARTLOCK_BUILD_DLL */
#else /* SMARTLOCK_HAS_DLL == 1 */
# define SmartLock_Export
# define SMARTLOCK_SINGLETON_DECLARATION(T)
# define SMARTLOCK_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#endif /* SMARTLOCK_HAS_DLL == 1 */

// Set SMARTLOCK_NTRACE = 0 to turn on library specific tracing even if
// tracing is turned off for ACE.
#if !defined (SMARTLOCK_NTRACE)
# if (ACE_NTRACE == 1)
# define SMARTLOCK_NTRACE 1
# else /* (ACE_NTRACE == 1) */
# define SMARTLOCK_NTRACE 0
# endif /* (ACE_NTRACE == 1) */
#endif /* !SMARTLOCK_NTRACE */

#if (SMARTLOCK_NTRACE == 1)
# define SMARTLOCK_TRACE(X)
#else /* (SMARTLOCK_NTRACE == 1) */
# if !defined (ACE_HAS_TRACE)
# define ACE_HAS_TRACE
# endif /* ACE_HAS_TRACE */
# define SMARTLOCK_TRACE(X) ACE_TRACE_IMPL(X)
# include "ace/Trace.h"
#endif /* (SMARTLOCK_NTRACE == 1) */

#endif /* SMARTLOCK_EXPORT_H */

// End of auto generated file.
Loading