ToolDAQFramework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
MyToolServiceAdd.h
Go to the documentation of this file.
1 #ifndef MYTOOLServiceAdd_H
2 #define MYTOOLServiceAdd_H
3 
4 #include <string>
5 #include <iostream>
6 
7 #include "Tool.h"
8 
18 class MyToolServiceAdd: public Tool {
19 
20 
21  public:
22 
24  bool Initialise(std::string configfile,DataModel &data);
25  bool Execute();
26  bool Finalise();
27 
28 
29  private:
30 
32  zmq::socket_t* sock;
33  int m_port;
34 
35 };
36 
37 
38 #endif
bool Execute()
Executre function used to perform Tool perpose.
Utilities * m_util
Pointer to utilities class to help with threading.
bool Initialise(std::string configfile, DataModel &data)
Initialise Function for setting up Tool resorces.
int m_port
Port to advertise.
zmq::socket_t * sock
zmq socket pointer for socket to advertise
MyToolServiceAdd()
Simple constructor.
bool Finalise()
Finalise funciton used to clean up resorces.