|
| | ComAdptSim () |
| |
| virtual | ~ComAdptSim () |
| |
| virtual void | InitialiseUser () |
| |
| virtual void | SetAddressUser (const std::string &address) |
| |
| virtual void | CheckConnectionUser (bool &connected) |
| |
| virtual void | CheckStatusUser (ccf::common::HwStatus &status, std::string &message) |
| |
| virtual void | ConnectUser () |
| |
| virtual void | DisconnectUser () |
| |
| virtual void | ReadUser (const std::string &name, ctd::param::Parameter &par) |
| |
| virtual void | ReceiveUser (ccf::common::DataFrame &frame, bool &frame_received, const double timeout, bool &timed_out) |
| |
| virtual void | ScanUser (std::vector< ctd::param::Parameter > &pars) |
| |
| virtual void | StartUser () |
| |
| virtual void | StopUser () |
| |
| virtual void | WriteUser (const ctd::param::Parameter &par) |
| |
| virtual void | GetStatusUser (std::vector< ctd::param::Parameter > &pars) |
| |
| virtual void | HandleSetupUser () |
| |
| virtual void | HandleParPreWriteUser (std::vector< ctd::param::Parameter > &par) |
| |
| virtual void | HandleParPostWriteUser (std::vector< ctd::param::Parameter > &par) |
| |
| virtual void | HandleParPostReadUser (std::vector< ctd::param::Parameter > &par) |
| |
| | ComAdptBase () |
| |
| virtual | ~ComAdptBase () |
| |
| ccf::common::ConfigBase & | Cfg () |
| | Return reference to general configuration object (singleton). More...
|
| |
| const std::string & | GetCameraAddress () const |
| | Return the address of the camera from the configuration. More...
|
| |
| const std::string & | GetId () const |
| | Get the ID of the associated camera. More...
|
| |
| void | SetHostAdddress (const std::string &host_address) |
| | Set the address of the host (network interface) used for communicating with the camera. More...
|
| |
| const std::string & | GetHostAddress () |
| | Return the address of the host (network interface) used for communicating with the camera. More...
|
| |
| void | SetIsSimAdapter (const bool is_sim) |
| | Set the Simulation Adapter Flag. More...
|
| |
| bool | GetIsSimAdapter () const |
| | Return the Simulation Adapter Flag. More...
|
| |
| void | SetProtocol (const std::string &protocol) |
| | Set the communication protocol used. More...
|
| |
| const std::string & | GetProtocol () const |
| | Return the communication protocol used. More...
|
| |
| template<class TYPE > |
| TYPE | GetCameraProperty (const std::string &property) |
| |
| bool | HasCameraProperty (const std::string &property, std::string &value) |
| |
| double | GetTheoreticFrameRate () |
| | Render the theoritic, possible achievable frame rate (frame/s). More...
|
| |
| void | LoadCameraNameMapping (const std::string &name_mapping_file) |
| |
| void | Initialise (const bool re_init=false) |
| |
| void | SetCameraAddress (const std::string &address) |
| | Set the internal address, e.g. URI, used for communicating with the camera. More...
|
| |
| void | CheckConnection (bool &connected) |
| | Check if the connection to the camera is OK. More...
|
| |
| void | CheckStatus (ccf::common::HwStatus &status, std::string &message) |
| | Check the status of the camera (health status). More...
|
| |
| bool | IsConnected () const |
| | Returns true if the connection to the camera is established and valid. More...
|
| |
| void | Connect () |
| |
| void | Disconnect () |
| | Disconnect from the camera. More...
|
| |
| void | WriteAdapterProps () |
| |
| virtual void | WriteAdapterPropsUser () |
| |
| void | SetIsConnected (const bool connected) |
| |
| bool | GetAllowLostFrames () const |
| | Return flag (cfg par) indicating if lost frames shall be ignored silently. More...
|
| |
| uint64_t | IncLostFramesCount () |
| | Increment the counter of lost frames. The new value is returned. More...
|
| |
| uint64_t | GetLostFramesCount () const |
| | Return the number of lost frames currently registered. More...
|
| |
| void | ResetLostFramesCount () |
| | Reset the lost frames counter. More...
|
| |
| void | Read (const std::string &name, ctd::param::Parameter &par) |
| |
| void | Read (const std::vector< std::string > &names, std::vector< ctd::param::Parameter > &pars) |
| |
| std::string | Read (const std::string &name) |
| |
| template<class TYPE > |
| TYPE | Read (const std::string &name) |
| | Template method to read a parameter, taking care of the conversion to the desired user representation. More...
|
| |
| void | Write (const ctd::param::Parameter &par) |
| |
| void | Write (const std::vector< ctd::param::Parameter > &pars) |
| |
| template<class TYPE > |
| void | Write (const std::string &name, const TYPE &value) |
| | Template method to write a parameter, taking care of converting the user data into the internal type. More...
|
| |
| void | Receive (ccf::common::DataFrame &frame, bool &frame_received, const double timeout, bool &timed_out) |
| |
| void | Scan (std::vector< ctd::param::Parameter > &pars) |
| | Scan the address of the associated camera and store the parameters in the vector. More...
|
| |
| void | Start () |
| | Start the image acquisition in the camera. More...
|
| |
| void | Stop () |
| | Stop the image acquisition in the camera. More...
|
| |
| void | HandleSetup () |
| |
| void | HandleParPreWrite (ctd::param::Parameter &par) |
| |
| void | HandleParPostWrite (ctd::param::Parameter &par) |
| | Invoked after writing to the camera in case additional processing and downloading of parameters is needed. More...
|
| |
| void | HandleParPostRead (ctd::param::Parameter &par) |
| | Invoked before reading a parameter from the camera, in case speciel handling is needed. More...
|
| |
| void | MapParForDevice (ctd::param::Parameter &par) const |
| |
| void | MapParFromDevice (ctd::param::Parameter &par) const |
| |
| bool | HasNameMapping (const std::string &name) const |
| | Return true if a mapping is defined in the Camera Name Mapping for the given name. More...
|
| |
| virtual void | SetCameraAddressUser (const std::string &address) |
| |
| virtual bool | HasCameraPropertyUser (const std::string &property, std::string &value) |
| |
| virtual double | GetTheoreticFrameRateUser () |
| |
| virtual bool | IsConnectedUser () const |
| |
| virtual void | ReadUser (const std::vector< std::string > &names, std::vector< ctd::param::Parameter > &pars) |
| |
| virtual void | WriteUser (const std::vector< ctd::param::Parameter > &pars) |
| |
| virtual void | HandleParPreWriteUser (ctd::param::Parameter &par) |
| |
| virtual void | HandleParPostWriteUser (ctd::param::Parameter &par) |
| |
| virtual void | HandleParPostReadUser (ctd::param::Parameter &par) |
| |
| | Base () |
| |
| | ~Base () |
| |
| const std::string & | GetClassName () const |
| | Return the allocated name of the class. More...
|
| |
Simulation Communication Adapter, implementing an in-application simulation.
For now only file (FITS cube) based simulation is provided. For an explanation of the methods, consult ccf::common::ComAdptBase".