GDCM
2.4.5
|
#include <gdcmServiceClassUser.h>
Public Member Functions | |
ServiceClassUser () | |
~ServiceClassUser () | |
const char * | GetAETitle () const |
const char * | GetCalledAETitle () const |
double | GetTimeout () const |
bool | InitializeConnection () |
bool | IsPresentationContextAccepted (const PresentationContext &pc) const |
Return if the passed in presentation was accepted during association negotiation. More... | |
bool | SendEcho () |
C-ECHO. More... | |
bool | SendFind (const BaseRootQuery *query, std::vector< DataSet > &retDatasets) |
C-FIND a query, return result are in retDatasets. More... | |
bool | SendMove (const BaseRootQuery *query, const char *outputdir) |
Execute a C-MOVE, based on query, return files are written in outputdir. More... | |
bool | SendMove (const BaseRootQuery *query, std::vector< DataSet > &retDatasets) |
Execute a C-MOVE, based on query, returned dataset are Implicit. More... | |
bool | SendMove (const BaseRootQuery *query, std::vector< File > &retFile) |
Execute a C-MOVE, based on query, returned Files are stored in vector. More... | |
bool | SendStore (const char *filename) |
Execute a C-STORE on file on disk, named filename. More... | |
bool | SendStore (File const &file) |
bool | SendStore (DataSet const &ds) |
Execute a C-STORE on a DataSet, the transfer syntax used will be Implicit. More... | |
void | SetAETitle (const char *aetitle) |
set calling ae title More... | |
void | SetCalledAETitle (const char *aetitle) |
set called ae title More... | |
void | SetHostname (const char *hostname) |
Set the name of the called hostname (hostname or IP address) More... | |
void | SetPort (uint16_t port) |
Set port of remote host (called application) More... | |
void | SetPortSCP (uint16_t portscp) |
Set the port for any incoming C-STORE-SCP operation (typically in a return of C-MOVE) More... | |
void | SetPresentationContexts (std::vector< PresentationContext > const &pcs) |
Set the Presentation Context used for the Association. More... | |
void | SetTimeout (double t) |
set/get Timeout More... | |
bool | StartAssociation () |
Start the association. Need to call SetPresentationContexts before. More... | |
bool | StopAssociation () |
Stop the running association. More... | |
![]() | |
Subject () | |
~Subject () | |
unsigned long | AddObserver (const Event &event, Command *) |
unsigned long | AddObserver (const Event &event, Command *) const |
Command * | GetCommand (unsigned long tag) |
bool | HasObserver (const Event &event) const |
void | InvokeEvent (const Event &) |
void | InvokeEvent (const Event &) const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
![]() | |
Object () | |
Object (const Object &) | |
Special requirement for copy/cstor, assignment operator. More... | |
virtual | ~Object () |
void | operator= (const Object &) |
virtual void | Print (std::ostream &) const |
Static Public Member Functions | |
static SmartPointer< ServiceClassUser > | New () |
for wrapped language: instanciate a reference counted object More... | |
Additional Inherited Members | |
![]() | |
void | Register () |
void | UnRegister () |
gdcm::ServiceClassUser::ServiceClassUser | ( | ) |
Construct a SCU with default:
gdcm::ServiceClassUser::~ServiceClassUser | ( | ) |
const char* gdcm::ServiceClassUser::GetAETitle | ( | ) | const |
const char* gdcm::ServiceClassUser::GetCalledAETitle | ( | ) | const |
double gdcm::ServiceClassUser::GetTimeout | ( | ) | const |
bool gdcm::ServiceClassUser::InitializeConnection | ( | ) |
Will try to connect This will setup the actual timeout used during the whole connection time. Need to call SetTimeout first
bool gdcm::ServiceClassUser::IsPresentationContextAccepted | ( | const PresentationContext & | pc | ) | const |
Return if the passed in presentation was accepted during association negotiation.
|
inlinestatic |
for wrapped language: instanciate a reference counted object
bool gdcm::ServiceClassUser::SendEcho | ( | ) |
C-ECHO.
bool gdcm::ServiceClassUser::SendFind | ( | const BaseRootQuery * | query, |
std::vector< DataSet > & | retDatasets | ||
) |
C-FIND a query, return result are in retDatasets.
bool gdcm::ServiceClassUser::SendMove | ( | const BaseRootQuery * | query, |
const char * | outputdir | ||
) |
Execute a C-MOVE, based on query, return files are written in outputdir.
bool gdcm::ServiceClassUser::SendMove | ( | const BaseRootQuery * | query, |
std::vector< DataSet > & | retDatasets | ||
) |
Execute a C-MOVE, based on query, returned dataset are Implicit.
bool gdcm::ServiceClassUser::SendMove | ( | const BaseRootQuery * | query, |
std::vector< File > & | retFile | ||
) |
Execute a C-MOVE, based on query, returned Files are stored in vector.
bool gdcm::ServiceClassUser::SendStore | ( | const char * | filename | ) |
Execute a C-STORE on file on disk, named filename.
bool gdcm::ServiceClassUser::SendStore | ( | File const & | file | ) |
Execute a C-STORE on a File, the transfer syntax used for the query is based on the file.
bool gdcm::ServiceClassUser::SendStore | ( | DataSet const & | ds | ) |
Execute a C-STORE on a DataSet, the transfer syntax used will be Implicit.
void gdcm::ServiceClassUser::SetAETitle | ( | const char * | aetitle | ) |
set calling ae title
void gdcm::ServiceClassUser::SetCalledAETitle | ( | const char * | aetitle | ) |
set called ae title
void gdcm::ServiceClassUser::SetHostname | ( | const char * | hostname | ) |
Set the name of the called hostname (hostname or IP address)
void gdcm::ServiceClassUser::SetPort | ( | uint16_t | port | ) |
Set port of remote host (called application)
void gdcm::ServiceClassUser::SetPortSCP | ( | uint16_t | portscp | ) |
Set the port for any incoming C-STORE-SCP operation (typically in a return of C-MOVE)
void gdcm::ServiceClassUser::SetPresentationContexts | ( | std::vector< PresentationContext > const & | pcs | ) |
Set the Presentation Context used for the Association.
void gdcm::ServiceClassUser::SetTimeout | ( | double | t | ) |
set/get Timeout
bool gdcm::ServiceClassUser::StartAssociation | ( | ) |
Start the association. Need to call SetPresentationContexts before.
bool gdcm::ServiceClassUser::StopAssociation | ( | ) |
Stop the running association.