21#ifndef MODELS_SUPPORT_EXTERNAL_INTERFACE_MODEL
22#define MODELS_SUPPORT_EXTERNAL_INTERFACE_MODEL
80 const std::string &ip,
int port);
87 const std::string shmem_address);
94 int16
start()
override;
#define START_PARAMS
Definition appmacros.h:42
#define END_OUTPUTS
Definition appmacros.h:33
#define END_PARAMS
Definition appmacros.h:47
#define START_OUTPUTS
Definition appmacros.h:28
#define END_INPUTS
Definition appmacros.h:40
#define START_INPUTS
Definition appmacros.h:35
Definition DataIOBase.h:63
Base app class for derived implementation.
Definition App.h:55
Executive derivation specifically to run flight systems.
Definition FlightExecutive.h:46
void connectExternalSharedMemory(clockwerk::DataIOBase &signal, std::string mode, const std::string shmem_address)
Connect a signal to an external shared memory.
Definition ExternalInterfaceModel.cpp:48
virtual ~ExternalInterfaceModel()
Definition ExternalInterfaceModel.cpp:29
int16 execute() override
Definition ExternalInterfaceModel.cpp:63
void connectExternalSocket(clockwerk::DataIOBase &signal, std::string mode, const std::string &ip, int port)
Connect a signal to an external socket.
Definition ExternalInterfaceModel.cpp:38
int _syncSockets()
Synchronize all sockets to external.
Definition ExternalInterfaceModel.cpp:86
std::vector< DataIOShmemRelay * > _shmem_relays
Definition ExternalInterfaceModel.h:107
int _syncShmem()
Synchronize all shared memory to external.
Definition ExternalInterfaceModel.cpp:100
ExternalInterfaceModel(warpos::FlightExecutive &executive)
Definition ExternalInterfaceModel.cpp:24
int16 start() override
Definition ExternalInterfaceModel.cpp:58
std::vector< DataIOSocketRelay * > _socket_relays
Definition ExternalInterfaceModel.h:106
Class to propagate CR3BP dynamics in characteristic units.
Definition statistics.hpp:22