ChimeraTK-ApplicationCore 04.06.00
Loading...
Searching...
No Matches
ChimeraTK::ConnectionMaker Class Reference

#include <ConnectionMaker.h>

+ Inheritance diagram for ChimeraTK::ConnectionMaker:
+ Collaboration diagram for ChimeraTK::ConnectionMaker:

Public Member Functions

 ConnectionMaker (Application &app)
 
void finalise ()
 Finalise the model and register all PVs with the control system adapter.
 
void optimiseUnmappedVariables (const std::set< std::string > &names)
 Execute the optimisation request from the control system adapter (remove unused variables)
 
void connect ()
 Realise connections.
 
template<typename UserType >
boost::shared_ptr< NDRegisterAccessor< UserType > > createDeviceVariable (VariableNetworkNode const &node)
 
- Public Member Functions inherited from ChimeraTK::NetworkVisitor
 NetworkVisitor (Application &app)
 
void setDebugConnections (bool enable)
 
template<typename... Args>
void debug (Args &&... args)
 

Additional Inherited Members

- Protected Types inherited from ChimeraTK::NetworkVisitor
template<typename UserType >
using AccessorMap = std::map< std::string, boost::shared_ptr< ChimeraTK::NDRegisterAccessor< UserType > > >
 
- Protected Member Functions inherited from ChimeraTK::NetworkVisitor
NetworkInformation checkNetwork (Model::ProcessVariableProxy &proxy)
 
void finaliseNetwork (NetworkInformation &net)
 
NetworkInformation checkAndFinaliseNetwork (Model::ProcessVariableProxy &proxy)
 
template<typename UserType >
void createProcessVariable (const VariableNetworkNode &node, size_t length, const std::string &unit, const std::string &description, AccessModeFlags flags)
 
template<typename... Args>
void debug (Args &&...)
 
- Protected Attributes inherited from ChimeraTK::NetworkVisitor
std::set< std::string > _triggerNetworks {}
 
std::map< std::string, NetworkInformation_networks {}
 
bool _debugConnections {false}
 
ChimeraTK::TemplateUserTypeMap< AccessorMap_decoratedPvImpls
 
Application_app
 

Detailed Description

Definition at line 76 of file ConnectionMaker.h.

Constructor & Destructor Documentation

◆ ConnectionMaker()

ChimeraTK::ConnectionMaker::ConnectionMaker ( Application app)
inlineexplicit

Definition at line 78 of file ConnectionMaker.h.

Member Function Documentation

◆ connect()

void ChimeraTK::ConnectionMaker::connect ( )

Realise connections.

Must be called exactly once after finalise().

Definition at line 438 of file ConnectionMaker.cc.

◆ createDeviceVariable()

template<typename UserType >
boost::shared_ptr< NDRegisterAccessor< UserType > > ChimeraTK::ConnectionMaker::createDeviceVariable ( VariableNetworkNode const &  node)

Definition at line 688 of file ConnectionMaker.cc.

◆ finalise()

void ChimeraTK::ConnectionMaker::finalise ( )

Finalise the model and register all PVs with the control system adapter.

The connections itself are not yet realised, to allow optimising them with information from the control system adapter.

Must be called exactly once before connect().

Definition at line 387 of file ConnectionMaker.cc.

◆ optimiseUnmappedVariables()

void ChimeraTK::ConnectionMaker::optimiseUnmappedVariables ( const std::set< std::string > &  names)

Execute the optimisation request from the control system adapter (remove unused variables)

Definition at line 987 of file ConnectionMaker.cc.


The documentation for this class was generated from the following files: