36 lines
950 B
C++
36 lines
950 B
C++
/*
|
||
* PhaseSpaceEndpoint.hh
|
||
*
|
||
* Created on: 9 июн. 2020 г.
|
||
* Author: LeonidTitov
|
||
*/
|
||
|
||
#ifndef UMLIBRARY_TECHNOLOGICAL_ADAPTER_PHASESPACEENDPOINT_HH_
|
||
#define UMLIBRARY_TECHNOLOGICAL_ADAPTER_PHASESPACEENDPOINT_HH_
|
||
|
||
#include "ControlSystemWrapper.hpp"
|
||
|
||
#include "../../processing/acs/VectorAsyncInterface.hh"
|
||
|
||
namespace technological { namespace adapter {
|
||
|
||
struct OnPhaseSpaceEndpointConnect {
|
||
void operator()( vector::IPhaseSpaceValue * endpoint ) {
|
||
//endpoint->set( control::PhaseSpaceValue( 0.0f, 0.0f ) );
|
||
}
|
||
};
|
||
|
||
struct OnPhaseSpaceEndpointDisconnect {
|
||
void operator()( vector::IPhaseSpaceValue * endpoint ) {
|
||
endpoint->set( control::PhaseSpaceValue( 0.0f, 0.0f ) );
|
||
}
|
||
};
|
||
|
||
typedef EndpointWrapper<vector::IPhaseSpaceValue, vector::IPhaseSpaceValue, OnPhaseSpaceEndpointConnect, OnPhaseSpaceEndpointDisconnect> PhaseSpaceEndpoint;
|
||
|
||
}}
|
||
|
||
|
||
|
||
#endif /* UMLIBRARY_TECHNOLOGICAL_ADAPTER_PHASESPACEENDPOINT_HH_ */
|