|
ToolDAQFramework
|
#include <MyToolServiceAdd.h>
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... | |
| Utilities * | m_util |
| Pointer to utilities class to help with threading. More... | |
| zmq::socket_t * | sock |
| zmq socket pointer for socket to advertise More... | |
This is a template for a Tool to publish a service via ToolDAQ dynamic service discovery. Please fill out the descripton and author information.
Contact: b.richards@qmul.ac.uk
Definition at line 18 of file MyToolServiceAdd.h.
| MyToolServiceAdd::MyToolServiceAdd | ( | ) |
Simple constructor.
Definition at line 3 of file MyToolServiceAdd.cpp.
| 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.
| configfile | The path and name of the dynamic configuration file to read in. |
| data | A reference to the transient data class used to pass information between Tools. |
Definition at line 6 of file MyToolServiceAdd.cpp.
|
private |
Port to advertise.
Definition at line 33 of file MyToolServiceAdd.h.
|
private |
Pointer to utilities class to help with threading.
Definition at line 31 of file MyToolServiceAdd.h.
|
private |
zmq socket pointer for socket to advertise
Definition at line 32 of file MyToolServiceAdd.h.
1.8.5