|
enum | CommState { STATE_INIT,
STATE_WAIT,
STATE_COMM,
STATE_CHECK
} |
|
|
| HorizonsCommunicator (unsigned intervalInSeconds=300, bool useSshTunnel=false, std::string gateway="") |
|
| HorizonsCommunicator (FdSet *fdSetPtr, unsigned intervalInSeconds=300, bool useSshTunnel=false, std::string getway="") |
|
virtual | ~HorizonsCommunicator () |
|
void | getEphem (std::string source, std::string fileName, Date start, Date stop) |
|
void | addHandler (HORIZONS_HANDLER(*handler), void *args=0) |
|
void | removeHandler (HORIZONS_HANDLER(*handler)) |
|
void | registerEphemeris (std::string sourceName, std::string fileName) |
|
void | deregisterEphemeris (std::string sourceName) |
|
void | clearEphemeris () |
|
void | loadFile (std::string name) |
|
void | setFilename (std::string fileName) |
|
void | testFn () |
|
| Communicator () |
|
virtual | ~Communicator () |
|
bool | timedOut () |
|
virtual int | getFd () |
|
void | run () |
|
virtual void | processClientMessage () |
|
void | registerTimeOut () |
|
| SpawnableTask (bool spawn) |
|
virtual | ~SpawnableTask () |
|
void | sendRestartMsg () |
|
void | sendStopMsg () |
|
void | sendHeartBeatMsg () |
|
virtual void | fwdTaskMsg (HorizonsCommunicatorMsg *msg) |
|
| RunnableTask (bool spawnThread) |
|
virtual | ~RunnableTask () |
|
| Runnable (bool spawnThread, RUN_FN(*runFn)) |
|
| Runnable (bool spawnThread, RUN_FN(*runFn), int priority) |
|
virtual | ~Runnable () |
|
void | blockForever () |
|
void | spawn () |
|
HorizonsCommunicator::HorizonsCommunicator |
( |
unsigned |
intervalInSeconds = 300 , |
|
|
bool |
useSshTunnel = false , |
|
|
std::string |
gateway = "" |
|
) |
| |
....................................................................... Constructor.
HorizonsCommunicator::HorizonsCommunicator |
( |
FdSet * |
fdSetPtr, |
|
|
unsigned |
intervalInSeconds = 300 , |
|
|
bool |
useSshTunnel = false , |
|
|
std::string |
gateway = "" |
|
) |
| |
....................................................................... Constructor.
HorizonsCommunicator::~HorizonsCommunicator |
( |
| ) |
|
|
virtual |
....................................................................... Destructor.
void HorizonsCommunicator::addHandler |
( |
HORIZONS_HANDLER * |
fn, |
|
|
void * |
args = 0 |
|
) |
| |
....................................................................... Public method to add a handler to be called when the ephemeris file is updated
void HorizonsCommunicator::clearEphemeris |
( |
| ) |
|
....................................................................... Clear all ephemerides to be watched
void HorizonsCommunicator::deregisterEphemeris |
( |
std::string |
sourceName | ) |
|
....................................................................... Deregister a source to be watched for ephemeris updates
void HorizonsCommunicator::getEphem |
( |
std::string |
source, |
|
|
std::string |
fileName, |
|
|
Date |
start, |
|
|
Date |
stop |
|
) |
| |
....................................................................... Send a message to this object to fetch an ephemeris
void HorizonsCommunicator::loadFile |
( |
std::string |
name | ) |
|
....................................................................... Test method to read a Horizons format file
void HorizonsCommunicator::registerEphemeris |
( |
std::string |
sourceName, |
|
|
std::string |
fileName |
|
) |
| |
....................................................................... Register a source to be watched for ephemeris updates
void HorizonsCommunicator::setFilename |
( |
std::string |
fileName | ) |
|
....................................................................... Set the output filename for the current ephemeris
The documentation for this class was generated from the following files: