CODESYS - Runtime polymorphism using an ITF (OOP) смотреть онлайн
Source code: https://github.com/ATandU?tab=repositories
- Polymorphism is one of the pillars of the OOP and means "Having many forms"
- There is a Compile-time polymorphism also known as static polymorphism or early binding and it can be achieved with functions overloading. (not only)
- The Runtime-time polymorphism also known as dynamic polymorphism or late binding and it is when the function call is resolved at run time. That means, that the specific function to call will be determined at runtime based on the object’s dynamic type. (In our case the ellipse and the rectangle and the M_Area to be invoked)
- In this video, the runtime polymorphic behavior is achieved with an ITF that is implemented by two FB's. The FB's are shapes and have a common property area.
- The object ITF describes a set of method and property prototypes. That means that the methods and properties contain only declarations and no implementation. The implementation must be provided by the FB's that implement the ITF. This allows different function blocks, that have common properties, to be used in the same way. (Calculating the Area of a Shape in our case)
- All the methods and properties in the ITF have the access specifier public.
- The Properties are an extension of the IEC standard and a tool for object-oriented programming. They are used for data encapsulation because they allow external access to data. For this purpose, a property provides the accessor methods Get and Set which allows read and write access to the encapsulated data.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «CODESYS - Runtime polymorphism using an ITF (OOP)» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.