Plain Old C++ Object
This article needs more citations. (August 2026) |
Like the term POJO (Plain Old Java Object) in the Java world, the term Plain Old C++ object or its acronym POCO means a C++ artifact that is neither defined by nor coupled to the underlying C++ component framework that manipulates it. A C++ object may be plain old data (POD).[1]
Examples of such an artifact include, for instance, instances of C++ classes, K&R structs, unions, or even functions (as function pointers). This is contrast to component model in classic C++ component frameworks, such as OMG-CCM, JTRS-SCA core framework (CF), OpenSOA's SCA for C++. These classic component frameworks either dedicate a proprietary component programming model (a super class), or mandate component implementations to be tightly coupled to the underlying framework (calling its runtime).
See also
[edit]- Plain old data structure (POD, also known as a passive data structure)
- Plain Old Java Object (POJO)
- Plain Old CLR Object (also abbreviated POCO)
References
[edit]- ↑ Malenfant, Jacques; Moisan, Sabine; Moreira, Ana (26 June 2003). Object-Oriented Technology: ECOOP 2000 Workshop Reader: ECOOP 2000 Workshops, Panels, and Posters Sophia Antipolis and Cannes, France, June 12-16, 2000 Proceedings. Springer. p. 90. ISBN 978-3-540-44555-5. Retrieved 23 August 2026.
External links
[edit]- PocoCapsule/C++ An open source C++ component framework supporting plain old C++ objects.