|
void | ConnectionEstablished () |
|
void | HandleReadTimeout (const bs::error_code &error) |
|
void | HandleReceivedData (const bs::error_code &error, size_t bytes_received, int) |
|
int | GetState () const |
|
void | StartAsyncRead () |
|
| ConnectionFAD (ba::io_service &ioservice, MessageImp &imp) |
|
void | PostCmd (std::vector< uint16_t > cmd) |
|
void | PostCmd (uint16_t cmd) |
|
void | PostCmd (uint16_t cmd, uint16_t data) |
|
| ConnectionFAD (ba::io_service &ioservice, MessageImp &imp, uint16_t slot) |
|
void | Cmd (FAD::Enable cmd, bool on=true) |
|
void | CmdPhaseShift (int16_t val) |
|
bool | CmdSetTriggerRate (int32_t val) |
|
void | CmdSetRunNumber (uint32_t num) |
|
void | CmdSetRegister (uint8_t addr, uint16_t val) |
|
bool | CmdSetDacValue (int8_t addr, uint16_t val) |
|
bool | CmdSetRoi (int8_t addr, uint16_t val) |
|
bool | CmdSetRoi (uint16_t val) |
|
void | SetVerbose (bool b) |
|
void | SetHexOutput (bool b) |
|
void | SetDataOutput (bool b) |
|
void | SetBlockTransmission (bool b) |
|
bool | IsTransmissionBlocked () const |
|
void | PrintEvent () |
|
bool | HasCorrectRoi () const |
|
bool | HasCorrectHeader () const |
|
bool | IsConfigured () const |
|
void | PrintCheckHeader () |
|
const FAD::EventHeader & | GetConfiguration () const |
|
void | SetLogStream (MessageImp *log) |
|
std::ostream & | Out () |
|
void | AsyncRead (const boost::asio::mutable_buffers_1 buffers, int type=0) |
|
void | AsyncWrite (const boost::asio::const_buffers_1 &buffers) |
|
template<class T > |
void | AsyncWaitImp (boost::asio::deadline_timer &timer, int millisec, void(T::*handler)(const boost::system::error_code &)) |
|
void | AsyncWait (boost::asio::deadline_timer &timer, int millisec, void(Connection::*handler)(const boost::system::error_code &)) |
|
| Connection (boost::asio::io_service &io_service, std::ostream &out) |
|
void | SetEndpoint (const std::string &addr, int port) |
|
void | SetEndpoint (const std::string &addr, const std::string &port) |
|
void | SetEndpoint (const std::string &addr) |
|
void | SetEndpoint (const boost::asio::ip::tcp::endpoint &ep) |
|
virtual void | StartConnect () |
|
void | PostClose (bool restart=true) |
|
void | PostMessage (const void *msg, size_t s=0) |
|
void | PostMessage (const std::string &cmd, size_t s=-1) |
|
template<typename T , size_t N> |
void | PostMessage (const std::array< T, N > &msg) |
|
template<typename T > |
void | PostMessage (const std::vector< T > &msg) |
|
virtual void | HandleReceivedData (const boost::system::error_code &, size_t, int=0) |
|
virtual void | HandleReadTimeout (const boost::system::error_code &) |
|
bool | IsTxQueueEmpty () const |
|
int | IsClosed () const |
|
bool | IsDisconnected () const |
|
bool | IsConnected () const |
|
bool | IsConnecting () const |
|
void | SetVerbose (bool b=true) |
|
void | SetDebugTx (bool b=true) |
|
std::string | URL () const |
|
const boost::asio::ip::tcp::endpoint & | GetEndpoint () const |
|
| MessageImp (std::ostream &out=std::cout) |
|
virtual | ~MessageImp () |
|
virtual void | IndicateStateChange (const Time &, const std::string &) |
|
void | StateChanged (const Time &time, const std::string &server, const std::string &msg, int state) |
|
int | Update (const std::string &txt, int severity=kMessage) |
|
int | Update (const char *txt, int severity=kMessage) |
|
int | Update (const std::ostringstream &str, int severity=kMessage) |
|
int | Debug (const std::string &str) |
|
int | Message (const std::string &str) |
|
int | Info (const std::string &str) |
|
int | Warn (const std::string &str) |
|
int | Error (const std::string &str) |
|
int | Alarm (const std::string &str) |
|
int | Fatal (const std::string &str) |
|
int | Comment (const std::string &str) |
|
int | Debug (const char *txt) |
|
int | Message (const char *txt) |
|
int | Info (const char *txt) |
|
int | Warn (const char *txt) |
|
int | Error (const char *txt) |
|
int | Alarm (const char *txt) |
|
int | Fatal (const char *txt) |
|
int | Comment (const char *txt) |
|
int | Debug (const std::ostringstream &str) |
|
int | Message (const std::ostringstream &str) |
|
int | Info (const std::ostringstream &str) |
|
int | Warn (const std::ostringstream &str) |
|
int | Alarm (const std::ostringstream &str) |
|
int | Error (const std::ostringstream &str) |
|
int | Fatal (const std::ostringstream &str) |
|
int | Comment (const std::ostringstream &str) |
|
std::ostream & | operator() () const |
|
std::ostream & | Out () const |
|
virtual bool | MessageQueueEmpty () const |
|
Definition at line 36 of file dclient5.cc.