helics
3.5.2
|
#include <Endpoint.hpp>
Public Member Functions | |
Endpoint (HelicsEndpoint hep) HELICS_NOTHROW | |
Endpoint () HELICS_NOTHROW | |
Endpoint (const Endpoint &endpoint) HELICS_NOTHROW | |
Endpoint & | operator= (const Endpoint &endpoint) |
operator HelicsEndpoint () | |
HelicsEndpoint | baseObject () const |
bool | isValid () const |
bool | hasMessage () const |
void | setDefaultDestination (const std::string &dest) |
const char * | getDefaultDestination () const |
uint64_t | pendingMessageCount () const |
Message | getMessage () |
Message | createMessage () |
void | send (const void *data, size_t data_size) |
void | sendTo (const void *data, size_t data_size, const std::string &dest) |
void | sendAt (const char *data, size_t data_size, HelicsTime time) |
void | sendToAt (const void *data, size_t data_size, const std::string &dest, HelicsTime time) |
void | send (const std::string &data) |
void | sendTo (const std::string &data, const std::string &dest) |
void | sendAt (const std::string &data, HelicsTime time) |
void | sendToAt (const std::string &data, const std::string &dest, HelicsTime time) |
void | send (const std::vector< char > &data) |
void | sendTo (const std::vector< char > &data, const std::string &dest) |
void | sendAt (const std::vector< char > &data, HelicsTime time) |
void | sendToAt (const std::vector< char > &data, const std::string &dest, HelicsTime time) |
void | sendMessage (const Message &message) |
void | sendMessageZeroCopy (Message &message) |
const char * | getName () const |
const char * | getType () |
const char * | getInfo () const |
void | setInfo (const std::string &info) |
Class to manage helics endpoint operations
|
inlineexplicit |
construct from a HelicsEndpoint object
|
inline |
default constructor
|
inline |
copy constructor
|
inline |
get the base HelicsEndpoint object for use in the c API functions
Referenced by helicscpp::Message::newMessageObject().
|
inline |
create a message object
References helicsEndpointCreateMessage().
|
inline |
get the default destination for an endpoint
References helicsEndpointGetDefaultDestination().
|
inline |
get the interface information field of the filter
References helicsEndpointGetInfo().
|
inline |
Get a packet from an endpoint
References helicsEndpointGetMessage().
|
inline |
get the name of the endpoint
References helicsEndpointGetName().
|
inline |
get the specified type of the endpoint
References helicsEndpointGetType().
|
inline |
check if the input is valid
References HELICS_TRUE, and helicsEndpointIsValid().
|
inline |
cast to a HelicsEndpoint object
|
inline |
Returns the number of pending receives for endpoint
References helicsEndpointPendingMessageCount().
|
inline |
send a string to the target destination
data | the information to send |
References helicsEndpointSendBytes().
|
inline |
send a vector of data to the target destination
data | the information to send |
References helicsEndpointSendBytes().
|
inline |
Methods for sending a message send a data block and length
data | pointer to data location |
data_size | the length of the data |
References helicsEndpointSendBytes().
|
inline |
send a data block and length
data | pointer to data location |
data_size | the length of the data |
time | the time to send the message |
References helicsEndpointSendBytesAt().
|
inline |
send a string at a particular time
data | the information to send |
time | the time the message should be delivered |
References helicsEndpointSendBytesAt().
|
inline |
send a vector of data to the target destination at a particular time
data | the information to send |
time | the time the message should be delivered |
References helicsEndpointSendBytesAt().
|
inline |
send a message object
References helicsEndpointSendMessage().
|
inline |
send a message object
References helicsEndpointSendMessageZeroCopy(), and helicscpp::Message::release().
|
inline |
send a string to a particular destination
dest | the target endpoint to send the data to |
data | the information to send |
References helicsEndpointSendBytesTo().
|
inline |
send a vector of data to a particular destination
data | the information to send |
dest | the target endpoint to send the data to |
References helicsEndpointSendBytesTo().
|
inline |
send a data block and length
dest | string name of the destination |
data | pointer to data location |
data_size | the length of the data |
References helicsEndpointSendBytesTo().
|
inline |
send a string to a particular destination at a particular time
data | the information to send |
dest | the target endpoint to send the data to |
time | the time the message should be delivered |
References helicsEndpointSendBytesToAt().
|
inline |
send a vector of data to a particular destination at a particular time
dest | the target endpoint to send the data to |
data | the information to send |
time | the time the message should be delivered |
References helicsEndpointSendBytesToAt().
|
inline |
send a data block and length
data | pointer to data location |
data_size | the length of the data |
dest | destination to send the message to |
time | the time to send the message |
References helicsEndpointSendBytesToAt().
|
inline |
set the default destination for an endpoint
References helicsEndpointSetDefaultDestination().
|
inline |
set the interface information field of the filter
References helicsEndpointSetInfo().