ToolDAQFramework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Private Attributes | List of all members
MyToolServiceAdd Class Reference

#include <MyToolServiceAdd.h>

Inheritance diagram for MyToolServiceAdd:

Public Member Functions

 MyToolServiceAdd ()
 Simple constructor. More...
 
bool Execute ()
 Executre function used to perform Tool perpose. More...
 
bool Finalise ()
 Finalise funciton used to clean up resorces. More...
 
bool Initialise (std::string configfile, DataModel &data)
 Initialise Function for setting up Tool resorces. More...
 

Private Attributes

int m_port
 Port to advertise. More...
 
Utilitiesm_util
 Pointer to utilities class to help with threading. More...
 
zmq::socket_t * sock
 zmq socket pointer for socket to advertise More...
 

Detailed Description

This is a template for a Tool to publish a service via ToolDAQ dynamic service discovery. Please fill out the descripton and author information.

Author:
B.Richards
Date:
2019/05/28 10:44:00

Contact: b.ric.nosp@m.hard.nosp@m.s@qmu.nosp@m.l.ac.nosp@m..uk

Definition at line 18 of file MyToolServiceAdd.h.

Constructor & Destructor Documentation

MyToolServiceAdd::MyToolServiceAdd ( )

Simple constructor.

Definition at line 3 of file MyToolServiceAdd.cpp.

Member Function Documentation

bool MyToolServiceAdd::Execute ( )

Executre function used to perform Tool perpose.

Definition at line 32 of file MyToolServiceAdd.cpp.

bool MyToolServiceAdd::Finalise ( )

Finalise funciton used to clean up resorces.

Definition at line 38 of file MyToolServiceAdd.cpp.

bool MyToolServiceAdd::Initialise ( std::string  configfile,
DataModel data 
)

Initialise Function for setting up Tool resorces.

Parameters
configfileThe path and name of the dynamic configuration file to read in.
dataA reference to the transient data class used to pass information between Tools.

Definition at line 6 of file MyToolServiceAdd.cpp.

Member Data Documentation

int MyToolServiceAdd::m_port
private

Port to advertise.

Definition at line 33 of file MyToolServiceAdd.h.

Utilities* MyToolServiceAdd::m_util
private

Pointer to utilities class to help with threading.

Definition at line 31 of file MyToolServiceAdd.h.

zmq::socket_t* MyToolServiceAdd::sock
private

zmq socket pointer for socket to advertise

Definition at line 32 of file MyToolServiceAdd.h.


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