#include <ArLogFileConnection.h>
Inheritance diagram for ArLogFileConnection:

Definition at line 36 of file ArLogFileConnection.h.
Public Types | |
| enum | Open { OPEN_FILE_NOT_FOUND = 1, OPEN_NOT_A_LOG_FILE } |
Public Member Functions | |
| ArLogFileConnection () | |
| Constructor. | |
| virtual bool | close (void) |
| const char * | getLogFile (void) |
| Gets the name of the host connected to. | |
| virtual const char * | getOpenMessage (int messageNumber) |
| virtual int | getStatus (void) |
| virtual ArTime | getTimeRead (int index) |
| int | internalOpen (void) |
| Internal function used by open and openSimple. | |
| virtual bool | isTimeStamping (void) |
| int | open (const char *fname=NULL) |
| Opens a connection to the given host and port. | |
| virtual bool | openSimple (void) |
| virtual int | read (const char *data, unsigned int size, unsigned int msWait=0) |
| void | setLogFile (const char *fname=NULL) |
| virtual int | write (const char *data, unsigned int size) |
| virtual | ~ArLogFileConnection () |
| Destructor also closes connection. | |
Public Attributes | |
| bool | havePose |
| char | myName [100] |
| ArPose | myPose |
| char | mySubtype [20] |
| char | myType [20] |
Protected Member Functions | |
| void | buildStrMap (void) |
Protected Attributes | |
| FILE * | myFD |
| const char * | myLogFile |
| int | myStatus |
| ArStrMap | myStrMap |
| int | stopAfter |
|
|
Definition at line 69 of file ArLogFileConnection.h. |
|
|
Gets the name of the host connected to.
Definition at line 248 of file ArLogFileConnection.cpp. |
|
|
Opens a connection to the given host and port.
Definition at line 73 of file ArLogFileConnection.cpp. |
1.4.0