|
typedef ::fwMedData::SeriesDB::ContainerType | DicomSeriesContainerType |
|
typedef std::vector< std::string > | InstanceUIDContainerType |
|
typedef std::map< std::string, unsigned int > | InstanceCountMapType |
|
typedef std::map< std::string, std::weak_ptr< ::fwMedData::DicomSeries > > | DicomSeriesMapType |
|
typedef ::fwCom::Slot< void(DicomSeriesContainerType)> | ReadDicomSlotType |
|
typedef ::fwCom::Slot< void(const std::string &)> | DisplayMessageSlotType |
|
typedef ::fwCom::Signal< void(std::string) > | StartedProgressSignalType |
| Signal to start the progress (bar id)
|
|
typedef ::fwCom::Signal< void(std::string, float, std::string) > | ProgressedSignalType |
| Signal to update the progress (bar id, percentage, message)
|
|
typedef ::fwCom::Signal< void(std::string) > | StoppedProgressSignalType |
| Signal to stop the progress (bar id)
|
|
enum | AccessType : std::uint8_t { INPUT,
OUTPUT,
INOUT
} |
|
typedef ::boost::property_tree::ptree | ConfigType |
|
typedef std::string | IdType |
|
typedef std::string | KeyType |
|
typedef std::map< KeyType, std::weak_ptr< const ::fwData::Object > > | InputMapType |
|
typedef std::map< KeyType, std::weak_ptr< ::fwData::Object > > | InOutMapType |
|
typedef std::map< KeyType, std::shared_ptr< ::fwData::Object > > | OutputMapType |
|
enum | GlobalStatus {
STARTED,
STARTING,
SWAPPING,
STOPPED,
STOPPING
} |
| Defines all possible global status for a service, including transitions. More...
|
|
enum | UpdatingStatus { UPDATING,
NOTUPDATING
} |
| Defines all possible status for an update process. More...
|
|
enum | ConfigurationStatus { CONFIGURING,
CONFIGURED,
UNCONFIGURED
} |
| Defines all possible status for a configuration process. More...
|
|
typedef ::fwCom::Signal< void()> | StartedSignalType |
|
typedef ::fwCom::Signal< void()> | UpdatedSignalType |
|
typedef ::fwCom::Signal< void()> | StoppedSignalType |
|
typedef std::shared_future< void > | SharedFutureType |
| Slot to call start method.
|
|
typedef std::packaged_task< void()> | PackagedTaskType |
| Slot to call start method.
|
|
typedef std::future< void > | UniqueFutureType |
| Slot to call start method.
|
|
typedef ::fwCom::Slot< SharedFutureType()> | StartSlotType |
| Slot to call start method.
|
|
typedef ::fwCom::Slot< SharedFutureType()> | StopSlotType |
| Slot to call start method.
|
|
typedef ::fwCom::Slot< SharedFutureType()> | UpdateSlotType |
| Slot to call start method.
|
|
typedef ::fwCom::Slot< SharedFutureType(::fwData::Object::sptr)> | SwapSlotType |
| Slot to call start method.
|
|
typedef ::fwCom::Slot< SharedFutureType(const KeyType &,::fwData::Object::sptr)> | SwapKeySlotType |
| Slot to call start method.
|
|
typedef ::fwCom::helper::SigSlotConnection::KeyConnectionsType | KeyConnectionsType |
| Returns proposals to connect service slots to associated object signals, this method is used for obj/srv auto connection. More...
|
|
typedef std::shared_ptr< HasSlots > | sptr |
|
typedef std::shared_ptr< const HasSlots > | csptr |
|
typedef std::shared_ptr< HasSignals > | sptr |
|
typedef std::shared_ptr< const HasSignals > | csptr |
|
|
virtual bool | isA (const std::string &type) const override |
|
IOPACS_API | SSeriesPuller () noexcept |
| Constructor.
|
|
virtual IOPACS_API | ~SSeriesPuller () noexcept |
| Destructor.
|
|
FWSERVICES_API void | registerInput (const ::fwData::Object::csptr &obj, const std::string &key, const bool autoConnect=false, const bool optional=false) |
| Register an input object for this service. More...
|
|
FWSERVICES_API void | registerInOut (const ::fwData::Object::sptr &obj, const std::string &key, const bool autoConnect=false, const bool optional=false) |
| Register an in/out object for this service. More...
|
|
FWSERVICES_API void | setConfiguration (const ::fwRuntime::ConfigurationElement::sptr _cfgElement) |
| Affect the configuration, using a generic XML like structure. More...
|
|
FWSERVICES_API void | setConfiguration (const Config &_configuration) |
| Set the configuration. More...
|
|
FWSERVICES_API void | setConfiguration (const ConfigType &ptree) |
| Affect the configuration, using a boost property tree. More...
|
|
FWSERVICES_API void | configure () |
| Invoke configuring() if m_globalState == STOPPED. Invoke reconfiguring() if m_globalState == STARTED. Does nothing otherwise. More...
|
|
FWSERVICES_API SharedFutureType | start () |
| Invoke starting() if m_globalState == STOPPED. Does nothing otherwise. More...
|
|
FWSERVICES_API SharedFutureType | stop () |
| Invoke stopping() if m_globalState == STARTED. Does nothing otherwise. Stops all observations. More...
|
|
FWSERVICES_API SharedFutureType | update () |
| Invoke updating() if m_globalState == STARTED. Does nothing otherwise. More...
|
|
FWSERVICES_API SharedFutureType | swap (::fwData::Object::sptr _obj) |
| Associate the service to another object. More...
|
|
FWSERVICES_API SharedFutureType | swapKey (const KeyType &_key,::fwData::Object::sptr _obj) |
| Associate the service to another object. More...
|
|
FWSERVICES_API GlobalStatus | getStatus () const noexcept |
| Return the global process status. More...
|
|
FWSERVICES_API bool | isStarted () const noexcept |
| Test if the service is started or not. More...
|
|
FWSERVICES_API bool | isStopped () const noexcept |
| Test if the service is stopped or not. More...
|
|
FWSERVICES_API ConfigurationStatus | getConfigurationStatus () const noexcept |
| Return the configuration process status. More...
|
|
FWSERVICES_API UpdatingStatus | getUpdatingStatus () const noexcept |
| Return the update process status. More...
|
|
FWSERVICES_API::fwRuntime::ConfigurationElement::sptr | getConfiguration () const |
| Return the configuration, in an xml format read using runtime library. More...
|
|
FWSERVICES_API ConfigType | getConfigTree () const |
| Return the configuration, in an boost property tree.
|
|
FWSERVICES_API::fwData::Object::sptr | getObject () |
| Return the object associated to service. More...
|
|
template<class DATATYPE > |
std::shared_ptr< DATATYPE > | getObject () |
| Return the object associated to service. The object is casted. More...
|
|
FWSERVICES_API const InputMapType & | getInputs () const |
| Return the inputs map associated to service. More...
|
|
FWSERVICES_API const InOutMapType & | getInOuts () const |
| Return the inouts map associated to service. More...
|
|
FWSERVICES_API const OutputMapType & | getOutputs () const |
| Return the outouts map associated to service. More...
|
|
FWSERVICES_API std::vector< ::fwData::Object::csptr > | getObjects () const |
| Return the objects associated to service. More...
|
|
template<class DATATYPE > |
std::shared_ptr< const DATATYPE > | getInput (const KeyType &key) const |
| Return the input object at the given key. Asserts if the data is not of the right type. More...
|
|
template<class DATATYPE > |
std::shared_ptr< DATATYPE > | getInOut (const KeyType &key) const |
| Return the inout object at the given key. Asserts if the data is not of the right type. More...
|
|
template<class DATATYPE > |
std::shared_ptr< DATATYPE > | getOutput (const KeyType &key) const |
| Return the output object at the given key. Asserts if the data is not of the right type. More...
|
|
template<class DATATYPE > |
std::shared_ptr< const DATATYPE > | getInput (const KeyType &keybase, size_t index) const |
| Return the input object at the given key. Asserts if the data is not of the right type. More...
|
|
template<class DATATYPE > |
std::shared_ptr< DATATYPE > | getInOut (const KeyType &keybase, size_t index) const |
| Return the inout object at the given key. Asserts if the data is not of the right type. More...
|
|
template<class DATATYPE > |
std::shared_ptr< DATATYPE > | getOutput (const KeyType &keybase, size_t index) const |
| Return the output object at the given key. Asserts if the data is not of the right type. More...
|
|
FWSERVICES_API void | setOutput (const ::fwServices::IService::KeyType &key, const ::fwData::Object::sptr &object, size_t index=0) |
| Register an output object at a given key in the OSR, replacing it if it already exists. More...
|
|
size_t | getKeyGroupSize (const KeyType &keybase) const |
| Return the number of key in a group of keys. More...
|
|
FWSERVICES_API void | setWorker (std::shared_ptr< ::fwThread::Worker > worker) |
| Initializes m_associatedWorker and associates this worker to all service slots.
|
|
FWSERVICES_API std::shared_ptr< ::fwThread::Worker > | getWorker () const |
| Returns associate worker.
|
|
virtual FWSERVICES_API KeyConnectionsType | getObjSrvConnections () const |
| Returns proposals to connect service slots to associated object signals, this method is used for obj/srv auto connection. More...
|
|
FWSERVICES_API bool | hasObjectId (const KeyType &_key) const |
| Return true if the object with the given key has an identifier. More...
|
|
FWSERVICES_API IdType | getObjectId (const KeyType &_key) const |
| Return the id of the object, throw if it is not found.
|
|
FWSERVICES_API void | setObjectId (const KeyType &_key, const IdType &_id) |
| Set the id of an object key.
|
|
std::shared_ptr< SlotBase > | slot (const Slots::SlotKeyType &key) const |
|
template<typename SlotType > |
std::shared_ptr< SlotType > | slot (const Slots::SlotKeyType &key) const |
|
template<typename F , typename A > |
std::shared_ptr< Slot< typename::fwCom::util::convert_function_type< F >::type > > | newSlot (const Slots::SlotKeyType &key, F f, A a) |
|
std::shared_ptr< SignalBase > | signal (const Signals::SignalKeyType &key) const |
|
template<typename SignalType > |
std::shared_ptr< SignalType > | signal (const Signals::SignalKeyType &key) const |
|
template<typename SignalType > |
std::shared_ptr< SignalType > | newSignal (const Signals::SignalKeyType &key) |
|
|
static IOPACS_APIconst::fwCom::Slots::SlotKeyType | s_READ_SLOT |
|
static IOPACS_APIconst::fwCom::Slots::SlotKeyType | s_DISPLAY_SLOT = "displayMessage" |
|
static const ::fwCom::Signals::SignalKeyType | s_PROGRESSED_SIG = "progressed" |
| Key in m_signals map of signal m_sigProgressed.
|
|
static const ::fwCom::Signals::SignalKeyType | s_STARTED_PROGRESS_SIG = "startedProgress" |
|
static const ::fwCom::Signals::SignalKeyType | s_STOPPED_PROGRESS_SIG = "stoppedProgress" |
|
static FWSERVICES_API const std::string | s_DEFAULT_OBJECT = "defaultObject" |
|
static FWSERVICES_APIconst::fwCom::Slots::SlotKeyType | s_STARTED_SIG = "started" |
|
static FWSERVICES_APIconst::fwCom::Slots::SlotKeyType | s_UPDATED_SIG = "updated" |
|
static FWSERVICES_APIconst::fwCom::Slots::SlotKeyType | s_STOPPED_SIG = "stopped" |
|
static FWSERVICES_APIconst::fwCom::Slots::SlotKeyType | s_START_SLOT = "start" |
| Slot to call start method.
|
|
static FWSERVICES_APIconst::fwCom::Slots::SlotKeyType | s_STOP_SLOT = "stop" |
| Slot to call start method.
|
|
static FWSERVICES_APIconst::fwCom::Slots::SlotKeyType | s_UPDATE_SLOT = "update" |
| Slot to call start method.
|
|
static FWSERVICES_APIconst::fwCom::Slots::SlotKeyType | s_SWAP_SLOT = "swap" |
| Slot to call start method.
|
|
static FWSERVICES_APIconst::fwCom::Slots::SlotKeyType | s_SWAPKEY_SLOT = "swapKey" |
| Slot to call start method.
|
|
This service is used to pull series from a PACS.
Signals
- progressed(std::string) : Signal to start the progress (bar id).
- startedProgress(std::string, float, std::string) : Signal to update the progress (bar id, percentage, message).
- stoppedProgress(std::string) : Signal to stop the progress (bar id).
XML Configuration
1 <
service type=
"::namespace::classname">
2 <
in key=
"pacsConfig" uid=
"..." />
3 <
in key=
"selectedSeries" uid=
"..." />
4 <
inout key=
"seriesDB" uid=
"..." />
5 <
config dicomReader=
"::ioGdcm::SSeriesDBReader" dicomReaderConfig=
"config" />
Input
In-Out
Configuration
- dicomReader Reader type to use.
- dicomReaderConfig Optional configuration for the DICOM Reader.
Definition at line 65 of file ioPacs/include/ioPacs/SSeriesPuller.hpp.