![]() |
PhoenixZMQ
2.0.0
Library which integrates zeromq use in Phoenix
|
Go to the source code of this file.
Typedefs | |
typedef std::vector< DataStreamMsg > | PVecMockMessage |
Vector of messages. More... | |
Functions | |
template<typename T > | |
bool | phoenix_addMockMessage (PVecMockMessage &vecOutput, const T &data) |
Add Data in a sequence of mock messages. More... | |
bool | phoenix_closeMockSocket (const PVecMockMessage &vecOutput, const std::string &outputFileName) |
Close a mock socket. More... | |
bool | phoenix_createMockSocket (PVecMockMessage &vecInput, std::string &inputFileName, std::string &outputFileName, const std::string &address, size_t port) |
Create a mock socket. More... | |
bool | phoenix_readMockSocket (PVecMockMessage &vecInput, const std::string &address, size_t port) |
Read a mock socket. More... | |
typedef std::vector<DataStreamMsg > PVecMockMessage |
Vector of messages.
Definition at line 15 of file phoenix_mock_socket.h.
bool phoenix_addMockMessage | ( | PVecMockMessage & | vecOutput, |
const T & | data | ||
) |
Add Data in a sequence of mock messages.
[out] | vecOutput | : vector of messages (sequence of message) |
data | : data to be added into the message |
Definition at line 23 of file phoenix_mock_socket.h.
References data_message_save(), and data_size().
bool phoenix_closeMockSocket | ( | const PVecMockMessage & | vecOutput, |
const std::string & | outputFileName | ||
) |
Close a mock socket.
vecOutput | : vector of output messages to be saved |
outputFileName | : name of the output message file to be written |
Definition at line 53 of file phoenix_mock_socket.cpp.
References data_save().
bool phoenix_createMockSocket | ( | PVecMockMessage & | vecInput, |
std::string & | inputFileName, | ||
std::string & | outputFileName, | ||
const std::string & | address, | ||
size_t | port | ||
) |
Create a mock socket.
[out] | vecInput | : vector of input message to be read |
[out] | inputFileName | : name of the input message file to be loaded |
[out] | outputFileName | : name of the output message file to be written |
address | : host address | |
port | : port to be used |
Definition at line 18 of file phoenix_mock_socket.cpp.
References data_load().
bool phoenix_readMockSocket | ( | PVecMockMessage & | vecInput, |
const std::string & | address, | ||
size_t | port | ||
) |
Read a mock socket.
[out] | vecInput | : vector of input message to be read |
address | : host address | |
port | : port to be used |
Definition at line 38 of file phoenix_mock_socket.cpp.
References data_load().