/* * ValueEndpoint.hh * * Created on: 9 θών. 2020 γ. * Author: LeonidTitov */ #ifndef UMLIBRARY_TECHNOLOGICAL_ADAPTER_VALUEENDPOINT_HH_ #define UMLIBRARY_TECHNOLOGICAL_ADAPTER_VALUEENDPOINT_HH_ #include "ControlSystemWrapper.hpp" #include "../../processing/acs/VectorAsyncInterface.hh" namespace technological { namespace adapter { struct OnValueEndpointConnect { void operator()( vector::ITechValue * endpoint ) { //endpoint->set( control::Value( 0.0f ) ); } }; struct OnValueEndpointDisconnect { void operator()( vector::ITechValue * endpoint ) { endpoint->set( control::Value( 0.0f ) ); } }; typedef EndpointWrapper ValueEndpoint; }} #endif /* UMLIBRARY_TECHNOLOGICAL_ADAPTER_VALUEENDPOINT_HH_ */