|
| | Echo ()=default |
| |
| | Echo (std::vector< std::string > args) |
| |
| | Echo (int argc, char *argv[]) |
| |
| | Echo (std::string_view name, const FederateInfo &fedInfo) |
| |
| | Echo (std::string_view name, const std::shared_ptr< Core > &core, const FederateInfo &fedInfo) |
| |
| | Echo (std::string_view name, CoreApp &core, const FederateInfo &fedInfo) |
| |
| | Echo (std::string_view name, const std::string &jsonString) |
| |
| | Echo (Echo &&other_echo) noexcept |
| |
| Echo & | operator= (Echo &&other_echo) noexcept |
| |
| virtual void | runTo (Time stopTime_input) override |
| |
| void | addEndpoint (std::string_view endpointName, std::string_view endpointType="") |
| |
| auto | echoCount () const |
| |
| void | setEchoDelay (Time delay) |
| |
| auto | endpointCount () const |
| |
| | App ()=default |
| |
| | App (std::string_view defaultAppName, std::vector< std::string > args) |
| |
| | App (std::string_view defaultAppName, int argc, char *argv[]) |
| |
| | App (std::string_view appName, const FederateInfo &fedInfo) |
| |
| | App (std::string_view appName, const std::shared_ptr< Core > &core, const FederateInfo &fedInfo) |
| |
| | App (std::string_view appName, CoreApp &core, const FederateInfo &fedInfo) |
| |
| | App (std::string_view appName, const std::string &configString) |
| |
| | App (App &&other_app)=default |
| |
| | App (const App &other_app)=delete |
| |
| App & | operator= (App &&app)=default |
| |
| App & | operator= (const App &app)=delete |
| |
| void | loadFile (const std::string &filename, bool enableFederateInterfaceRegistration=true) |
| |
| virtual void | initialize () |
| |
|
virtual void | run () |
| |
| virtual void | finalize () |
| |
| bool | isActive () const |
| |
| const CombinationFederate & | accessUnderlyingFederate () const |
| |
| std::shared_ptr< CombinationFederate > | getUnderlyingFederatePointer () |
| |
|
| void | loadJsonFileConfiguration (const std::string &appName, const std::string &jsonString, bool enableFederateInterfaceRegistration) |
| |
| virtual void | loadTextFile (const std::string &textFile) |
| |
| void | loadInputFiles () |
| |
| void | loadConfigOptions (AppTextParser &aparser) |
| |
|
std::shared_ptr< CombinationFederate > | fed |
| | the federate created for the App
|
| |
|
Time | stopTime = Time::maxVal() |
| | the time the App should stop
|
| |
|
std::string | configFileName |
| | name of the config file used for constructing the federate
|
| |
|
std::string | inputFileName |
| | the name of the app input file
|
| |
|
std::string | outFileName |
| | the name of any output file
|
| |
|
bool | useLocal {false} |
| |
|
bool | fileLoaded {false} |
| |
|
bool | deactivated {false} |
| |
|
bool | quietMode {false} |
| |
|
bool | helpMode {false} |
| |
|
std::vector< std::string > | remArgs |
| |
class implementing an Echo object, which will generate endpoint interfaces and send a data message back to the source at the with a specified delay
the Echo class is NOT threadsafe in general, don't try to use it from multiple threads without external protection, that will result in undefined behavior. One exception is the setEchoDelay function is threadsafe, and const methods will not cause problems but may not give consistent answers if used from multiple threads unless protected.