ChimeraTK-ApplicationCore  04.01.00
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. More...
 
void optimiseUnmappedVariables (const std::set< std::string > &names)
 Execute the optimisation request from the control system adapter (remove unused variables) More...
 
void connect ()
 Realise connections. More...
 
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 74 of file ConnectionMaker.h.

Constructor & Destructor Documentation

◆ ConnectionMaker()

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

Definition at line 76 of file ConnectionMaker.h.

Member Function Documentation

◆ connect()

void ChimeraTK::ConnectionMaker::connect ( )

Realise connections.

Must be called exactly once after finalise().

Definition at line 373 of file ConnectionMaker.cc.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createDeviceVariable()

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

Definition at line 608 of file ConnectionMaker.cc.

+ Here is the call graph for this function:

◆ 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 327 of file ConnectionMaker.cc.

+ Here is the caller graph for this function:

◆ 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 894 of file ConnectionMaker.cc.

+ Here is the caller graph for this function:

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