INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
orcaifaceimpl::ProviderWithDescriptionImpl< ProviderType, ConsumerType, DataType, DescriptionType > Class Template Reference
Detailed Descriptiontemplate<class ProviderType, class ConsumerType, class DataType, class DescriptionType>
|
orcaifaceimpl::ProviderWithDescriptionImpl< ProviderType, ConsumerType, DataType, DescriptionType >::ProviderWithDescriptionImpl | ( | const DescriptionType & | descr, | |
const std::string & | interfaceTag, | |||
const orcaice::Context & | context | |||
) | [inline] |
Constructor using interfaceTag (may throw ConfigFileException). This class must assume ownership of the description, i.e. if DescriptionType is a smart pointer, it should not be modified after this class is created.
void orcaifaceimpl::ProviderWithDescriptionImpl< ProviderType, ConsumerType, DataType, DescriptionType >::initInterface | ( | gbxutilacfr::Stoppable * | activity, | |
const std::string & | subsysName = "" , |
|||
int | retryInterval = 2 | |||
) | [inline] |
Sets up interface and connects to IceStorm. Catches all exceptions and retries until sucessful. At every iteration, checks if the activity was stopped.
References orcaice::createInterfaceWithString().
void orcaifaceimpl::ProviderWithDescriptionImpl< ProviderType, ConsumerType, DataType, DescriptionType >::initInterface | ( | ) | [inline] |
Creates the interface and connects to the IceStorm topic. May throw gbxutilacfr::Exceptions.
References orcaice::createInterfaceWithString().
void orcaifaceimpl::ProviderWithDescriptionImpl< ProviderType, ConsumerType, DataType, DescriptionType >::localSetAndSend | ( | const DataType & | dataToSet, | |
const DataType & | dataToSend | |||
) | [inline] |
A local call which sets the data reported by the interface, and sends a different thing through IceStorm. This is useful if e.g. you want to push an update to a structure, but have the full structure available to subscribers.
void orcaifaceimpl::ProviderWithDescriptionImpl< ProviderType, ConsumerType, DataType, DescriptionType >::localSetAndSend | ( | const DataType & | data | ) | [inline] |
A local call which sets the data reported by the interface, and sends it through IceStorm
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)