mirror of
https://github.com/nasa/trick.git
synced 2025-02-20 17:22:52 +00:00
closes #1260
This commit is contained in:
parent
7c58425f9a
commit
3bece7f73e
@ -29,6 +29,7 @@ namespace Trick {
|
|||||||
void set_port(unsigned short in_port) ;
|
void set_port(unsigned short in_port) ;
|
||||||
|
|
||||||
std::string get_user_tag() ;
|
std::string get_user_tag() ;
|
||||||
|
std::string& get_user_tag_ref() ;
|
||||||
void set_user_tag(std::string in_tag) ;
|
void set_user_tag(std::string in_tag) ;
|
||||||
|
|
||||||
void set_source_address(const char * address) ;
|
void set_source_address(const char * address) ;
|
||||||
|
@ -47,6 +47,10 @@ std::string Trick::VariableServerListenThread::get_user_tag() {
|
|||||||
return user_tag ;
|
return user_tag ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string& Trick::VariableServerListenThread::get_user_tag_ref() {
|
||||||
|
return user_tag ;
|
||||||
|
}
|
||||||
|
|
||||||
void Trick::VariableServerListenThread::set_user_tag(std::string in_tag) {
|
void Trick::VariableServerListenThread::set_user_tag(std::string in_tag) {
|
||||||
user_tag = in_tag ;
|
user_tag = in_tag ;
|
||||||
}
|
}
|
||||||
|
@ -434,7 +434,7 @@ extern "C" void var_server_set_source_address(const char * source_address) {
|
|||||||
* C wrapper Trick::VariableServer::get_user_tag
|
* C wrapper Trick::VariableServer::get_user_tag
|
||||||
*/
|
*/
|
||||||
extern "C" const char * var_server_get_user_tag(void) {
|
extern "C" const char * var_server_get_user_tag(void) {
|
||||||
return(the_vs->get_listen_thread().get_user_tag().c_str()) ;
|
return(the_vs->get_listen_thread().get_user_tag_ref().c_str()) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user