ABSTRACT
Context-oriented programming (COP) treats context explicitly and provides mechanisms to adapt behavior dynamically in reaction to changes in context at runtime. These languages are desirable to context-sensitive embedded software since such software usually works in various contexts of heterogeneous devices and complex environments. Moreover, a practical development requires proper handling of legacy programs and product lines. To realize these characteristics, we have developed a C# framework called Con-textCS that contains the following features: layer creation at runtime, separation of layer managing program, and the layer with annotation. The article presents the structure of ContextCS.
- R. Hirschfeld, P. Costanza and O. Nierstrasz: Context-oriented Programming, Journal of Object Technology, Vol. 7, No. 3, pp. 125- 151, 2008.Google ScholarCross Ref
- M. Appeltauer, R. Hirschfeld, J. Lincke: Declarative Layer Composition with the JCop Programming Language, Journal of Object Technology, Vol. 12, No. 4, 2013.Google Scholar
- M. Appeltauer, R. Hirschfeld, M. Haupt, J. Lincke, M. Perscheid: A Comparison of Context-oriented Programming Languages, In Proceedings of the Workshop on Context-oriented Programming (COP) 2009, ECOOP 2009, pp. 1-6, 2009. Google ScholarDigital Library
- A. Rasche, W. Schult and A. Polze: Self-Adaptive Multithreaded Applications - A Case for Dynamic Aspect Weaving, ARM '05 Proceedings of the 4th workshop on Reective and adaptive middleware systems, Article No.10, 2005. Google ScholarDigital Library
- T. Ruiz-Lpez, C. Rodrguez-Domnguez, M. J. Rodrguez, S. F. Ochoa, J. L. Garrido: Context-Aware Self-adaptations: From Requirements Specification to Code Generation, Ubiquitous Computing and Ambient Intelligence, Context-Awareness and Context-Driven Interaction, LNCS 8276, pp. 46-53, 2013.Google Scholar
- A. Rarau, I. Salomie: Adding context awareness to C#, Smart Sensing and Context, LNCS 4272, pp. 98-112, 2006. Google ScholarDigital Library
Index Terms
- A structure of a c# framework ContextCS based on context-oriented programming
Recommendations
RTCOP: Context-Oriented Programming Framework based on C++ for Application in Embedded Software
ICISS '19: Proceedings of the 2nd International Conference on Information Science and SystemsIn this paper, we propose a context-oriented programming (COP) framework for embedded software based on C++. The framework aims to enable us to apply COP to embedded systems. The next generation of software systems such as the internet of things or ...
A Domain-Theoretic Model Of Nominally-Typed Object-Oriented Programming
The majority of contemporary mainstream object-oriented (OO) software is written using nominally-typed OO programming languages. Extant domain-theoretic models of OOP developed to analyze OO type systems miss crucial features of these mainstream OO ...
OOP via C++, C#...?
This presentation describes our experience in transition from C++ to C# while teaching object-oriented programming.
Comments