Public Member Functions | |
DcmQueryRetrieveTelnetInitiator (DcmQueryRetrieveConfig &cfg) | |
constructor | |
void | TI_userInput () |
main entry point for console-based user interface | |
OFBool | addPeerName (const char *peerName, const char *configFileName) |
add remote peer to list of peers | |
void | printConfig () |
print TI configuration to stdout | |
OFBool | TI_detachAssociation (OFBool abortFlag) |
detach current association | |
void | setAETitle (const char *ae) |
set local aetitle | |
void | setMaxPDU (OFCmdUnsignedInt pdu) |
set max receive PDU | |
void | activateFirstPeer () |
activate first peer in list of peers | |
T_ASC_Network ** | accessNet () |
provide read/write access to network structure maintained by this object. | |
int | getdbCount () const |
return number of databases | |
void | createConfigEntries (const char *configFileName, int remoteDBTitlesCount, const char **remoteDBTitles) |
create configuration entries for remote databases | |
void | setXferSyntax (E_TransferSyntax xfer) |
set the network transfer syntax | |
void | setBlockMode (T_DIMSE_BlockingMode blockMode, int timeout) |
set blocking mode and timeout for DIMSE operations | |
Private Member Functions | |
OFBool | TI_attachAssociation () |
OFBool | TI_changeAssociation () |
OFBool | TI_sendEcho () |
OFBool | TI_storeImage (char *sopClass, char *sopInstance, char *imgFile) |
OFBool | TI_remoteFindQuery (TI_DBEntry *db, DcmDataset *query, TI_GenericEntryCallbackFunction callbackFunction, TI_GenericCallbackStruct *callbackData) |
OFBool | TI_title (int arg, const char *) |
OFBool | TI_attachDB (TI_DBEntry *db) |
OFBool | TI_database (int arg, const char *) |
OFBool | TI_echo (int arg, const char *) |
OFBool | TI_quit (int arg, const char *) |
OFBool | TI_actualizeStudies () |
OFBool | TI_study (int arg, const char *) |
OFBool | TI_actualizeSeries () |
OFBool | TI_series (int arg, const char *) |
OFBool | TI_actualizeImages () |
OFBool | TI_image (int arg, const char *) |
OFBool | TI_buildStudies (TI_DBEntry *db) |
OFBool | TI_buildSeries (TI_DBEntry *db, TI_StudyEntry *study) |
OFBool | TI_buildRemoteImages (TI_DBEntry *db, TI_StudyEntry *study, TI_SeriesEntry *series) |
OFBool | TI_buildImages (TI_DBEntry *db, TI_StudyEntry *study, TI_SeriesEntry *series) |
OFBool | TI_sendStudy (int arg, const char *) |
OFBool | TI_sendSeries (int arg, const char *) |
OFBool | TI_sendImage (int arg, const char *) |
OFBool | TI_send (int, const char *cmdbuf) |
OFBool | TI_shortHelp (int, const char *) |
OFBool | TI_help (int arg, const char *) |
OFBool | TI_buildRemoteStudies (TI_DBEntry *db) |
OFBool | TI_buildRemoteSeries (TI_DBEntry *db, TI_StudyEntry *study) |
OFBool | TI_dbReadable (const char *dbTitle) |
time_t | TI_dbModifyTime (const char *dbTitle) |
OFCondition | addPresentationContexts (T_ASC_Parameters *params) |
OFBool | findDBPeerTitles (const char *configFileName, TI_DBEntry *dbEntry, const char *peer) |
Private Attributes | |
TI_DBEntry ** | dbEntries |
the CTN databases we know | |
int | dbCount |
number of entries in databases we know | |
const char * | peerHostName |
current peer to talk to | |
const char * | peerNames [TI_MAXPEERS] |
list of peer names | |
int | peerNamesCount |
number of peer names in list | |
const char * | myAETitle |
my application entity title | |
T_ASC_Network * | net |
active network | |
T_ASC_Association * | assoc |
currently active association | |
OFCmdUnsignedInt | maxReceivePDULength |
number of bytes per PDU we can receive | |
int | currentdb |
current database index | |
const char * | currentPeerTitle |
current peer title | |
DcmQueryRetrieveConfig & | config |
configuration facility | |
E_TransferSyntax | networkTransferSyntax |
network transfer syntax | |
T_DIMSE_BlockingMode | blockMode_ |
blocking mode for DIMSE operations | |
int | dimse_timeout_ |
timeout for DIMSE operations |
Definition at line 121 of file dcmqrtis.h.
DcmQueryRetrieveTelnetInitiator::DcmQueryRetrieveTelnetInitiator | ( | DcmQueryRetrieveConfig & | cfg | ) |
constructor
cfg | configuration facility |
OFBool DcmQueryRetrieveTelnetInitiator::addPeerName | ( | const char * | peerName, | |
const char * | configFileName | |||
) |
add remote peer to list of peers
peerName | name of peer | |
configFileName | name of configuration file from which peer was read |
OFBool DcmQueryRetrieveTelnetInitiator::TI_detachAssociation | ( | OFBool | abortFlag | ) |
detach current association
abortFlag | if true, abort association instead of releasing it |
void DcmQueryRetrieveTelnetInitiator::setAETitle | ( | const char * | ae | ) | [inline] |
set local aetitle
ae | aetitle |
Definition at line 152 of file dcmqrtis.h.
References myAETitle.
void DcmQueryRetrieveTelnetInitiator::setMaxPDU | ( | OFCmdUnsignedInt | pdu | ) | [inline] |
set max receive PDU
pdu | max receive PDU size |
Definition at line 160 of file dcmqrtis.h.
References maxReceivePDULength.
T_ASC_Network** DcmQueryRetrieveTelnetInitiator::accessNet | ( | ) | [inline] |
provide read/write access to network structure maintained by this object.
Yes, this is ugly.
Definition at line 176 of file dcmqrtis.h.
References net.
void DcmQueryRetrieveTelnetInitiator::createConfigEntries | ( | const char * | configFileName, | |
int | remoteDBTitlesCount, | |||
const char ** | remoteDBTitles | |||
) |
create configuration entries for remote databases
configFileName | name of configuration file | |
remoteDBTitlesCount | number of remote DB titles | |
remoteDBTitles | list of remote DB titles |
void DcmQueryRetrieveTelnetInitiator::setXferSyntax | ( | E_TransferSyntax | xfer | ) | [inline] |
set the network transfer syntax
xfer | new network transfer syntax |
Definition at line 200 of file dcmqrtis.h.
References networkTransferSyntax.
void DcmQueryRetrieveTelnetInitiator::setBlockMode | ( | T_DIMSE_BlockingMode | blockMode, | |
int | timeout | |||
) | [inline] |
set blocking mode and timeout for DIMSE operations
blockMode | blocking mode for DIMSE operations | |
timeout | timeout for DIMSE operations |
Definition at line 206 of file dcmqrtis.h.
References blockMode_, and dimse_timeout_.